public interface EMenuService
Modifier and Type | Method and Description |
---|---|
boolean |
registerContextMenu(Object parent,
String menuId)
Create a menu for this control and hook it up with the MPopupMenu.
|
boolean registerContextMenu(Object parent, String menuId)
parent
- The parent for the context menu. A Control in SWT.menuId
- the ID of the menu to usetrue
if registration succeeded else false
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.