Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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

    @Retention(value=RUNTIME)
    @Target(value={TYPE,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.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.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT