Launcher (Obsolete)

org.eclipse.debug.core.launchers

This extension point has been replaced by the launchConfigurationTypes extension point. Extensions of this type are obsolete as of release 2.0 and are ignored. This extension point was used to contribute launchers. A launcher was responsible for initiating a debug session or running a program and registering the result with the launch manager.

<!ELEMENT extension (launcher*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT launcher EMPTY>

<!ATTLIST launcher

id          CDATA #REQUIRED

class       CDATA #REQUIRED

modes       CDATA #REQUIRED

label       CDATA #REQUIRED

wizard      CDATA #IMPLIED

public      (true | false)

description CDATA #IMPLIED

perspective CDATA #IMPLIED

icon        CDATA #IMPLIED>


The following is an example of a launcher extension point:

   

<extension point =

"org.eclipse.debug.core.launchers"

>

<launcher id =

"com.example.ExampleLauncher"

class =

"com.example.launchers.ExampleLauncher"

modes =

"run, debug"

label =

"Example Launcher"

wizard =

"com.example.launchers.ui.ExampleLaunchWizard"

public =

"true"

description =

"Launches example programs"

perspective=

"com.example.JavaPerspective"

>

</launcher>

</extension>

In the example above, the specified launcher supports both run and debug modes. Following a successful launch, the debug UI will change to the Java perspective. When the debug UI presents the user with a list of launchers to choose from, "Example Launcher" will appear as one of the choices with the "Launches example programs" as the description, and the wizard specified by com.example.launchers.ui.ExampleLaunchWizard will be used to configure any launch specific details.

Value of the attribute class must be a fully qualified class name of a Java class that implements the interface org.eclipse.debug.core.ILauncherDelegate. Value of the attribute wizard must be a fully qualified class name of a Java class that implements org.eclipse.debug.ui.ILaunchWizard.