Package org.eclipse.ui.internal
Class ActionSetMenuManager
java.lang.Object
org.eclipse.jface.action.SubContributionManager
org.eclipse.jface.action.SubMenuManager
org.eclipse.ui.internal.ActionSetMenuManager
- All Implemented Interfaces:
- IContributionItem,- IContributionManager,- IMenuManager
An 
EditorMenuManager is used to sort the contributions made by
 an editor so that they always appear after the action sets.- 
Constructor SummaryConstructorsConstructorDescriptionActionSetMenuManager(IMenuManager mgr, String actionSetId) Constructs a new editor manager.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the item passed to us, not the wrapper.getItems()Returns all contribution items known to this manager.toString()protected SubContributionItemwrap(IContributionItem item) Wraps a contribution item in a sub contribution item, and returns the new wrapper.protected SubMenuManagerwrapMenu(IMenuManager menu) Wraps a menu manager in a sub menu manager, and returns the new wrapper.Methods inherited from class org.eclipse.jface.action.SubMenuManageraddMenuListener, dispose, disposeManager, fill, fill, fill, fill, findMenuUsingPath, findUsingPath, getId, getParentMenuManager, getRemoveAllWhenShown, getWrapper, isDynamic, isEnabled, isGroupMarker, isSeparator, removeAll, removeMenuListener, saveWidgetState, setParent, setRemoveAllWhenShown, setVisible, update, update, update, updateAllMethods inherited from class org.eclipse.jface.action.SubContributionManageradd, add, appendToGroup, appendToGroup, getOverrides, getParent, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, isVisible, itemAdded, itemRemoved, items, markDirty, prependToGroup, prependToGroup, remove, remove, unwrapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.action.IContributionItemisDirty, isVisibleMethods inherited from interface org.eclipse.jface.action.IContributionManageradd, add, appendToGroup, appendToGroup, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove
- 
Constructor Details- 
ActionSetMenuManagerConstructs a new editor manager.
 
- 
- 
Method Details- 
findReturns the item passed to us, not the wrapper. In the case of menu's not added by this manager, ensure that we return a wrapper for the menu.- Specified by:
- findin interface- IContributionManager
- Overrides:
- findin class- SubMenuManager
- Parameters:
- id- of the- IContributionItem
- Returns:
- the contribution item, or nullif no item with the given id can be found
 
- 
getActionSetId- Returns:
- Returns the actionSetId.
 
- 
getItemsDescription copied from interface:IContributionManagerReturns all contribution items known to this manager.- Specified by:
- getItemsin interface- IContributionManager
- Overrides:
- getItemsin class- SubContributionManager
- Returns:
- a list of contribution items
 
- 
wrapDescription copied from class:SubContributionManagerWraps a contribution item in a sub contribution item, and returns the new wrapper.- Overrides:
- wrapin class- SubContributionManager
- Parameters:
- item- the contribution item to be wrapped
- Returns:
- the wrapped item
 
- 
wrapMenuDescription copied from class:SubMenuManagerWraps a menu manager in a sub menu manager, and returns the new wrapper.- Overrides:
- wrapMenuin class- SubMenuManager
- Parameters:
- menu- the menu manager to wrap
- Returns:
- the new wrapped menu manager
 
- 
toString
 
-