| java.lang.Object org.eclipse.ui.internal.menus.InternalMenuService
All known Subclasses: org.eclipse.ui.internal.menus.WorkbenchMenuService, org.eclipse.ui.internal.menus.WindowMenuService,
InternalMenuService | abstract public class InternalMenuService implements IMenuService(Code) | | Internal baseclass for Workbench and Window menu service implementations.
Methods in this class might some day make sense to live in IMenuService.
since: 3.3 |
registerVisibleWhen | abstract public void registerVisibleWhen(IContributionItem item, Expression visibleWhen, Expression restriction, String identifierID)(Code) | | Ties an expression to
IContributionItem.setVisible(boolean) .
Parameters: item - the item Parameters: visibleWhen - the expression Parameters: restriction - the restriction expression Parameters: identifierId - the activity identifier id |
unregisterVisibleWhen | abstract public void unregisterVisibleWhen(IContributionItem item)(Code) | | Removes any expressions bound to
IContributionItem.setVisible(boolean) of the given item
Parameters: item - the item to unbind |
|
|