org.gjt.sp.jedit
Annotation Type EditBus.EBHandler


@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface EditBus.EBHandler

This annotation should be used in methods that are to be considered "edit bus message handlers". When registering an object using EditBus.addToBus(Object), all methods tagged with this annotation will be considered as handlers for specific edit bus messages.

Each method should expect a single argument (an object of some type derived from EBMessage, inclusive). When delivering an EBMessage, the bus will search for and invoke all handlers matching the outgoing message type.

Since:
jEdit 4.3pre19

Optional Element Summary
 boolean exact
          Whether the message should match the exact type of the parameter, instead of a compatible type.
 

exact

public abstract boolean exact
Whether the message should match the exact type of the parameter, instead of a compatible type.

Default:
false