@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public static @interface EditBus.EBHandler
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.4pre1, this annotation can also be added to classes extending EditPlugin. This will make the plugin be added to the bus automatically, similarly to how EBPlugin works, but without having to implement the EBComponent interface.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
exact |