<!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>
org.eclipse.debug.core.model.ILauncherDelegate
.org.eclipse.debug.core.ILaunchManager
.
A launcher may be capable of launching in one or both modes.org.eclipse.debug.ui.ILaunchWizard
.
This attribute is used by the debug UI. A launcher
may contribute a wizard that allows users to configure
and launch specific attributes.true
, the launcher will be available from the
debug UI - the launcher will appear as a choice
for a default launcher, launches created by this
launcher will appear in the launch history, and the
launcher will be available from the drop-down run/debug
toolbar actions.
<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.
Copyright (c) 2000, 2011 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0