Package org.eclipse.e4.ui.services
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
registerContextMenu(Object parent, String menuId)
Create a menu for this control and hook it up with the MPopupMenu.
-
-
-
Method Detail
-
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 elsefalse
-
-