Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2004-05-14 19:38:02 -0400
committerJared Burns2004-05-14 19:38:02 -0400
commitf7c18d81318bff9418397dcd526f21b5f6412805 (patch)
tree28bb82719abeeccba01f02cf0eb5a00b7f41776b /org.eclipse.ui.externaltools
parent975c2db9bf18c03378ef1cd6e74ea1be2985ea2e (diff)
downloadeclipse.platform.debug-f7c18d81318bff9418397dcd526f21b5f6412805.tar.gz
eclipse.platform.debug-f7c18d81318bff9418397dcd526f21b5f6412805.tar.xz
eclipse.platform.debug-f7c18d81318bff9418397dcd526f21b5f6412805.zip
Bug 61630 - schema for external tools configurationDuplicationMaps ext point
Diffstat (limited to 'org.eclipse.ui.externaltools')
-rw-r--r--org.eclipse.ui.externaltools/plugin.xml8
-rw-r--r--org.eclipse.ui.externaltools/schema/configurationDuplicationMaps.exsd125
2 files changed, 129 insertions, 4 deletions
diff --git a/org.eclipse.ui.externaltools/plugin.xml b/org.eclipse.ui.externaltools/plugin.xml
index b57b5d79f..a992d0249 100644
--- a/org.eclipse.ui.externaltools/plugin.xml
+++ b/org.eclipse.ui.externaltools/plugin.xml
@@ -28,8 +28,8 @@
</requires>
-<!-- extension point definitions -->
- <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
+<!-- For internal use only. Not to be extended. -->
+ <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps" schema="schema/configurationDuplicationMaps.exsd"/>
<!-- UI extensions -->
<!-- Extensions -->
@@ -136,8 +136,8 @@
<extension
point="org.eclipse.ui.externaltools.configurationDuplicationMaps">
<configurationMap
- builderType="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"
- sourceType="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
+ sourceType="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType"
+ builderType="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
</configurationMap>
</extension>
<extension
diff --git a/org.eclipse.ui.externaltools/schema/configurationDuplicationMaps.exsd b/org.eclipse.ui.externaltools/schema/configurationDuplicationMaps.exsd
new file mode 100644
index 000000000..e51ff2f67
--- /dev/null
+++ b/org.eclipse.ui.externaltools/schema/configurationDuplicationMaps.exsd
@@ -0,0 +1,125 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.ui.externaltools">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.ui.externaltools" id="configurationDuplicationMaps" name="Configuration Duplication Maps"/>
+ </appInfo>
+ <documentation>
+This is an internal extension point to declare the launch configuration type that
+should be created when duplicating an existing configuration as a project builder.
+
+Clients are not intended to use this extension point.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="configurationMap" 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="configurationMap">
+ <complexType>
+ <attribute name="sourceType" type="string" use="required">
+ <annotation>
+ <documentation>
+ specifies the identifier of the launch configuration type for which this mapping is provided
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="builderType" type="string" use="required">
+ <annotation>
+ <documentation>
+ specifies the identifier of the launch configuration type which should be created when a configuration of type "sourceType" is imported to be a project builder
+ </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 example specifies that when the user chooses to import a launch configuration
+of the type &quot;org.eclipse.ui.externaltools.ProgramLaunchConfigurationType&quot;, a new launch
+configuration of the type&quot;org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType&quot;
+should be created.
+
+&lt;extension
+ point=&quot;org.eclipse.ui.externaltools.configurationDuplicationMaps&quot;&gt;
+ &lt;configurationMap
+ sourceType=&quot;org.eclipse.ui.externaltools.ProgramLaunchConfigurationType&quot;
+ builderType=&quot;org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType&quot;&gt;
+ &lt;/configurationMap&gt;
+&lt;/extension&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ &lt;p&gt;
+&lt;a href=&quot;hglegal.htm&quot;&gt;
+ &lt;img SRC=&quot;ngibmcpy.gif&quot;
+ ALT=&quot;Copyright (c) 2003, 2004 IBM Corporation and others. All Rights Reserved.&quot;
+ BORDER=0 height=14 width=324&gt;&lt;/a&gt;
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+</schema>

Back to the top