// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/event/handler/XCalendarEventHandler.java
// public interface XCalendarEventHandler {
// 	
// 	/**
// 	 * 
// 	 */
// 	int getPriority();
// 	
// 	boolean handle(Context context, Event event);
// 	
// 	/**
// 	 * 
// 	 */
// 	interface Context {
// 		
// 		XCalendarEventHandler getFocus();
// 		
// 		void setFocus(XCalendarEventHandler handler);
// 	}
// }
// 
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/event/listener/XCalendarEventListener.java
// public interface XCalendarEventListener {
// 	
// 	void onEvent(XCalendarEvent event);
// }


import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event.handler.XCalendarEventHandler;
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event.listener.XCalendarEventListener;
import org.eclipse.swt.widgets.Event;
package cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event;


/**
 * 
 * @author Jingqi Xu
 */
public interface XCalendarEventBus {
	
	/**
	 * 
	 */
	void handle(Event event);
	
	boolean addHandler(XCalendarEventHandler reactor);
	
	boolean delHandler(XCalendarEventHandler reactor);
	
	/**
	 * 
	 */
	void publish(XCalendarEvent event);
	
	boolean addListener(XCalendarEventListener listener);
	
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/event/handler/XCalendarEventHandler.java
// public interface XCalendarEventHandler {
// 	
// 	/**
// 	 * 
// 	 */
// 	int getPriority();
// 	
// 	boolean handle(Context context, Event event);
// 	
// 	/**
// 	 * 
// 	 */
// 	interface Context {
// 		
// 		XCalendarEventHandler getFocus();
// 		
// 		void setFocus(XCalendarEventHandler handler);
// 	}
// }
// 
// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/event/listener/XCalendarEventListener.java
// public interface XCalendarEventListener {
// 	
// 	void onEvent(XCalendarEvent event);
// }


// Path: src/main/java/cn/nextop/thorin/rcp/support/swt/widget/xcalendar/event/XCalendarEventBus.java
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event.handler.XCalendarEventHandler;
import cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event.listener.XCalendarEventListener;
import org.eclipse.swt.widgets.Event;

package cn.nextop.thorin.rcp.support.swt.widget.xcalendar.event;


/**
 * 
 * @author Jingqi Xu
 */
public interface XCalendarEventBus {
	
	/**
	 * 
	 */
	void handle(Event event);
	
	boolean addHandler(XCalendarEventHandler reactor);
	
	boolean delHandler(XCalendarEventHandler reactor);
	
	/**
	 * 
	 */
	void publish(XCalendarEvent event);
	
	boolean addListener(XCalendarEventListener listener);
	
	boolean delListener(XCalendarEventListener listener);