Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit.menu
Class EnhancedMenu.EditBusStub  view EnhancedMenu.EditBusStub download EnhancedMenu.EditBusStub.java

java.lang.Object
  extended byorg.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


Field Summary
(package private)  boolean menuOutOfDate
           
(package private)  java.lang.String name
           
 
Constructor Summary
(package private) EnhancedMenu.EditBusStub(java.lang.String name)
           
 
Method Summary
 void handleMessage(org.gjt.sp.jedit.EBMessage msg)
          Handles a message sent on the EditBus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name

menuOutOfDate

boolean menuOutOfDate
Constructor Detail

EnhancedMenu.EditBusStub

EnhancedMenu.EditBusStub(java.lang.String name)
Method Detail

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