org.eclipse.xtext.xtend2.ui.launching
Class JUnitPDELaunchShortcut

java.lang.Object
  extended by org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut
      extended by org.eclipse.pde.ui.launcher.JUnitWorkbenchLaunchShortcut
          extended by org.eclipse.xtext.xtend2.ui.launching.JUnitPDELaunchShortcut
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut, org.eclipse.debug.ui.ILaunchShortcut2

public class JUnitPDELaunchShortcut
extends org.eclipse.pde.ui.launcher.JUnitWorkbenchLaunchShortcut

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
JUnitPDELaunchShortcut()
           
 
Method Summary
 void launch(org.eclipse.ui.IEditorPart editor, java.lang.String mode)
          Locates a launchable entity in the given active editor, and launches an application in the specified mode.
 void launch(org.eclipse.jface.viewers.ISelection selection, java.lang.String mode)
          Locates a launchable entity in the given selection and launches an application in the specified mode.
 
Methods inherited from class org.eclipse.pde.ui.launcher.JUnitWorkbenchLaunchShortcut
createLaunchConfiguration, getLaunchConfigurationTypeId
 
Methods inherited from class org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut
getAttributeNamesToCompare, getLaunchableResource, getLaunchableResource, getLaunchConfigurations, getLaunchConfigurations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitPDELaunchShortcut

public JUnitPDELaunchShortcut()
Method Detail

launch

public void launch(org.eclipse.jface.viewers.ISelection selection,
                   java.lang.String mode)
Description copied from interface: org.eclipse.debug.ui.ILaunchShortcut
Locates a launchable entity in the given selection and launches an application in the specified mode. This launch configuration shortcut is responsible for progress reporting as well as error handling, in the event that a launchable entity cannot be found, or launching fails.

Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut
Overrides:
launch in class org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut
Parameters:
selection - workbench selection
mode - one of the launch modes defined by the launch manager
See Also:
ILaunchManager

launch

public void launch(org.eclipse.ui.IEditorPart editor,
                   java.lang.String mode)
Description copied from interface: org.eclipse.debug.ui.ILaunchShortcut
Locates a launchable entity in the given active editor, and launches an application in the specified mode. This launch configuration shortcut is responsible for progress reporting as well as error handling, in the event that a launchable entity cannot be found, or launching fails.

Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut
Overrides:
launch in class org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut
Parameters:
editor - the active editor in the workbench
mode - one of the launch modes defined by the launch manager
See Also:
ILaunchManager