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
Modifier and TypeMethodDescriptionboolean
registerContextMenu
(Object parent, String menuId) Create a menu for this control and hook it up with the MPopupMenu.
-
Method Details
-
registerContextMenu
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
-