java.lang.Object
org.gjt.sp.jedit.menu.EnhancedMenu.EditBusStub
- All Implemented Interfaces:
- org.gjt.sp.jedit.EBComponent
- Enclosing class:
- EnhancedMenu
- static class EnhancedMenu.EditBusStub
- extends java.lang.Object
- implements org.gjt.sp.jedit.EBComponent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
java.lang.String name
menuOutOfDate
boolean menuOutOfDate
EnhancedMenu.EditBusStub
EnhancedMenu.EditBusStub(java.lang.String name)
handleMessage
public void handleMessage(org.gjt.sp.jedit.EBMessage msg)
- Description copied from interface:
org.gjt.sp.jedit.EBComponent
- Handles a message sent on the EditBus.
This method must specify the type of responses the plugin will have
for various subclasses of the org.gjt.sp.jedit.EBMessage class. Typically
this is done with one or more
if blocks that test
whether the message is an instance of a derived message class in
which the component has an interest. For example:
if(msg instanceof BufferUpdate) {
// a buffer's state has changed!
}
else if(msg instanceof ViewUpdate) {
// a view's state has changed!
}
// ... and so on
- Specified by:
handleMessage in interface org.gjt.sp.jedit.EBComponent