Class LaunchAction

  • All Implemented Interfaces:
    IAction

    public class LaunchAction
    extends Action
    Launches a launch configuration in a specific mode.

    Clients may instantiate this class.

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

      • LaunchAction

        public LaunchAction​(ILaunchConfiguration configuration,
                            String mode)
        Constructs an action that launches the specified launch configuration in the specified mode.
        Parameters:
        configuration - launch configuration
        mode - launch mode - one of ILaunchManager.RUN_MODE or ILaunchManager.DEBUG_MODE
    • 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:
        IAction.run()