|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.perspective.MenuRegistry
public class MenuRegistry
Causes any menu registered in this registry to broadcast aboutToShow events to any registered listener. The listener should examine the menu's id to make sure it is one of interest. Menus registered in this way can be dynamically populated by client plugins.
Constructor Summary | |
---|---|
MenuRegistry()
|
Method Summary | |
---|---|
void |
addMenuListener(IMenuListener menuListener)
Adds a menu listener to those that will receive forwarded menuAboutToShow
events. |
void |
addMenuManager(IMenuManager menuManager)
Adds a menu manager to those whose menuAboutToShow events are
forwarded to listeners. |
void |
menuAboutToShow(IMenuManager manager)
Receives and forwards menuAboutToShow events to all listeners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MenuRegistry()
Method Detail |
---|
public void addMenuManager(IMenuManager menuManager)
menuAboutToShow
events are
forwarded to listeners.
menuManager
- public void addMenuListener(IMenuListener menuListener)
menuAboutToShow
events.
menuListener
- public void menuAboutToShow(IMenuManager manager)
menuAboutToShow
events to all listeners.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |