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 Details

    • 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 Details

    • 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:
    • runWithEvent

      public void runWithEvent(Event event)
      If the user has control-clicked the launch history item, open the launch configuration dialog on the launch configuration, rather than running it.
      Specified by:
      runWithEvent in interface IAction
      Overrides:
      runWithEvent in class Action
      Parameters:
      event - the SWT event which triggered this action being run
      See Also: