| org.eclipse.ui.internal.EditorMenuManager
EditorMenuManager | public class EditorMenuManager extends SubMenuManager (Code) | | An EditorMenuManager is used to sort the contributions
made by an editor so that they always appear after the action sets.
|
Constructor Summary | |
public | EditorMenuManager(IMenuManager mgr) Constructs a new editor manager. |
EditorMenuManager | public EditorMenuManager(IMenuManager mgr)(Code) | | Constructs a new editor manager.
|
getAllContributedActions | protected IAction[] getAllContributedActions()(Code) | | |
getAllContributedActions | protected void getAllContributedActions(HashSet set)(Code) | | |
getAllContributedActions | protected void getAllContributedActions(HashSet set, IContributionItem item)(Code) | | |
getItems | public IContributionItem[] getItems()(Code) | | |
getOverrides | public IContributionManagerOverrides getOverrides()(Code) | | |
insertAfter | public void insertAfter(String id, IContributionItem item)(Code) | | |
prependToGroup | public void prependToGroup(String groupName, IContributionItem item)(Code) | | |
setEnabledAllowed | public void setEnabledAllowed(boolean enabledAllowed)(Code) | | Sets the enablement ability of all the items contributed by the editor.
Parameters: enabledAllowed - true if the items may enable since: 2.0 |
setVisible | public void setVisible(boolean visible, boolean forceVisibility)(Code) | | Sets the visibility of the manager. If the visibility is true
then each item within the manager appears within the parent manager.
Otherwise, the items are not visible.
If force visibility is true , or grayed out if force visibility is false
This is a workaround for the layout flashing when editors contribute
large amounts of items.
Parameters: visible - the new visibility Parameters: forceVisibility - whether to change the visibility or just theenablement state. |
wrapMenu | protected SubMenuManager wrapMenu(IMenuManager menu)(Code) | | |
|
|