Interface EMenuService


public interface EMenuService
Provide for management of different menus.
Since:
1.1
Restriction:
This interface is not intended to be implemented by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Create a menu for this control and hook it up with the MPopupMenu.
  • Method Details

    • registerContextMenu

      boolean registerContextMenu(Object parent, String menuId)
      Create a menu for this control and hook it up with the MPopupMenu.
      Parameters:
      parent - The parent for the context menu. A Control in SWT.
      menuId - the ID of the menu to use
      Returns:
      true if registration succeeded else false