Class NewExampleAction

  • All Implemented Interfaces:
    IAction

    public class NewExampleAction
    extends Action
    Standard action for launching the create project selection wizard.

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

    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • NewExampleAction

        public NewExampleAction()
        This default constructor allows the the action to be called from the welcome page.
      • NewExampleAction

        public NewExampleAction​(IWorkbenchWindow window)
        Creates a new action for launching the new project selection wizard.
        Parameters:
        window - the workbench window to query the current selection and shell for opening the wizard.
    • Method Detail

      • run

        public void run()
        Description copied from class: Action
        The default implementation of this IAction method does nothing. Subclasses should override this method if they do not need information from the triggering event, or override runWithEvent(Event) if they do.
        Specified by:
        run in interface IAction
        Overrides:
        run in class Action
        See Also:
        How radio buttons are handled, How check boxes are handled