| <?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="launchers" name="Launcher"/> |
| </appInfo> |
| <documentation> |
| 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. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element deprecated="true"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="launcher" minOccurs="0" 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="launcher"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="label" icon="icon"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique identifier that can be used to reference |
| this launcher. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| fully qualified name of the Java class that implements |
| <code>org.eclipse.debug.core.model.ILauncherDelegate</code>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.debug.core.model.ILauncherDelegate"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="modes" type="string" use="required"> |
| <annotation> |
| <documentation> |
| A comma separated list of modes this launcher supports. |
| The two supported modes are "run" and "debug" - |
| as defined in <code>org.eclipse.debug.core.ILaunchManager</code>. |
| A launcher may be capable of launching in one or both modes. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="label" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a label to use for the launcher. This attribute is used by the debug UI. |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="wizard" type="string"> |
| <annotation> |
| <documentation> |
| fully qualified name of the class that implements |
| <code>org.eclipse.debug.ui.ILaunchWizard</code>. |
| This attribute is used by the debug UI. A launcher |
| may contribute a wizard that allows users to configure |
| and launch specific attributes. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.debug.ui.ILaunchWizard"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="public" type="boolean"> |
| <annotation> |
| <documentation> |
| whether a launcher is publically visible in the debug UI. |
| If <code>true</code>, 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. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| a description of the launcher. Currently only used |
| if the wizard attribute is specified. |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="perspective" type="string"> |
| <annotation> |
| <documentation> |
| the identifier of the perspective that will be switched |
| to on a successful launch. Default value is the |
| identifier for the debug perspective. This attribute |
| is used by the debug UI. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="icon" type="string"> |
| <annotation> |
| <documentation> |
| a relative path of an icon that will represent the launcher |
| in the UI if specified. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="resource"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of a launcher extension point: |
| <p> |
| <pre> |
| <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> |
| </pre> |
| </p> |
| 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 |
| <samp>com.example.launchers.ui.ExampleLaunchWizard</samp> |
| will be used to configure any launch specific details. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Value of the attribute <samp>class</samp> must be a fully |
| qualified class name of a Java class that implements |
| the interface |
| <samp>org.eclipse.debug.core.ILauncherDelegate</samp>. |
| Value of the attribute <samp>wizard</samp> must be a |
| fully qualified class name of a Java class that |
| implements <samp>org.eclipse.debug.ui.ILaunchWizard</samp>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2000, 2011 IBM Corporation and others.<br> |
| |
| 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 |
| <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| |
| SPDX-License-Identifier: EPL-2.0 |
| </documentation> |
| </annotation> |
| |
| </schema> |