Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2011-12-23 09:44:53 +0000
committerTomasz Zarna2011-12-23 09:44:53 +0000
commit618e0c9e25740294600cbfeb5275d43229a53e44 (patch)
treed9e829597d5459f77e3cee14a33ac74ddff2f044 /bundles/org.eclipse.team.core/schema/bundleImporters.exsd
parent04c5abb7c7701ed7b46062ec100f7bca77b5a863 (diff)
downloadeclipse.platform.team-618e0c9e25740294600cbfeb5275d43229a53e44.tar.gz
eclipse.platform.team-618e0c9e25740294600cbfeb5275d43229a53e44.tar.xz
eclipse.platform.team-618e0c9e25740294600cbfeb5275d43229a53e44.zip
bug 366790: Allow to specify values from BundleImporterDelegatev20111223-0944
declaratively, in plugin.xml
Diffstat (limited to 'bundles/org.eclipse.team.core/schema/bundleImporters.exsd')
-rw-r--r--bundles/org.eclipse.team.core/schema/bundleImporters.exsd50
1 files changed, 30 insertions, 20 deletions
diff --git a/bundles/org.eclipse.team.core/schema/bundleImporters.exsd b/bundles/org.eclipse.team.core/schema/bundleImporters.exsd
index 747a545ab..35e80a223 100644
--- a/bundles/org.eclipse.team.core/schema/bundleImporters.exsd
+++ b/bundles/org.eclipse.team.core/schema/bundleImporters.exsd
@@ -52,16 +52,9 @@ A bundle importer is capable of creating a project in the workspace based on a b
<element name="importer">
<complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- Fully qualified name of a Java class providing an implementation of &lt;code&gt;org.eclipse.team.core.importing.provisional.IBundleImporterDelegate&lt;/code&gt; for this handler.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.team.core.importing.provisional.IBundleImporterDelegate"/>
- </appInfo>
- </annotation>
- </attribute>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <element ref="supports"/>
+ </sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
@@ -82,13 +75,35 @@ A bundle importer is capable of creating a project in the workspace based on a b
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
- The name of this bundle importer, suitable for display to an end user.
+ The name of this bundle importer, suitable for display to the end user.
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
+ <attribute name="repository" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of org.eclipse.team.core.repository extension that is associated with this importer.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.team.core.repository/repository/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="supports">
+ <complexType>
+ <attribute name="prefix" type="string" use="required">
+ <annotation>
+ <documentation>
+ The SCM URL prefix being supported by this importer.
+ </documentation>
+ </annotation>
+ </attribute>
</complexType>
</element>
@@ -113,7 +128,10 @@ A bundle importer is capable of creating a project in the workspace based on a b
&lt;extension point=&quot;org.eclipse.team.core.bundleImporters&quot;&gt;
&lt;importer
id=&quot;com.example.ExampleIdentifier&quot;
- class=&quot;com.example.ExampleBundleImporter&quot;&gt;
+ name=&quot;Example Importer&quot;
+ repository=&quot;com.example.ExampleNature&quot;&gt;
+ &lt;supports prefix=&quot;scm:example:&quot;&gt;
+ &lt;/supports&gt;
&lt;/importer&gt;
&lt;/extension&gt;
&lt;/pre&gt;
@@ -121,14 +139,6 @@ A bundle importer is capable of creating a project in the workspace based on a b
</documentation>
</annotation>
- <annotation>
- <appInfo>
- <meta.section type="apiinfo"/>
- </appInfo>
- <documentation>
- Value of a importer&apos;s &lt;b&gt;class&lt;/b&gt; attribute must be a fully qualified name of a Java class that implements the interface &lt;b&gt;org.eclipse.team.core.importing.provisional.IBundleImporterDelegate&lt;/b&gt;.
- </documentation>
- </annotation>
<annotation>
<appInfo>

Back to the top