| org.eclipse.ui.actions.NewWizardMenu
NewWizardMenu | public class NewWizardMenu extends BaseNewWizardMenu (Code) | | A NewWizardMenu augments BaseNewWizardMenu with IDE-specific
actions: New Project... (always shown) and New Example... (shown only if there are example wizards installed).
|
Constructor Summary | |
public | NewWizardMenu(IWorkbenchWindow window) Creates a new wizard shortcut menu for the IDE. | public | NewWizardMenu(IWorkbenchWindow window, String id) Creates a new wizard shortcut menu for the IDE. | public | NewWizardMenu(IMenuManager innerMgr, IWorkbenchWindow window, boolean register) Create a new wizard shortcut menu. |
NewWizardMenu | public NewWizardMenu(IWorkbenchWindow window)(Code) | | Creates a new wizard shortcut menu for the IDE.
Parameters: window - the window containing the menu |
NewWizardMenu | public NewWizardMenu(IWorkbenchWindow window, String id)(Code) | | Creates a new wizard shortcut menu for the IDE.
Parameters: window - the window containing the menu Parameters: id - the identifier for this contribution item |
NewWizardMenu | public NewWizardMenu(IMenuManager innerMgr, IWorkbenchWindow window, boolean register)(Code) | | Create a new wizard shortcut menu.
If the menu will appear on a semi-permanent basis, for instance within
a toolbar or menubar, the value passed for register should be true.
If set, the menu will listen to perspective activation and update itself
to suit. In this case clients are expected to call deregister
when the menu is no longer needed. This will unhook any perspective
listeners.
Parameters: innerMgr - the location for the shortcut menu contents Parameters: window - the window containing the menu Parameters: register - if true the menu listens to perspective changes inthe window |
deregisterListeners | public void deregisterListeners()(Code) | | Removes all listeners from the containing workbench window.
This method should only be called if the shortcut menu is created with
register = true .
|
getContributionItems | protected IContributionItem[] getContributionItems()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | |
setEnabled | public void setEnabled(boolean enabledValue)(Code) | | Sets the enabled state of the receiver.
Parameters: enabledValue - if true the menu is enabled; elseit is disabled |
|
|