Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.core/build.properties2
-rw-r--r--bundles/org.eclipse.team.core/plugin.xml6
-rw-r--r--bundles/org.eclipse.team.core/schema/fileTypes.mxsd108
-rw-r--r--bundles/org.eclipse.team.core/schema/ignore.mxsd107
-rw-r--r--bundles/org.eclipse.team.core/schema/projectSets.mxsd115
-rw-r--r--bundles/org.eclipse.team.ui/build.properties2
-rw-r--r--bundles/org.eclipse.team.ui/plugin.xml2
-rw-r--r--bundles/org.eclipse.team.ui/schema/configurationWizards.mxsd141
8 files changed, 477 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.core/build.properties b/bundles/org.eclipse.team.core/build.properties
index 774815353..f90d8d5b1 100644
--- a/bundles/org.eclipse.team.core/build.properties
+++ b/bundles/org.eclipse.team.core/build.properties
@@ -1,4 +1,4 @@
# Eclipse build contribution
bin.includes = about.html,plugin.xml,plugin.properties,*.jar,.options
source.team.jar=src/
-src.includes=about.html
+src.includes=about.html,schema
diff --git a/bundles/org.eclipse.team.core/plugin.xml b/bundles/org.eclipse.team.core/plugin.xml
index 971c8be00..b0d43c0bd 100644
--- a/bundles/org.eclipse.team.core/plugin.xml
+++ b/bundles/org.eclipse.team.core/plugin.xml
@@ -18,9 +18,9 @@
</library>
</runtime>
-<extension-point id="fileTypes" name="%FileTypesRegistry"/>
-<extension-point id="ignore" name="%GlobalIgnoreRegistry"/>
-<extension-point id="projectSets" name="%TeamProjectSets"/>
+<extension-point id="fileTypes" name="%FileTypesRegistry" schema="schema/fileTypes.mxsd"/>
+<extension-point id="ignore" name="%GlobalIgnoreRegistry" schema="schema/ignore.mxsd"/>
+<extension-point id="projectSets" name="%TeamProjectSets" schema="schema/projectSets.mxsd"/>
<extension-point id="repository" name="%Repository"/>
<extension-point id="targets" name="%Targets"/>
diff --git a/bundles/org.eclipse.team.core/schema/fileTypes.mxsd b/bundles/org.eclipse.team.core/schema/fileTypes.mxsd
new file mode 100644
index 000000000..479dbca90
--- /dev/null
+++ b/bundles/org.eclipse.team.core/schema/fileTypes.mxsd
@@ -0,0 +1,108 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.team.core">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.team.core" id="fileTypes" name="File Types"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to register information about whether particular file types should be considered to contain text or binary data.
+This information is important to some repository providers as it affects how the data is stored, compared and transmitted.
+&lt;p&gt;
+Providers may provide an extension for this extension point. No code beyond the XML extension declaration is required.
+ </documentation>
+</annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="fileTypes" 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="fileTypes">
+ <complexType>
+ <attribute name="extension" type="string" use="required">
+ <annotation>
+ <documentation>
+ the file extension being identified by this contribution.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="type" type="string" use="required">
+ <annotation>
+ <documentation>
+ one of either "text" or "binary", identifying the contents of files matching the value of extension.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ Following is an example of a fileTypes extension:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point="org.eclipse.team.core.fileTypes"&gt;
+ &lt;fileTypes extension="txt" type="text"/&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&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>
+
+ </documentation>
+ </annotation>
+
+</schema>
diff --git a/bundles/org.eclipse.team.core/schema/ignore.mxsd b/bundles/org.eclipse.team.core/schema/ignore.mxsd
new file mode 100644
index 000000000..9776ed7d6
--- /dev/null
+++ b/bundles/org.eclipse.team.core/schema/ignore.mxsd
@@ -0,0 +1,107 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.team.core">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.team.core" id="ignore" name="Ignore"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to register information about whether particular resources should be ignored;
+that is, excluded from version configuration management operations.
+Providers may provide an extension for this extension point. No code beyond the XML extension declaration is required.
+ </documentation>
+</annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="ignore" 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="ignore">
+ <complexType>
+ <attribute name="pattern" type="string" use="required">
+ <annotation>
+ <documentation>
+ the pattern against which resources will be compared.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="enabled" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ one of "true" or "false", determines whether this ignore pattern is enabled.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ Following is an example of an ignore extension:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point="org.eclipse.team.core.ignore"&gt;
+ &lt;ignore pattern="*.class" enabled="true"/&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&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>
+
+ </documentation>
+ </annotation>
+
+</schema>
diff --git a/bundles/org.eclipse.team.core/schema/projectSets.mxsd b/bundles/org.eclipse.team.core/schema/projectSets.mxsd
new file mode 100644
index 000000000..911064a67
--- /dev/null
+++ b/bundles/org.eclipse.team.core/schema/projectSets.mxsd
@@ -0,0 +1,115 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.team.core">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.team.core" id="projectSets" name="Project Sets"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to register a handler for creating and reading project sets.
+Project sets are lightweight, portable method of sharing a particular lineup of team-shared projects in a workspace.
+A project set file may be used to provide team memebers with a simple way of creating a workspace with a particular lineup of projects form one or more team providers.
+&lt;p&gt;
+Providers may provide an extension for this extension point.
+ </documentation>
+</annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="projectSets" 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="projectSets">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ the nature id of the provider for which this handler creates and reads project sets.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ the fully qualified name of a class implementing &lt;samp&gt;org.eclipse.team.core.IProjectSerializer&lt;/samp&gt;.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.team.core.IProjectSetSerializer"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ Following is an example of a projectSets extension:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point="org.eclipse.team.core.projectSets"&gt;
+ &lt;projectSets
+ id="org.eclipse.team.cvs.core.cvsnature"
+ class="org.eclipse.team.cvs.core.CVSProjectSetSerializer"&gt;
+ &lt;/projectSets&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ [Enter API information here.]
+ </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>
diff --git a/bundles/org.eclipse.team.ui/build.properties b/bundles/org.eclipse.team.ui/build.properties
index 4db2fd6e8..6d0877d4b 100644
--- a/bundles/org.eclipse.team.ui/build.properties
+++ b/bundles/org.eclipse.team.ui/build.properties
@@ -1,4 +1,4 @@
# Eclipse build contribution
bin.includes=about.html,icons/,plugin.xml,plugin.properties,*.jar
source.teamui.jar=src/
-src.includes=about.html
+src.includes=about.html,schema
diff --git a/bundles/org.eclipse.team.ui/plugin.xml b/bundles/org.eclipse.team.ui/plugin.xml
index a2119d5d0..3bffdf21d 100644
--- a/bundles/org.eclipse.team.ui/plugin.xml
+++ b/bundles/org.eclipse.team.ui/plugin.xml
@@ -22,7 +22,7 @@
</library>
</runtime>
-<extension-point id="configurationWizards" name="%configurationWizards"/>
+<extension-point id="configurationWizards" name="%configurationWizards" schema="schema/configurationWizards.mxsd"/>
<extension-point id="targetConfigWizards" name="%targetWizards"/>
<!-- **************** PREFERENCES ******************* -->
diff --git a/bundles/org.eclipse.team.ui/schema/configurationWizards.mxsd b/bundles/org.eclipse.team.ui/schema/configurationWizards.mxsd
new file mode 100644
index 000000000..15177dbfc
--- /dev/null
+++ b/bundles/org.eclipse.team.ui/schema/configurationWizards.mxsd
@@ -0,0 +1,141 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.team.ui">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.team.ui" id="configurationWizards" name="Configuration Wizards"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to register a method for configuration of a project.
+Configuration involves the association of a project with a team provider, including all information necessary to initialize
+that team provider, including such things as username, password, and any relevant information necessary to locate the provider.
+&lt;p&gt;
+Providers may provide an extension for this extension point, and an implementation of &lt;samp&gt;org.eclipse.team.ui.IConfigurationWizard&lt;/samp&gt;
+which gathers the necessary information and configures the projects.
+ </documentation>
+</annotation>
+
+ <element name="extension">
+ <complexType>
+ <sequence>
+ <element ref="wizard" minOccurs="0" maxOccurs="1"/>
+ </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="wizard">
+ <annotation>
+ <appInfo>
+ <meta.element labelAttribute="name"/>
+ </appInfo>
+ </annotation>
+ <complexType>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ The name of the configuration type as it should appear in the configuration wizard. Examples are "CVS", "WebDAV".
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="icon" type="string" use="required">
+ <annotation>
+ <documentation>
+ the icon to present in the configuration wizard next to the name.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ a fully qualified name of the Java class implementing &lt;samp&gt;org.eclipse.team.ui.IConfigurationWizard&lt;/samp&gt;.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.team.ui.IConfigurationWizard"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ a unique identifier for this extension.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ Following is an example of a configuration wizard extension:
+
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point="org.eclipse.team.ui.configurationWizard"&gt;
+ &lt;wizard
+ name="WebDAV"
+ icon="webdav.gif"
+ class="com.xyz.DAVDecorator"
+ id="com.xyz.dav"&gt;
+ &lt;/wizard&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+&lt;/p&gt;
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ The value of the &lt;samp&gt;class&lt;/samp&gt; attribute must represent a class that implements &lt;samp&gt;org.eclipse.team.ui.IConfigurationWizard&lt;/samp&gt;.
+This interface supports configuration of a wizard given a workbench and a project.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ The plug-in org.eclipse.team.provider.examples.ui contains sample implementations of IConfigurationWizard for the WebDAV and filesystem provider types.
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+
+</schema>

Back to the top