Class MenuBuildUtils.MenuItemPluginMenuControllerImpl

  • All Implemented Interfaces:
    MenuBuildUtils.PluginMenuController
    Enclosing class:
    MenuBuildUtils

    public static class MenuBuildUtils.MenuItemPluginMenuControllerImpl
    extends java.lang.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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object[] objects  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void buildComplete​(org.eclipse.swt.widgets.Menu menu)  
      void buildSubmenu​(MenuItem parent)  
      org.eclipse.swt.widgets.Listener makeSelectionListener​(MenuItem menu_item)
      This method should create a listener object which should be invoked when the given menu item is selected.
      void notifyFillListeners​(MenuItem menu_item)
      This method will be invoked just before the given menu item is displayed in a menu.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait