org.gudy.azureus2.ui.swt
Class MenuBuildUtils.MenuItemPluginMenuControllerImpl
java.lang.Object
org.gudy.azureus2.ui.swt.MenuBuildUtils.MenuItemPluginMenuControllerImpl
- All Implemented Interfaces:
- MenuBuildUtils.PluginMenuController
- Enclosing class:
- MenuBuildUtils
public static class MenuBuildUtils.MenuItemPluginMenuControllerImpl
- extends Object
- implements MenuBuildUtils.PluginMenuController
This is an implementation of the PluginMenuController interface for use with
MenuItemImpl classes - note that this is not intended for use by subclasses of
MenuItemImpl (like TableContextMenuItemImpl).
The object passed at construction time is the object to be passed when selection
listeners and fill listeners are notified.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuBuildUtils.MenuItemPluginMenuControllerImpl
public MenuBuildUtils.MenuItemPluginMenuControllerImpl(Object[] o)
makeSelectionListener
public org.eclipse.swt.widgets.Listener makeSelectionListener(MenuItem menu_item)
- Description copied from interface:
MenuBuildUtils.PluginMenuController
- This method should create a listener object which should be invoked
when the given menu item is selected.
- Specified by:
makeSelectionListener
in interface MenuBuildUtils.PluginMenuController
notifyFillListeners
public void notifyFillListeners(MenuItem menu_item)
- Description copied from interface:
MenuBuildUtils.PluginMenuController
- This method will be invoked just before the given menu item is
displayed in a menu.
- Specified by:
notifyFillListeners
in interface MenuBuildUtils.PluginMenuController
buildSubmenu
public void buildSubmenu(MenuItem parent)
- Specified by:
buildSubmenu
in interface MenuBuildUtils.PluginMenuController