| java.lang.Object org.eclipse.ui.internal.menus.InternalMenuService org.eclipse.ui.internal.menus.WindowMenuService
WindowMenuService | final public class WindowMenuService extends InternalMenuService (Code) | |
Provides services related to contributing menu elements to a workbench
window. Visibility and showing are tracked at the workbench window level.
This class is only intended for internal use within the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Constructor Summary | |
public | WindowMenuService(IServiceLocator serviceLocator) Constructs a new instance of MenuService using a menu
manager.
Parameters: parent - The parent menu service for this window. |
WindowMenuService | public WindowMenuService(IServiceLocator serviceLocator)(Code) | | Constructs a new instance of MenuService using a menu
manager.
Parameters: parent - The parent menu service for this window. This parent musttrack menu definitions and the regsitry. Must not benull |
dispose | public void dispose()(Code) | | |
getCurrentState | public IEvaluationContext getCurrentState()(Code) | | |
populateContributionManager | public void populateContributionManager(ContributionManager mgr, String uri)(Code) | | |
populateContributionManager | public void populateContributionManager(ContributionManager mgr, String uri, boolean recurse)(Code) | | |
registerVisibleWhen | public void registerVisibleWhen(IContributionItem item, Expression visibleWhen, Expression restriction, String identifierID)(Code) | | |
releaseContributions | public void releaseContributions(ContributionManager mgr)(Code) | | |
unregisterVisibleWhen | public void unregisterVisibleWhen(IContributionItem item)(Code) | | |
Methods inherited from org.eclipse.ui.internal.menus.InternalMenuService | abstract public List getAdditionsForURI(MenuLocationURI uri)(Code)(Java Doc) abstract public void registerVisibleWhen(IContributionItem item, Expression visibleWhen, Expression restriction, String identifierID)(Code)(Java Doc) abstract public void unregisterVisibleWhen(IContributionItem item)(Code)(Java Doc)
|
|
|