| org.eclipse.ui.actions.CompoundContributionItem org.eclipse.ui.actions.BaseNewWizardMenu
BaseNewWizardMenu | public class BaseNewWizardMenu extends CompoundContributionItem (Code) | | A BaseNewWizardMenu is used to populate a menu manager with
New Wizard actions for the current perspective's new wizard shortcuts,
including an Other... action to open the new wizard dialog.
since: 3.1 |
BaseNewWizardMenu | public BaseNewWizardMenu(IWorkbenchWindow window, String id)(Code) | | Creates a new wizard shortcut menu for the IDE.
Parameters: window - the window containing the menu Parameters: id - the contribution item identifier, or null |
addItems | protected void addItems(List list)(Code) | | Adds the items to show to the given list.
Parameters: list - the list to add items to |
addShortcuts | protected boolean addShortcuts(List list)(Code) | | Adds the new wizard shortcuts for the current perspective to the given list.
Parameters: list - the list to add items to true if any items were added, false if none were added |
dispose | public void dispose()(Code) | | |
getContributionItems | protected IContributionItem[] getContributionItems()(Code) | | |
getShowDialogAction | protected IAction getShowDialogAction()(Code) | | Returns the "Other..." action, used to show the new wizards dialog.
the action used to show the new wizards dialog |
getWindow | protected IWorkbenchWindow getWindow()(Code) | | Returns the window in which this menu appears.
the window in which this menu appears |
registryHasCategory | protected boolean registryHasCategory(String categoryId)(Code) | | Returns whether the new wizards registry has a non-empty category with
the given identifier.
Parameters: categoryId - the identifier for the category true if there is a non-empty category with thegiven identifier, false otherwise |
|
|