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 SummaryModifier and TypeMethodDescriptionbooleanregisterContextMenu(Object parent, String menuId) Create a menu for this control and hook it up with the MPopupMenu.
- 
Method Details- 
registerContextMenuCreate 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:
- trueif registration succeeded else- false
 
 
-