Class NewWizardDropDownAction

  • All Implemented Interfaces:
    IAction, ActionFactory.IWorkbenchAction

    public class NewWizardDropDownAction
    extends Action
    implements ActionFactory.IWorkbenchAction
    Action which, when run, will open the new wizard dialog. In addition, it has a drop-down showing the new wizard shortcuts associated with the current perspective.

    This class may be instantiated; it is not intended to be subclassed.

    • Constructor Detail

      • NewWizardDropDownAction

        public NewWizardDropDownAction​(IWorkbenchWindow window)
        Create a new NewWizardDropDownAction, with the default action for opening the new wizard dialog, and the default contribution item for populating the drop-down menu.
        window - the window in which this action appears
      • NewWizardDropDownAction

        public NewWizardDropDownAction​(IWorkbenchWindow window,
                                       ActionFactory.IWorkbenchAction showDlgAction,
                                       IContributionItem newWizardMenu)
        Create a new NewWizardDropDownAction.
        window - the window in which this action appears
        showDlgAction - the action to delegate to when this action is run directly, rather than being dropped down
        newWizardMenu - the contribution item that adds the contents to the drop-down menu