| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.debug.core"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.debug.core" id="launchDelegates" name="Launch Delegates"/> |
| </appInfo> |
| <documentation> |
| This extension point provides a mechanism for contributing a launch delegate to an existing launch configuration type for one or more launch modes. Since launch modes are extensible, it may be neccessary to contribute additional launch delegates to an existing launch configuration type. Each launch delegate is contributed for a specific launch configuration type. A launch delegate supports one or more launch modes, and specifies a delegate responsible for the implementation of launching. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="launchDelegate" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="launchDelegate"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="unbounded"> |
| <element ref="modeCombination" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| specifies a unique identifier for this launch delegate. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| A human readable name for this delegate. This attribute was added in the 3.3. release. |
| <p> |
| An example of a 'human readable name' would be something like (in the case of the default java application delegate): Eclipse JDT Java Tooling |
| </p> |
| <p> |
| <strong>EXPERIMENTAL</strong>. This attribute has been added as |
| part of a work in progress. There is no guarantee that this API will |
| remain unchanged during the 3.3 release cycle. Please do not use this API |
| without consulting with the Platform/Debug team. |
| </p> |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="delegate" type="string" use="required"> |
| <annotation> |
| <documentation> |
| specifies the fully qualified name of the Java class that implements <code>ILaunchConfigurationDelegate</code>. |
| Launch configuration instances of this delegate's type will delegate to instances of this class to perform launching in the modes this launch delegate supports - see the <code>modes</code> attribute and the <code>modeCombination</code> element. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.debug.core.model.ILaunchConfigurationDelegate"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="modes" type="string"> |
| <annotation> |
| <documentation> |
| A comma-separated list of the <b>individual</b> launch modes this delegate supports. |
| <p> |
| This attribute should be used when a launch delegate supports single launch modes - for example launching in run mode or debug mode. When a launch delegate supports launching in mixed mode (for example, debug and profile), the <code>modeCombination</code> element should be used to specify supported launch mode combinations. |
| </p> |
| <p> |
| This attribute can be used in conjunction with <code>modeCombination</code> elements. It is suggested practice to provide one or the other (either a comma seperated listing in the <code>modes</code> attribute, or <code>modeCombinations</code>). Specifying 'run,debug' in the modes attribute is analogous to specifying two <code>modeCombination</code> contributions, one for 'run' and another for 'debug'. |
| </p> |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="type" type="string"> |
| <annotation> |
| <documentation> |
| identifier of an existing launch configuration type that this launch delegate is capable of launching. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="sourcePathComputerId" type="string"> |
| <annotation> |
| <documentation> |
| The unique identifier of a sourcePathComputer extension that is used to compute a default source lookup path for launch configurations of this type. Since 3.1, this attribute cab be specified in a launchDelegate extension when unspecified in the assocaited launchConfigurationType extension. Only one source path computer can be specified per launch configuration type. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="sourceLocatorId" type="string"> |
| <annotation> |
| <documentation> |
| The unique identifier of a sourceLocator extension that is used to create the source locator for sessions launched using launch configurations of this type. Since 3.1, this attribute can be specified in a launchDelegate extension when unspecified in the assocaited launchConfigurationType extension. Only one source locater can be specified per launch configuration type. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="delegateDescription" type="string"> |
| <annotation> |
| <documentation> |
| This attribute provides a description of this launch delegate i.e. what it does and what tooling it is assciated with. This attribute was added in the 3.3 release. EXPERIMENTAL. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="modeCombination"> |
| <annotation> |
| <documentation> |
| This element specifies a launch mode combination this delegate supports. Each <code>modeCombination</code> element specifies a comma seperated list of modes specifying a supported mixed launch mode. For example, a delegate that supports debugging, profiling and code coverage at the same time would specify a <code>modes</code> element of consisting of 'debug, profile, coverage'. This element can also be used to specify single launch modes that are supported - for example a <code>modes</code> attribute of 'debug'. This element was added in the 3.3 release. EXPERIMENTAL. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="modes" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a comma seperated list specifying a combination of modes the associated delegate supportes. This attribute was added in the 3.3 release. EXPERIMENTAL. |
| |
| <p> |
| Unlike the modes attribute of the <code>launchDeleaget</code> element definition, this comma seperated list represents a mixed launch mode rather than the single supported launch modes. For example: a <code>modeCombination</code> element specifying <code>modes</code> of 'profile,debug' indicates the delegate can debug and profile at the same time. In contrast, if 'profile,debug' was specified by the <code>modes</code> attribute of the <code>launchDelegate</code> element, it would indicate the delegate could debug or profile, but not at the same time. |
| </p> |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 3.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of a launch delegate extension point: |
| |
| <p> |
| <pre> |
| <extension point="org.eclipse.debug.core.launchDelegates"> |
| <launchDelegate |
| id="com.example.ExampleProfileDelegate" |
| delegate="com.example.ExampleProfileDelegate" |
| type="org.eclipse.jdt.launching.localJavaApplication" |
| name="Eclipse JDT Java Profile Tooling"> |
| </launchDelegate> |
| <modeCombination modes="run, profile"></modeCombination> |
| <modeCombination modes="debug, profile, coverage"></modeCombination> |
| </extension> |
| </pre> |
| </p> |
| |
| In the example above, the specified launch delegate is contributed to launch Java applications in profile mode. The delegate supports mixed mode launching. The delegate supports profiling when launching in run or debug mode, with code coverage in debug mode only. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Value of the attribute <b>delegate</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.debug.core.model.ILaunchConfigurationDelegate</b>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2000, 2005 IBM Corporation and others.<br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License v1.0 which |
| accompanies this distribution, and is available at |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |