diff options
author | Darin Swanson | 2003-01-09 23:00:03 +0000 |
---|---|---|
committer | Darin Swanson | 2003-01-09 23:00:03 +0000 |
commit | 62daa02b0f2f795fc1eff59d2c0b1ae5db375f8c (patch) | |
tree | 605b1e0648ae7da18855f1d99ea9c7d503b8ef38 /org.eclipse.debug.core/schema/launchConfigurationTypes.exsd | |
parent | 776c153d6ab9b46a60290acf5f4add2e3b704932 (diff) | |
download | eclipse.platform.debug-62daa02b0f2f795fc1eff59d2c0b1ae5db375f8c.tar.gz eclipse.platform.debug-62daa02b0f2f795fc1eff59d2c0b1ae5db375f8c.tar.xz eclipse.platform.debug-62daa02b0f2f795fc1eff59d2c0b1ae5db375f8c.zip |
Bug 29153 - Migrate extension point schema ownership
Diffstat (limited to 'org.eclipse.debug.core/schema/launchConfigurationTypes.exsd')
-rw-r--r-- | org.eclipse.debug.core/schema/launchConfigurationTypes.exsd | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd b/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd new file mode 100644 index 000000000..665bed32e --- /dev/null +++ b/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd @@ -0,0 +1,170 @@ +<?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="launchConfigurationTypes" name="Launch Configuration Types"/> + </appInfo> + <documentation> + This extension point provides a configurable mechanism for launching applications. +Each launch configuration type has a name, supports one or more modes (run and/or debug), and specifies a delegate +responsible for the implementation of launching an application. + </documentation> +</annotation> + + <element name="extension"> + <complexType> + <sequence> + <element ref="launchConfigurationType" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="launchConfigurationType"> + <annotation> + <appInfo> + <meta.element labelAttribute="name"/> + </appInfo> + </annotation> + <complexType> + <sequence> + <element ref="fileExtension" minOccurs="1" maxOccurs="unbounded"/> + </sequence> + <attribute name="id" type="string" use="required"> + <annotation> + <documentation> + specifies a unique identifier for this launch configuration type. + </documentation> + </annotation> + </attribute> + <attribute name="delegate" type="string" use="required"> + <annotation> + <documentation> + specifies the fully qualified name of the Java class that implements <samp>ILaunchConfigurationDelegate</samp>. +Launch configuration instances of this type will delegate to instances of this class to perform launching. + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn="org.eclipse.debug.core.model.ILaunchConfigurationDelegate"/> + </appInfo> + </annotation> + </attribute> + <attribute name="modes" type="string" use="required"> + <annotation> + <documentation> + specifies a comma-separated list of the modes this type of lauch configuration supports - "run" and/or "debug". + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string" use="required"> + <annotation> + <documentation> + specifies a human-readable name for this type of launch configuration. + </documentation> + </annotation> + </attribute> + <attribute name="public" type="boolean"> + <annotation> + <documentation> + specifies whether this launch configuration type is accessible by users. Defaults to true if not specified. + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="fileExtension"> + <complexType> + <attribute name="extension" type="string" use="required"> + <annotation> + <documentation> + specifies a file extension that this launch configuration type +can be used for. + </documentation> + </annotation> + </attribute> + <attribute name="default" type="boolean"> + <annotation> + <documentation> + specifies whether this launch configuration type should be the default launch configuration type for the specified file extension. Defaults to false if not specified. + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + The following is an example of a launch configuration type extension point: + +<p> +<pre> + <extension point="org.eclipse.debug.core.launchConfigurationTypes"> + <launchConfigurationType + id="com.example.ExampleIdentifier" + delegate="com.example.ExampleLaunchConfigurationDelegate" + modes="run,debug" + name="Example Application"> + <fileExtension extension="txt" default="true"/> + <fileExtension extension="gif" default="false"/> + </launchConfigurationType> + </extension> +</pre> +</p> + +In the example above, the specified type of launch configuration supports both run and debug modes. +The launch configuration is applicable to .txt and .gif files, and is the default launch configuration for .txt files. + </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="implementation"/> + </appInfo> + <documentation> + [Enter information about supplied implementation of this extension point.] + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="copyright"/> + </appInfo> + <documentation> + + </documentation> + </annotation> + +</schema> |