<!ELEMENT extension (launchConfigurationType+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT launchConfigurationType (fileExtension+)?>
<!ATTLIST launchConfigurationType
id CDATA #REQUIRED
delegate CDATA #IMPLIED
modes CDATA #IMPLIED
name CDATA #REQUIRED
public (true | false)
category CDATA #IMPLIED
sourcePathComputerId IDREF #IMPLIED
sourceLocatorId IDREF #IMPLIED
migrationDelegate CDATA #IMPLIED
delegateName CDATA #IMPLIED
delegateDescription CDATA #IMPLIED
allowPrototypes (true | false)
allowCommandLine (true | false)
allowOutputMerging (true | false) >
ILaunchConfigurationDelegate
.
Launch configuration instances of this type will delegate to instances of this class to perform launching. Launch delegates can also be contributed for a launch configuration type via the launchDelegates
extension. The launch delegate specified by a launchConfigurationType
extension is responsible for launching in all modes specified by the same extension. To extend the launching capabilities of an existing configuration type, or when different delegates are required for different launch mode combinations, the launchDelegates
extension should be used to contribute a launch delegate.launchDelegates
extension.true
if not specified.null
). Categories are client defined. This attribute was added in the 2.1 release.sourcePathComputerId
can also be specified via the launchDelegates
extension point.sourceLocatorId
can also be specified via the launchDelegates
extension point.org.eclipse.debug.core.ILaunchConfigurationMigrationDelegate
. Optional delegate used to migrate launch configurations of this type to be compatible with current tooling, since 3.2false
if not specified. This attribute was added in 4.7 release.false
if not specified. This attribute was added in 4.7 release.false
if not specified. This attribute was added in 4.13 release.<!ELEMENT fileExtension EMPTY>
<!ATTLIST fileExtension
extension CDATA #REQUIRED
default (true | false) >
This element is no longer used. Instead, use the org.eclipse.debug.ui.launchShortcuts
extension point.
false
if not specified.The following is an example of a launch configuration type extension point:
<extension point="org.eclipse.debug.core.launchConfigurationTypes"> <launchConfigurationType id="com.example.ExampleIdentifier" delegate="com.example.ExampleLaunchConfigurationDelegate" modes="run,debug" name="Example Application" migrationDelegate="com.example.migrationDelegate" sourceLocatorId="com.example.sourceLookupDirector" sourcePathComputerId="com.example.sourcePathComputer" delegateName="Example Application Launch Tooling" delegateDescription="This example tooling will run or debug example code."> </launchConfigurationType> </extension>
In the example above, the specified type of launch configuration supports both run and debug modes. The specified type also has an associated migration delegate, a source locator id, a source path computer, and launch delegate name and description.
Value of the attribute delegate must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate. The value of the attribute migrationDelegate must be a fully qualified name of a Java class that implements org.eclipse.debug.core.ILaunchConfigurationMigrationDelegate.
Copyright (c) 2000, 2019 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