Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.core/schema/BinaryParser.exsd12
-rw-r--r--core/org.eclipse.cdt.core/schema/CBuildConsole.exsd175
-rw-r--r--core/org.eclipse.cdt.core/schema/CConfigurationDataProvider.exsd71
-rw-r--r--core/org.eclipse.cdt.core/schema/CExtensionGeneric.exsd9
-rw-r--r--core/org.eclipse.cdt.core/schema/CIndex.exsd625
-rw-r--r--core/org.eclipse.cdt.core/schema/CIndexer.exsd177
-rw-r--r--core/org.eclipse.cdt.core/schema/CProject.exsd180
-rw-r--r--core/org.eclipse.cdt.core/schema/CProjectDescriptionStorage.exsd47
-rw-r--r--core/org.eclipse.cdt.core/schema/CodeFormatter.exsd195
-rw-r--r--core/org.eclipse.cdt.core/schema/EFSExtensionProvider.exsd68
-rw-r--r--core/org.eclipse.cdt.core/schema/ErrorParser.exsd33
-rw-r--r--core/org.eclipse.cdt.core/schema/LanguageSettingsProvider.exsd538
-rw-r--r--core/org.eclipse.cdt.core/schema/PathEntryContainerInitializer.exsd175
-rw-r--r--core/org.eclipse.cdt.core/schema/ProcessList.exsd166
-rw-r--r--core/org.eclipse.cdt.core/schema/RefreshExclusionFactory.exsd32
-rw-r--r--core/org.eclipse.cdt.core/schema/ScannerInfoProvider2.exsd45
-rw-r--r--core/org.eclipse.cdt.core/schema/UNCPathConverter.exsd42
-rw-r--r--core/org.eclipse.cdt.core/schema/externalSettingsProvider.exsd51
-rw-r--r--core/org.eclipse.cdt.core/schema/language.exsd10
-rw-r--r--core/org.eclipse.cdt.core/schema/projectConverter.exsd57
-rw-r--r--core/org.eclipse.cdt.core/schema/tagger.exsd10
-rw-r--r--core/org.eclipse.cdt.core/schema/templateAssociations.exsd40
-rw-r--r--core/org.eclipse.cdt.core/schema/templateProcessTypes.exsd38
-rw-r--r--core/org.eclipse.cdt.core/schema/templates.exsd477
24 files changed, 1323 insertions, 1950 deletions
diff --git a/core/org.eclipse.cdt.core/schema/BinaryParser.exsd b/core/org.eclipse.cdt.core/schema/BinaryParser.exsd
index e2697fdda10..bb91d19ae68 100644
--- a/core/org.eclipse.cdt.core/schema/BinaryParser.exsd
+++ b/core/org.eclipse.cdt.core/schema/BinaryParser.exsd
@@ -6,10 +6,9 @@
<meta.schema plugin="org.eclipse.cdt.core" id="BinaryParser" name="BinaryParser"/>
</appInfo>
<documentation>
- This extension point is used to contribute a new Binary Parser to CDT. Binary parser analyses object/executable files to display their symbols and other information to a user.
+ This extension point is used to contribute a new Binary Parser to CDT. Binary Parsers analyse object or executable files in order to display their symbols and other information to users.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -43,7 +42,6 @@
</attribute>
</complexType>
</element>
-
<element name="cextension">
<complexType>
<sequence>
@@ -52,7 +50,6 @@
</sequence>
</complexType>
</element>
-
<element name="run">
<complexType>
<attribute name="class" type="string" use="required">
@@ -67,7 +64,6 @@
</attribute>
</complexType>
</element>
-
<element name="filter">
<annotation>
<appInfo>
@@ -106,7 +102,6 @@
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -115,8 +110,6 @@
CDT 2.0
</documentation>
</annotation>
-
-
<annotation>
<appInfo>
<meta.section type="apiinfo"/>
@@ -125,8 +118,6 @@
Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.cdt.core.IBinaryParser&lt;/samp&gt; interface.
</documentation>
</annotation>
-
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -139,5 +130,4 @@ which accompanies this distribution, and is available at&lt;br/&gt;
http://www.eclipse.org/legal/epl-v10.html&lt;br/&gt;
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CBuildConsole.exsd b/core/org.eclipse.cdt.core/schema/CBuildConsole.exsd
index 217561eb74a..e98cae00a0d 100644
--- a/core/org.eclipse.cdt.core/schema/CBuildConsole.exsd
+++ b/core/org.eclipse.cdt.core/schema/CBuildConsole.exsd
@@ -1,109 +1,66 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="CBuildConsole" name="C/C++ Build Console"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="CBuildConsole" minOccurs="1" 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="CBuildConsole">
- <complexType>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- id of the build console, if not present then its the default console, (org.eclipse.cdt.ui provides the default console, so should never be specified). Builders can request a specific console via org.eclipse.cdt.core.CCorePlugin.getDefault().getConsole(String id);
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- Class which implents org.eclipse.cdt.core.resources.IConsole
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="CBuildConsole" name="C/C++ Build Console"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="CBuildConsole" minOccurs="1" 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="CBuildConsole">
+ <complexType>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ id of the build console, if not present then its the default console, (org.eclipse.cdt.ui provides the default console, so should never be specified). Builders can request a specific console via org.eclipse.cdt.core.CCorePlugin.getDefault().getConsole(String id);
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ A class which implements org.eclipse.cdt.core.resources.IConsole
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.resources.IConsole"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CConfigurationDataProvider.exsd b/core/org.eclipse.cdt.core/schema/CConfigurationDataProvider.exsd
index ab41d6c737d..87ce1eb0f5b 100644
--- a/core/org.eclipse.cdt.core/schema/CConfigurationDataProvider.exsd
+++ b/core/org.eclipse.cdt.core/schema/CConfigurationDataProvider.exsd
@@ -1,16 +1,21 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="CConfigurationDataProvider" name="CConfigurationData provider"/>
</appInfo>
<documentation>
- [Enter description of this extension point.]
+ Each time the Build Active configuration gets changed, the Project natures set gets adjusted by removing natures associated with the previously active configuration and adding natures associated with the new active configuration.
+This allows adjusting the builders used with the project, etc.
</documentation>
</annotation>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="provider"/>
@@ -41,84 +46,32 @@
</attribute>
</complexType>
</element>
-
<element name="provider">
<complexType>
<attribute name="natures" type="string">
<annotation>
<documentation>
- project nature ids associated with this provider. IDs are separated by the semicolon.
-Each time the Build Active configuration gets changed, the project natures set gets adjusted by removing natures associated with the previously active configuration and adding natures associated with the new actove configuration.
-This allows to adjust, e.g. the builders to be used with the project, etc.
+ Project nature IDs associated with this provider. IDs are separated by semicolons.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
- class implementing the org.eclipse.cdt.core.settings.model.extension.CConfigurationDataProvider
+ A class which extends org.eclipse.cdt.core.settings.model.extension.CConfigurationDataProvider
</documentation>
<appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.settings.model.extension.CConfigurationDataProvider"/>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.settings.model.extension.CConfigurationDataProvider:"/>
</appInfo>
</annotation>
</attribute>
<attribute name="conflictingNatures" type="string">
<annotation>
<documentation>
- project nature ids to be unset for this provider. IDs are separated by the semicolon.
-Each time the Build Active configuration gets changed, the project natures set gets adjusted by removing natures associated with the previously active configuration and natures conflicting for the new active configuration and adding natures associated with the new active configuration.
-
-This allows to adjust, e.g. the builders to be used with the project, etc.
+ Project nature IDs to be unset for this provider. IDs are separated by semicolons.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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/core/org.eclipse.cdt.core/schema/CExtensionGeneric.exsd b/core/org.eclipse.cdt.core/schema/CExtensionGeneric.exsd
index 866b5cba73c..104771bc18a 100644
--- a/core/org.eclipse.cdt.core/schema/CExtensionGeneric.exsd
+++ b/core/org.eclipse.cdt.core/schema/CExtensionGeneric.exsd
@@ -9,7 +9,6 @@
Generic definition of extension point used by ICConfigExtensionReference. This definition is for a family of extension points not for any specific one.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -43,7 +42,6 @@
</attribute>
</complexType>
</element>
-
<element name="cextension">
<complexType>
<sequence>
@@ -51,7 +49,6 @@
</sequence>
</complexType>
</element>
-
<element name="run">
<complexType>
<attribute name="class" type="string" use="required">
@@ -66,11 +63,6 @@
</attribute>
</complexType>
</element>
-
-
-
-
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -83,5 +75,4 @@ which accompanies this distribution, and is available at&lt;br/&gt;
http://www.eclipse.org/legal/epl-v10.html&lt;br/&gt;
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CIndex.exsd b/core/org.eclipse.cdt.core/schema/CIndex.exsd
index 67a8dc28b20..84ab5fab065 100644
--- a/core/org.eclipse.cdt.core/schema/CIndex.exsd
+++ b/core/org.eclipse.cdt.core/schema/CIndex.exsd
@@ -1,322 +1,303 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="CIndex" name="CIndex"/>
- </appInfo>
- <documentation>
- This extension point groups extensions to the index functionality in CDT
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <choice minOccurs="1" maxOccurs="unbounded">
- <element ref="ExportProjectProvider"/>
- <element ref="ReadOnlyPDOMProvider"/>
- <element ref="ReadOnlyIndexFragmentProvider"/>
- </choice>
- <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>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="ExportProjectProvider">
- <annotation>
- <documentation>
- &lt;h2&gt;ExportProjectProvider&lt;/h2&gt;
-&lt;p&gt;
-This subelement of CIndex allows contribution of alternate IExportProjectProvider implementations. These can then be referenced by fully qualified class name in the command line tool (see option -pprovider).
-&lt;p&gt;
-&lt;b&gt;Invoking the application as a headless application&lt;/b&gt;
-
-This example ant file shows how to invoke the tool headlessly, the same approach would work from a shell or batch file.
-
-&lt;pre&gt;
-&lt;project name=&quot;Generate PDOM&quot; default=&quot;generate&quot;&gt;
- &lt;target name=&quot;generate&quot;&gt;
- &lt;!-- This script shows how to invoke the default project provider (ExternalExportProjectProvider) --&gt;
- &lt;property name=&quot;pprovider&quot; value=&quot;org.eclipse.cdt.core.index.export.ExternalExportProjectProvider&quot;/&gt;
- &lt;property name=&quot;target&quot; value=&quot;C:\ExportedPDOMs\acmeSDK_2_5.pdom&quot;/&gt; &lt;!-- Where the output pdom is to go --&gt;
- &lt;property name=&quot;source&quot; value=&quot;E:\AcmeSDK\v2.5\inc&quot;/&gt; &lt;!-- e.g. the directory to source content from --&gt;
- &lt;property name=&quot;id&quot; value=&quot;com.acme.mysdk.v2.5&quot;/&gt; &lt;!-- the id to store in the generate pdom --&gt;
-
- &lt;property name=&quot;eclipse.home&quot; value=&quot;C:\eclipse&quot;/&gt; &lt;!-- e.g. The eclipse installation to use. This installation must contain CDT 4.0+ plugins --&gt;
-
- &lt;java classname=&quot;org.eclipse.equinox.launcher.Main&quot;&gt;
- &lt;classpath&gt;
- &lt;fileset dir=&quot;${eclipse.home}/plugins&quot;&gt;
- &lt;include name=&quot;*equinox.launcher*.jar&quot;/&gt;
- &lt;/fileset&gt;
- &lt;/classpath&gt;
- &lt;arg value=&quot;-nosplash&quot;/&gt;
- &lt;arg value=&quot;-exitdata&quot;/&gt;
- &lt;arg value=&quot;-application&quot;/&gt;&lt;arg value=&quot;org.eclipse.cdt.core.GeneratePDOM&quot;/&gt;
- &lt;arg value=&quot;-pprovider&quot;/&gt;&lt;arg value=&quot;${pprovider}&quot;/&gt;
- &lt;arg value=&quot;-source&quot;/&gt;&lt;arg value=&quot;${source}&quot;/&gt;
- &lt;arg value=&quot;-target&quot;/&gt;&lt;arg value=&quot;${target}&quot;/&gt;
- &lt;arg value=&quot;-id&quot;/&gt;&lt;arg value=&quot;${id}&quot;/&gt;
- &lt;/java&gt;
- &lt;/target&gt;
-&lt;/project&gt;
-&lt;/pre&gt;
-&lt;p&gt;
-&lt;b&gt;Invoking the tool via an Eclipse Launch Configuration&lt;/b&gt;
-&lt;p&gt;
-Specify &quot;org.eclipse.cdt.core.GeneratePDOM&quot; as the application to launch
-&lt;p&gt;
-In the Argument tabs provide (for example)
- -target C:\ExportedPDOMs\acmeSDK_2_5.pdom -source E:\AcmeSDK\v2.5\inc -include E:\this.h -id com.acme.mysdk.v2.5
-&lt;p&gt;
- </documentation>
- </annotation>
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the fully qualified name of the IExportProjectProvider implementation to register
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="ReadOnlyPDOMProvider">
- <annotation>
- <documentation>
- &lt;h2&gt;ReadOnlyPDOMProvider&lt;/h2&gt;
-&lt;p&gt;
-This subelement of CIndex allows ISVs to contribute read-only prebuilt PDOM files to the CDT Index. The only information needed is the fully qualified class name of an implementatin of org.eclipse.cdt.core.index.IOfflinePDOMProvider. This implementation will be consulted during the eclipse session for the appropriate read-only content to make add to the logical index. The logical index is accessible via the org.eclipse.core.index.IIndex API.
-
- An example of contributing a prebuilt read-only pdom:
-&lt;pre&gt;
-&lt;CIndex&gt;
- &lt;ReadOnlyPDOMProvider class=&quot;com.acme.ide.index.AcmeSDKProvider&quot;/&gt;
-&lt;/CIndex&gt;
-&lt;/pre&gt;
-
-and the corresponding implementation
-
-&lt;pre&gt;
-package com.acme.ide.index.sdk;
-
-import org.eclipse.core.index.provider.IReadOnlyPDOMProvider;
-import org.eclipse.core.index.provider.IPDOMDescriptor;
-import org.eclipse.core.index.IIndexLocationConverter;
-import org.eclipse.core.index.URIRelativeLocationConverter;
-
-public class AcmeSDKProvider implements IReadOnlyPDOMProvider {
- public boolean providesFor(ICProject project) {
- // e.g. decide by looking for acme project nature
- return AcmeNature.isAcmeProject(project);
- }
-
- public IPDOMDescriptor[] getDescriptors(ICConfigurationDescription config) {
- final IPath sdkBase = AcmeSDKAPI.getSDKBase(config);
- return new IPDOMDescriptor[] { new IPDOMDescriptor() {
- public IIndexLocationConverter getIndexLocationConverter() {
- return new URIRelativeLocationConverter(URIUtil.toURI(sdkBase));
- }
- public IPath getLocation() {
- IPath path = sdkBase.append(AcmeSDKAPI.getPrebuiltPDOMFilename(config));
- return path;
- }
- }};
- }
-}
-&lt;/pre&gt;
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="1">
- <element ref="FragmentProviderUsage"/>
- </sequence>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The fully qualified name of the IReadOnlyPDOMProvider implementation to register
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.index.provider.IReadOnlyPDOMProvider"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="ReadOnlyIndexFragmentProvider">
- <annotation>
- <documentation>
- &lt;h2&gt;ReadOnlyIndexFragmentProvider&lt;/h2&gt;
-&lt;p&gt;
-This subelement of CIndex allows ISVs to contribute read-only index fragments to the CDT Index. This extension point imposes no limitations on how the index information is collected and stored. The index fragments may, for example, be based on data dynamically fetched from a remote server.
-&lt;p&gt;
-The only information needed for this extension point is the fully qualified name of a class implementing the org.eclipse.cdt.core.index.IIndexFragmentProvider interface. This class will be consulted during the eclipse session for the appropriate read-only content to add to the logical index. The logical index is accessible via the org.eclipse.core.index.IIndex API.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="1">
- <element ref="FragmentProviderUsage"/>
- </sequence>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- The fully qualified name of a class implementing IIndexFragmentProvider interface.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.cdt.internal.core.index.provider.IIndexFragmentProvider"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="FragmentProviderUsage">
- <annotation>
- <documentation>
- Defines for which tools the fragment provider shall be used.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="navigation" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for performing &apos;Open Declaration&apos; and &apos;Open Element&apos;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="content_assist" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for performing content-assist.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="add_import" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for performing &apos;Add Import&apos;.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="call_hierarchy" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for populating the call hierarchy.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="type_hierarchy" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for populating the type hierarchy.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="include_browser" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for populating the include browser.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="search" type="boolean" use="required">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for C/C++ searches.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="editor" type="boolean" use="optional">
- <annotation>
- <documentation>
- Whether the fragment provider shall be used for C/C++ editor.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Index content provided by ISVs under this extension point will be accessible via the logical index org.eclipse.core.index.IIndex API
-
-For export functionality, see package org.eclipse.cdt.core.index.export
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 4.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- See subelement documentation
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- See subelement documentation
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2007, 2011 Symbian Software Systems and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="CIndex" name="CIndex"/>
+ </appInfo>
+ <documentation>
+ This extension point groups extensions to the index functionality in CDT
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <choice minOccurs="1" maxOccurs="unbounded">
+ <element ref="ExportProjectProvider"/>
+ <element ref="ReadOnlyPDOMProvider"/>
+ <element ref="ReadOnlyIndexFragmentProvider"/>
+ </choice>
+ <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>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="ExportProjectProvider">
+ <annotation>
+ <documentation>
+ &lt;h2&gt;ExportProjectProvider&lt;/h2&gt;
+&lt;p&gt;
+This subelement of CIndex allows contribution of alternate IExportProjectProvider implementations. These can then be referenced by fully qualified class name in the command line tool (see option -pprovider).
+&lt;p&gt;
+&lt;b&gt;Invoking the application as a headless application&lt;/b&gt;
+This example ant file shows how to invoke the tool headlessly, the same approach would work from a shell or batch file.
+&lt;pre&gt;
+&lt;project name=&quot;Generate PDOM&quot; default=&quot;generate&quot;&gt;
+ &lt;target name=&quot;generate&quot;&gt;
+ &lt;!-- This script shows how to invoke the default project provider (ExternalExportProjectProvider) --&gt;
+ &lt;property name=&quot;pprovider&quot; value=&quot;org.eclipse.cdt.core.index.export.ExternalExportProjectProvider&quot;/&gt;
+ &lt;property name=&quot;target&quot; value=&quot;C:\ExportedPDOMs\acmeSDK_2_5.pdom&quot;/&gt; &lt;!-- Where the output pdom is to go --&gt;
+ &lt;property name=&quot;source&quot; value=&quot;E:\AcmeSDK\v2.5\inc&quot;/&gt; &lt;!-- e.g. the directory to source content from --&gt;
+ &lt;property name=&quot;id&quot; value=&quot;com.acme.mysdk.v2.5&quot;/&gt; &lt;!-- the id to store in the generate pdom --&gt;
+
+ &lt;property name=&quot;eclipse.home&quot; value=&quot;C:\eclipse&quot;/&gt; &lt;!-- e.g. The eclipse installation to use. This installation must contain CDT 4.0+ plugins --&gt;
+
+ &lt;java classname=&quot;org.eclipse.equinox.launcher.Main&quot;&gt;
+ &lt;classpath&gt;
+ &lt;fileset dir=&quot;${eclipse.home}/plugins&quot;&gt;
+ &lt;include name=&quot;*equinox.launcher*.jar&quot;/&gt;
+ &lt;/fileset&gt;
+ &lt;/classpath&gt;
+ &lt;arg value=&quot;-nosplash&quot;/&gt;
+ &lt;arg value=&quot;-exitdata&quot;/&gt;
+ &lt;arg value=&quot;-application&quot;/&gt;&lt;arg value=&quot;org.eclipse.cdt.core.GeneratePDOM&quot;/&gt;
+ &lt;arg value=&quot;-pprovider&quot;/&gt;&lt;arg value=&quot;${pprovider}&quot;/&gt;
+ &lt;arg value=&quot;-source&quot;/&gt;&lt;arg value=&quot;${source}&quot;/&gt;
+ &lt;arg value=&quot;-target&quot;/&gt;&lt;arg value=&quot;${target}&quot;/&gt;
+ &lt;arg value=&quot;-id&quot;/&gt;&lt;arg value=&quot;${id}&quot;/&gt;
+ &lt;/java&gt;
+ &lt;/target&gt;
+&lt;/project&gt;
+&lt;/pre&gt;
+&lt;p&gt;
+&lt;b&gt;Invoking the tool via an Eclipse Launch Configuration&lt;/b&gt;
+&lt;p&gt;
+Specify &quot;org.eclipse.cdt.core.GeneratePDOM&quot; as the application to launch
+&lt;p&gt;
+In the Argument tabs provide (for example)
+ -target C:\ExportedPDOMs\acmeSDK_2_5.pdom -source E:\AcmeSDK\v2.5\inc -include E:\this.h -id com.acme.mysdk.v2.5
+&lt;p&gt;
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified name of the IExportProjectProvider implementation to register.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.index.export.IExportProjectProvider"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="ReadOnlyPDOMProvider">
+ <annotation>
+ <documentation>
+ &lt;h2&gt;ReadOnlyPDOMProvider&lt;/h2&gt;
+&lt;p&gt;
+This subelement of CIndex allows ISVs to contribute read-only prebuilt PDOM files to the CDT Index. The only information needed is the fully qualified class name of an implementatin of org.eclipse.cdt.core.index.IOfflinePDOMProvider. This implementation will be consulted during the eclipse session for the appropriate read-only content to make add to the logical index. The logical index is accessible via the org.eclipse.core.index.IIndex API.
+
+ An example of contributing a prebuilt read-only pdom:
+&lt;pre&gt;
+&lt;CIndex&gt;
+ &lt;ReadOnlyPDOMProvider class=&quot;com.acme.ide.index.AcmeSDKProvider&quot;/&gt;
+&lt;/CIndex&gt;
+&lt;/pre&gt;
+and the corresponding implementation
+&lt;pre&gt;
+package com.acme.ide.index.sdk;
+import org.eclipse.core.index.provider.IReadOnlyPDOMProvider;
+import org.eclipse.core.index.provider.IPDOMDescriptor;
+import org.eclipse.core.index.IIndexLocationConverter;
+import org.eclipse.core.index.URIRelativeLocationConverter;
+public class AcmeSDKProvider implements IReadOnlyPDOMProvider {
+ public boolean providesFor(ICProject project) {
+ // e.g. decide by looking for acme project nature
+ return AcmeNature.isAcmeProject(project);
+ }
+ public IPDOMDescriptor[] getDescriptors(ICConfigurationDescription config) {
+ final IPath sdkBase = AcmeSDKAPI.getSDKBase(config);
+ return new IPDOMDescriptor[] { new IPDOMDescriptor() {
+ public IIndexLocationConverter getIndexLocationConverter() {
+ return new URIRelativeLocationConverter(URIUtil.toURI(sdkBase));
+ }
+ public IPath getLocation() {
+ IPath path = sdkBase.append(AcmeSDKAPI.getPrebuiltPDOMFilename(config));
+ return path;
+ }
+ }};
+ }
+}
+&lt;/pre&gt;
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="1">
+ <element ref="FragmentProviderUsage"/>
+ </sequence>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified name of the IReadOnlyPDOMProvider implementation to register.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.index.provider.IReadOnlyPDOMProvider"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="ReadOnlyIndexFragmentProvider">
+ <annotation>
+ <documentation>
+ &lt;h2&gt;ReadOnlyIndexFragmentProvider&lt;/h2&gt;
+&lt;p&gt;
+This subelement of CIndex allows ISVs to contribute read-only index fragments to the CDT Index. This extension point imposes no limitations on how the index information is collected and stored. The index fragments may, for example, be based on data dynamically fetched from a remote server.
+&lt;p&gt;
+The only information needed for this extension point is the fully qualified name of a class implementing the org.eclipse.cdt.core.index.IIndexFragmentProvider interface. This class will be consulted during the eclipse session for the appropriate read-only content to add to the logical index. The logical index is accessible via the org.eclipse.core.index.IIndex API.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="1">
+ <element ref="FragmentProviderUsage"/>
+ </sequence>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified name of a class implementing IIndexFragmentProvider.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.internal.core.index.provider.IIndexFragmentProvider"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="FragmentProviderUsage">
+ <annotation>
+ <documentation>
+ Defines for which tools the fragment provider shall be used.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="navigation" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for performing &apos;Open Declaration&apos; and &apos;Open Element&apos;.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="content_assist" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for performing content-assist.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="add_import" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for performing &apos;Add Import&apos;.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="call_hierarchy" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for populating the call hierarchy.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="type_hierarchy" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for populating the type hierarchy.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="include_browser" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for populating the include browser.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="search" type="boolean" use="required">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for C/C++ searches.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="editor" type="boolean">
+ <annotation>
+ <documentation>
+ Whether the fragment provider shall be used for C/C++ editor.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 4.0
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ See subelement documentation
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ See subelement documentation
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2007, 2011 Symbian Software Systems and others.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ Index content provided by ISVs under this extension point will be accessible via the logical index org.eclipse.core.index.IIndex API
+For export functionality, see package org.eclipse.cdt.core.index.export
+ </documentation>
+ </annotation>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CIndexer.exsd b/core/org.eclipse.cdt.core/schema/CIndexer.exsd
index eb1304c2def..fe2be7f4dce 100644
--- a/core/org.eclipse.cdt.core/schema/CIndexer.exsd
+++ b/core/org.eclipse.cdt.core/schema/CIndexer.exsd
@@ -1,102 +1,75 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="CDTIndexer" name="CDT Indexer"/>
- </appInfo>
- <documentation>
- This extension point is used to contribute a new Indexer to the CDT. This indexer can choose to receive event notification from the index manager.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="run"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="run">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.dom.IPDOMIndexer"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- CDT 3.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.cdt.core.index.IIndexer&lt;/samp&gt; interface.
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="CDTIndexer" name="CDT Indexer"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to contribute a new Indexer to the CDT. This indexer can choose to receive event notification from the index manager.
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="run"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="run">
+ <complexType>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.dom.IPDOMIndexer"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.cdt.core.index.IIndexer&lt;/samp&gt; interface.
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ CDT 3.0
+ </documentation>
+ </annotation>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CProject.exsd b/core/org.eclipse.cdt.core/schema/CProject.exsd
index d8d0cce7d9e..b54da506e9c 100644
--- a/core/org.eclipse.cdt.core/schema/CProject.exsd
+++ b/core/org.eclipse.cdt.core/schema/CProject.exsd
@@ -1,107 +1,73 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="CProject" name="C/C++ Project Description"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="cproject"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="cproject">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- Class which implements org.eclipse.cdt.core.ICOwner
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="natureID" type="string">
- <annotation>
- <documentation>
- This is a nature ID which the owner has. This is used to restore a ICDescriptor which has been deleted. If this is not provided the descriptor will be restore with no owner. A project with multiple natures will use the first matching nature searched in the reverse order in the Project Description.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="platform" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="CProject" name="C/C++ Project Description"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="cproject"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="cproject">
+ <complexType>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ Class which implements org.eclipse.cdt.core.ICOwner
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.ICOwner"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="natureID" type="string">
+ <annotation>
+ <documentation>
+ This is a nature ID which the owner has. This is used to restore a ICDescriptor which has been deleted. If this is not provided the descriptor will be restored without an owner. A project with multiple natures will use the first matching nature searched in the reverse order in the Project Description.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="platform" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CProjectDescriptionStorage.exsd b/core/org.eclipse.cdt.core/schema/CProjectDescriptionStorage.exsd
index fbf9952a7c8..0d0a1f1ea7d 100644
--- a/core/org.eclipse.cdt.core/schema/CProjectDescriptionStorage.exsd
+++ b/core/org.eclipse.cdt.core/schema/CProjectDescriptionStorage.exsd
@@ -2,19 +2,18 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
- <appinfo>
+ <appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="CProjectDescriptionStorage" name="%CProjectDescription.name"/>
- </appinfo>
+ </appInfo>
<documentation>
This extension point allows contributors to provide their own implementation of the CProjectDescriptionStorage backing store.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
- <appinfo>
+ <appInfo>
<meta.element internal="true" />
- </appinfo>
+ </appInfo>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
@@ -39,14 +38,13 @@
<documentation>
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
-
<element name="CProjectStorageType">
<annotation>
<documentation>
@@ -59,9 +57,9 @@
<documentation>
A factory class that implements ICProjectDescriptionStorageType to create AbstractCProjectDescriptionStorages for given IProjects
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.internal.core.settings.model.ICProjectDescriptionStorageType"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
<attribute name="id" type="string" use="required">
@@ -69,6 +67,9 @@
<documentation>
Id of this particular project description storage type
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
@@ -100,41 +101,27 @@ This String value must be compatible with org.eclipse.osgi.framework.version
<documentation>
Human readable name of this project description type
</documentation>
- <appinfo>
+ <appInfo>
<meta.attribute translatable="true"/>
- </appinfo>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
-
<annotation>
- <appinfo>
+ <appInfo>
<meta.section type="since"/>
- </appinfo>
+ </appInfo>
<documentation>
6.0
</documentation>
</annotation>
-
-
<annotation>
- <appinfo>
- <meta.section type="apiinfo"/>
- </appinfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
+ <appInfo>
<meta.section type="implementation"/>
- </appinfo>
+ </appInfo>
<documentation>
See the example XmlProjectDescriptionStorage &amp; XmlProjectDescriptionStorage2 in this plugin
</documentation>
</annotation>
-
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/CodeFormatter.exsd b/core/org.eclipse.cdt.core/schema/CodeFormatter.exsd
index 3886794bb89..6fcee028a10 100644
--- a/core/org.eclipse.cdt.core/schema/CodeFormatter.exsd
+++ b/core/org.eclipse.cdt.core/schema/CodeFormatter.exsd
@@ -1,116 +1,79 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="CodeFormatter" name="Code Formatter"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="codeFormatter" minOccurs="1" 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="codeFormatter">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- A unique name that will be used to reference this code formatter
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- A translatable name that will be used for presenting this formatter in the UI.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- a fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.cdt.core.formatter.CodeFormatter&lt;/samp&gt; abstract class.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.formatter.CodeFormatter"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="CodeFormatter" name="Code Formatter"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="codeFormatter" minOccurs="1" 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="codeFormatter">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ A unique name that will be used to reference this code formatter
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ A translatable name that will be used for presenting this formatter in the UI.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ A fully qualified name of the Java class that extends the &lt;samp&gt;org.eclipse.cdt.core.formatter.CodeFormatter&lt;/samp&gt; abstract class.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.formatter.CodeFormatter"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/EFSExtensionProvider.exsd b/core/org.eclipse.cdt.core/schema/EFSExtensionProvider.exsd
index 0107d4bd39c..7d641dca34a 100644
--- a/core/org.eclipse.cdt.core/schema/EFSExtensionProvider.exsd
+++ b/core/org.eclipse.cdt.core/schema/EFSExtensionProvider.exsd
@@ -9,34 +9,6 @@
This extension point allows one to contribute a class that provides supplementary support for an EFS filesystem in the form of a provider of a set of utility methods. In particular, the class can extract meaningful information from the filesystem and its resources, and provide useful operations relating to such resources.
</documentation>
</annotation>
-
- <element name="EFSExtensionProvider">
- <annotation>
- <documentation>
- An instance of an EFS Extension Provider. EFS Extension Providers are mapped to a URI scheme corresponding to an EFS filesystem for which they provide support. These extensions are consulted by CDT in order to extract path information from the filesystem and manipulate filesystem resources.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="scheme" type="string" use="required">
- <annotation>
- <documentation>
- The URI scheme of an EFS filesystem this utility provides support for.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- Java class which extends from org.eclipse.cdt.core.EFSFileSystemSupplementarySupportProvider to provide support for the filesystem.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.EFSExtensionProvider:"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
<element name="extension">
<annotation>
<appInfo>
@@ -73,7 +45,32 @@
</attribute>
</complexType>
</element>
-
+ <element name="EFSExtensionProvider">
+ <annotation>
+ <documentation>
+ An instance of an EFS Extension Provider. EFS Extension Providers are mapped to a URI scheme corresponding to an EFS filesystem for which they provide support. These extensions are consulted by CDT in order to extract path information from the filesystem and manipulate filesystem resources.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="scheme" type="string" use="required">
+ <annotation>
+ <documentation>
+ The URI scheme of an EFS filesystem this utility provides support for.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ Java class which extends from org.eclipse.cdt.core.EFSFileSystemSupplementarySupportProvider to provide support for the filesystem.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.EFSExtensionProvider:"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -82,17 +79,6 @@
5.2
</documentation>
</annotation>
-
-
- <annotation>
- <appInfo>
- <meta.section type="apiinfo"/>
- </appInfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="implementation"/>
@@ -101,6 +87,4 @@
A default implementation is supplied by org.eclipse.cdt.core.EFSFileSystemUtilityProvider that assumes that URIs for the given filesystem map directly to resources in the physical filesystem, and that the path component of the URI is a direct representation of the absolute path to the file in the physical filesystem. Clients can extend this implementation and override its behaviour as needed.
</documentation>
</annotation>
-
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/ErrorParser.exsd b/core/org.eclipse.cdt.core/schema/ErrorParser.exsd
index 5067911232e..ff1e0e837dd 100644
--- a/core/org.eclipse.cdt.core/schema/ErrorParser.exsd
+++ b/core/org.eclipse.cdt.core/schema/ErrorParser.exsd
@@ -9,7 +9,6 @@
This extension point is used to contribute a new Error Parser. A Error Parser is used to parse errors/warnings/info from build output and populate Problems View with them.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -43,7 +42,6 @@
</attribute>
</complexType>
</element>
-
<element name="errorparser">
<complexType>
<sequence>
@@ -55,6 +53,9 @@
<documentation>
ID of the error parser. If attribute is missing error parser ID is constructed appending Simple ID of extension to plugin ID.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="name" type="string">
@@ -62,12 +63,15 @@
<documentation>
Name of the error parser. If this attribute is missing extension name is taken.
</documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="default" value="org.eclipse.cdt.core.errorparsers.RegexErrorParser">
<annotation>
<documentation>
- a fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.cdt.core.IErrorParser&lt;/samp&gt; interface.
+ a fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.cdt.core.IErrorParser&lt;/samp&gt;
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.core.errorparsers.IErrorParser"/>
@@ -76,7 +80,6 @@
</attribute>
</complexType>
</element>
-
<element name="pattern">
<annotation>
<documentation>
@@ -87,7 +90,7 @@
<attribute name="severity" use="required">
<annotation>
<documentation>
- Attribute &quot;severity&quot; specifies which severity should be used to display the marker in Problems View. There are 3 levels of severity, &quot;Error&quot;, &quot;Warning&quot; and &quot;Info&quot;. &quot;Ignore&quot; lets stop evaluating the line by the rest of patterns without showing up in Problems View.
+ This attribute specifies which severity should be used to display the marker in Problems View. There are 3 levels of severity, &quot;Error&quot;, &quot;Warning&quot; and &quot;Info&quot;. The forth option, &quot;Ignore&quot; tells the system to stop checking the line against the other patterns without causing it to show up in the Problems View.
</documentation>
</annotation>
<simpleType>
@@ -106,7 +109,7 @@
<attribute name="regex" type="string" use="default" value="(.*)">
<annotation>
<documentation>
- Java regular expression to define capturing groups for file-expr, line-expr and description-expr.
+ Java regular expression which defines capturing groups for file-expr, line-expr and description-expr.
</documentation>
</annotation>
</attribute>
@@ -141,20 +144,17 @@
<attribute name="eat-processed-line" type="boolean" use="required">
<annotation>
<documentation>
- The attribute defines if a line matched by the pattern is prevented or allowed to be processed by the rest of patterns. &quot;No&quot; allows several patterns to evaluate one line.
+ The attribute defines if a line matched by the pattern is prevented or allowed to be processed by the rest of the patterns. &quot;false&quot; allows several patterns to evaluate the same line.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
<element name="context">
<annotation>
<documentation>
- Use this element to specify the context where an error parser can be used. If none is specified, a default context type will be &quot;build&quot;.
-
-An example of context type is &quot;build&quot;. Only error parsers in this context are used to parse build output. You can see these error parsers in the &quot;C/C++&quot; &gt; &quot;Build&quot; &gt; &quot;Settings&quot; preference page.
-
+ Use this element to specify the context where an error parser can be used. If none is specified, the default context type will be &quot;build&quot;.
+An example of a context type is &quot;build&quot;. Only error parsers in this context are used to parse build output. You can see these error parsers in the &quot;C/C++&quot; &gt; &quot;Build&quot; &gt; &quot;Settings&quot; preference page.
An error parser can be assigned to more than one context type. Clients contributing error parsers are free to define their own context types.
</documentation>
</annotation>
@@ -168,7 +168,6 @@ An error parser can be assigned to more than one context type. Clients contribut
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -177,14 +176,12 @@ An error parser can be assigned to more than one context type. Clients contribut
CDT 1.2
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
- &lt;br/&gt;
-package org.eclipse.cdt.example.errorparser;&lt;br/&gt;
+ package org.eclipse.cdt.example.errorparser;&lt;br/&gt;
&lt;br/&gt;
import org.eclipse.cdt.core.IMarkerGenerator;&lt;br/&gt;
import org.eclipse.cdt.core.errorparsers.AbstractErrorParser;&lt;br/&gt;
@@ -209,7 +206,6 @@ public class SampleErrorParser extends AbstractErrorParser {&lt;br/&gt;
}&lt;br/&gt;
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="apiinfo"/>
@@ -223,7 +219,6 @@ Another good choice is to extend &lt;samp&gt;org.eclipse.cdt.core.errorparsers.A
ErrorParsers dealing with multi-line messages should implement &lt;samp&gt;org.eclipse.cdt.core.IErrorParser2&lt;/samp&gt; interface.
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="implementation"/>
@@ -232,7 +227,6 @@ ErrorParsers dealing with multi-line messages should implement &lt;samp&gt;org.e
For another example of implementation see org.eclipse.cdt.internal.errorparsers.GCCErrorParser
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -245,5 +239,4 @@ which accompanies this distribution, and is available at&lt;br/&gt;
http://www.eclipse.org/legal/epl-v10.html&lt;br/&gt;
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/LanguageSettingsProvider.exsd b/core/org.eclipse.cdt.core/schema/LanguageSettingsProvider.exsd
index 692e5d9098d..ab7adac15c2 100644
--- a/core/org.eclipse.cdt.core/schema/LanguageSettingsProvider.exsd
+++ b/core/org.eclipse.cdt.core/schema/LanguageSettingsProvider.exsd
@@ -1,280 +1,258 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="LanguageSettingsProvider" name="LanguageSettingsProvider"/>
- </appInfo>
- <documentation>
- This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- <documentation>
- This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="1" maxOccurs="unbounded">
- <element ref="provider"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- ID of the extension point, not used
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- Name of the extension point, not used
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="provider">
- <annotation>
- <documentation>
- The definition of a language settings provider.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="language-scope" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="entry" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="class" type="string">
- <annotation>
- <documentation>
- A fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers&lt;/samp&gt; interface. If empty, &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider&lt;/samp&gt; is used by default which provides basic functionality defined by this extension point.&lt;br&gt;
-In case the provider ever needs to be non-shared, set per project/configuration, or editable in UI - the provider must implement &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsEditableProvider&lt;/samp&gt;. There is a generic implementation &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider&lt;/samp&gt; that can be used in most cases.&lt;br&gt;
-If there is a need to configure a provider in more deliberate way, attribute &lt;samp&gt;parameter&lt;/samp&gt; could be used in a class extending &lt;samp&gt;LanguageSettingsBaseProvider&lt;/samp&gt;.&lt;br&gt;
-Default constructor (constructor without arguments) of this class must be public and the package be exported in order to be able to instantiate via extension point.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider:org.eclipse.cdt.core.settings.model.ILanguageSettingsProvider"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- Unique ID of the provider.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- Name of the provider. This name will be presented to a user in UI.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="parameter" type="string">
- <annotation>
- <documentation>
- A custom parameter to initialize provider. For example, used to deliver command for GCCBuiltinSpecsDetector.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="prefer-non-shared" type="boolean" use="default" value="false">
- <annotation>
- <documentation>
- A flag indicating that the provider should be owned by a configuration rather than be global in workspace and shared between projects (when the choice has not been indicated yet by other means). This preference is consulted in order to initially set the &quot;shared&quot; attribute, for example when a user adds a provider from the list of extension providers.
-The value &quot;true&quot; of this attribute is meaningful only for providers capable of being non-shared, i.e. providers extending ILanguageSettingsEditableProvider.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="language-scope">
- <annotation>
- <documentation>
- The definition of language scope. Includes the list of language ID this provider is applicable to. If a language scope is not present, the provider will provide for any language.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- ID of the language for which this provider provides the entries. As an example, those are languages contributed by CDT (see extension org.eclipse.cdt.core.language):
-&lt;p&gt;- &quot;&lt;samp&gt;org.eclipse.cdt.core.gcc&lt;/samp&gt;&quot; for C,&lt;/p&gt;
-&lt;p&gt;- &quot;&lt;samp&gt;org.eclipse.cdt.core.g++&lt;/samp&gt;&quot; for C++.&lt;/p&gt;
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="entry">
- <annotation>
- <documentation>
- The Language Settings Entries used to provide additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="flag" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="kind" use="required">
- <annotation>
- <documentation>
- Kind of language settings entry which maps to compiler options. For example, following mapping is used for gcc options:
-
-&lt;br&gt;&quot;&lt;samp&gt;-I&lt;/samp&gt;&quot; : includePath
-&lt;br&gt;&quot;&lt;samp&gt;-D&lt;/samp&gt;&quot; : macro
-&lt;br&gt;&quot;&lt;samp&gt;-include&lt;/samp&gt;&quot; : includeFile
-&lt;br&gt;&quot;&lt;samp&gt;-L&lt;/samp&gt;&quot; : libraryPath
-&lt;br&gt;&quot;&lt;samp&gt;-l&lt;/samp&gt;&quot; : libraryFile
-&lt;br&gt;&quot;&lt;samp&gt;-imacros&lt;/samp&gt;&quot; : macroFile
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="includePath">
- </enumeration>
- <enumeration value="macro">
- </enumeration>
- <enumeration value="includeFile">
- </enumeration>
- <enumeration value="libraryPath">
- </enumeration>
- <enumeration value="libraryFile">
- </enumeration>
- <enumeration value="macroFile">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- &quot;name&quot; attribute maps to path for the entries representing a path to a folder or file and to name for &lt;samp&gt;macro&lt;/samp&gt; kind representing name-value pair. For example:
-&lt;br&gt;&quot;&lt;samp&gt;/usr/include/&lt;/samp&gt;&quot;
-&lt;br&gt;&quot;&lt;samp&gt;MACRO&lt;/samp&gt;&quot; (for &lt;samp&gt;#define MACRO value&lt;/samp&gt;)
-&lt;br&gt;Note that relative paths are treated as rooted in build working directory (when applicable).
- </documentation>
- </annotation>
- </attribute>
- <attribute name="value" type="string">
- <annotation>
- <documentation>
- &quot;value&quot; attribute is used for &lt;samp&gt;macro&lt;/samp&gt; kind representing name-value pair only. It is not used for the entries representing a path. For example:
-&lt;br&gt;&quot;&lt;samp&gt;value&lt;/samp&gt;&quot; (for &lt;samp&gt;#define MACRO value&lt;/samp&gt;)
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="flag">
- <annotation>
- <documentation>
- Combination of flags for the entry.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="value" use="required">
- <annotation>
- <documentation>
- A value of the flag. Corresponds to &lt;samp&gt;ICSettingEntry&lt;/samp&gt; flags, see JavaDoc there for more details. Here is an excerpt from the Javadoc for the flags intended to be used with this extension point (the others might be not supported):
- &lt;br&gt;- &lt;samp&gt;BUILTIN&lt;/samp&gt; : Indicates settings built in a tool (compiler) itself. That kind of settings are not passed as options to a compiler but indexer or other clients might need them.
- &lt;br&gt;- &lt;samp&gt;LOCAL&lt;/samp&gt; : Applicable for &lt;samp&gt;includePath&lt;/samp&gt; only which could be local (#include &quot;...&quot;) or system (#include &lt;...&gt;). If an &lt;samp&gt;includePath&lt;/samp&gt; is not marked as &lt;samp&gt;LOCAL&lt;/samp&gt; it is treated as system.
- &lt;br&gt;- &lt;samp&gt;RESOLVED&lt;/samp&gt; : Indicates that the entries do not need to be resolved such as expansion of environment variables, normalizing the path against build working directory etc.
- &lt;br&gt;- &lt;samp&gt;VALUE_WORKSPACE_PATH&lt;/samp&gt; : is used to indicate that the entry is a resource managed by eclipse in the workspace. The path is rooted in the workspace root.
- &lt;br&gt;- &lt;samp&gt;UNDEFINED&lt;/samp&gt; : indicates that the entry should not be defined, corresponds to &lt;samp&gt;-U&lt;/samp&gt; option of gcc compiler. If this flag is defined it will negate entries with the same name (and kind) for all providers down the list.
- &lt;br&gt;- &lt;samp&gt;EXPORTED&lt;/samp&gt; : indicates that the entry is exported to referencing projects. It will be passed to the projects configurations referencing the configuration the entry belongs to.
- </documentation>
- </annotation>
- <simpleType>
- <restriction base="string">
- <enumeration value="BUILTIN">
- </enumeration>
- <enumeration value="LOCAL">
- </enumeration>
- <enumeration value="RESOLVED">
- </enumeration>
- <enumeration value="VALUE_WORKSPACE_PATH">
- </enumeration>
- <enumeration value="UNDEFINED">
- </enumeration>
- <enumeration value="EXPORTED">
- </enumeration>
- </restriction>
- </simpleType>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- CDT 8.1
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiinfo"/>
- </appInfo>
- <documentation>
- Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsProvider&lt;/samp&gt; interface.
-&lt;br/&gt;
-For those cases where contributed settings entries (representing the compiler options) are not changed dynamically it is sufficient to configure existing class LanguageSettingsBaseProvider which is provided by default.
-&lt;br/&gt;
- </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>
- Copyright (c) 2009, 2013 Andrew Gvozdev and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="LanguageSettingsProvider" name="LanguageSettingsProvider"/>
+ </appInfo>
+ <documentation>
+ This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ <documentation>
+ This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element ref="provider"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ ID of the extension point, not used
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ Name of the extension point, not used
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="provider">
+ <annotation>
+ <documentation>
+ The definition of a language settings provider.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="language-scope" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="entry" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="class" type="string">
+ <annotation>
+ <documentation>
+ A fully qualified name of the Java class that implements &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers&lt;/samp&gt; interface. If empty, &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider&lt;/samp&gt; is used by default which provides basic functionality defined by this extension point.&lt;br&gt;
+In case the provider ever needs to be non-shared, set per project/configuration, or editable in UI - the provider must implement &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsEditableProvider&lt;/samp&gt;. There is a generic implementation &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider&lt;/samp&gt; that can be used in most cases.&lt;br&gt;
+If there is a need to configure a provider in more deliberate way, attribute &lt;samp&gt;parameter&lt;/samp&gt; could be used in a class extending &lt;samp&gt;LanguageSettingsBaseProvider&lt;/samp&gt;.&lt;br&gt;
+Default constructor (constructor without arguments) of this class must be public and the package be exported in order to be able to instantiate via extension point.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.language.settings.providers.LanguageSettingsBaseProvider:org.eclipse.cdt.core.settings.model.ILanguageSettingsProvider"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ Unique ID of the provider.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ Name of the provider. This name will be presented to a user in UI.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="parameter" type="string">
+ <annotation>
+ <documentation>
+ A custom parameter to initialize provider. For example, used to deliver command for GCCBuiltinSpecsDetector.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="prefer-non-shared" type="boolean" use="default" value="false">
+ <annotation>
+ <documentation>
+ A flag indicating that the provider should be owned by a configuration rather than be global in workspace and shared between projects (when the choice has not been indicated yet by other means). This preference is consulted in order to initially set the &quot;shared&quot; attribute, for example when a user adds a provider from the list of extension providers.
+The value &quot;true&quot; of this attribute is meaningful only for providers capable of being non-shared, i.e. providers extending ILanguageSettingsEditableProvider.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="language-scope">
+ <annotation>
+ <documentation>
+ The definition of language scope. Includes the list of language ID this provider is applicable to. If a language scope is not present, the provider will provide for any language.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ ID of the language for which this provider provides the entries. As an example, those are languages contributed by CDT (see extension org.eclipse.cdt.core.language):
+&lt;p&gt;- &quot;&lt;samp&gt;org.eclipse.cdt.core.gcc&lt;/samp&gt;&quot; for C,&lt;/p&gt;
+&lt;p&gt;- &quot;&lt;samp&gt;org.eclipse.cdt.core.g++&lt;/samp&gt;&quot; for C++.&lt;/p&gt;
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="entry">
+ <annotation>
+ <documentation>
+ The Language Settings Entries used to provide additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="flag" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="kind" use="required">
+ <annotation>
+ <documentation>
+ Kind of language settings entry which maps to compiler options. For example, following mapping is used for gcc options:
+&lt;br&gt;&quot;&lt;samp&gt;-I&lt;/samp&gt;&quot; : includePath
+&lt;br&gt;&quot;&lt;samp&gt;-D&lt;/samp&gt;&quot; : macro
+&lt;br&gt;&quot;&lt;samp&gt;-include&lt;/samp&gt;&quot; : includeFile
+&lt;br&gt;&quot;&lt;samp&gt;-L&lt;/samp&gt;&quot; : libraryPath
+&lt;br&gt;&quot;&lt;samp&gt;-l&lt;/samp&gt;&quot; : libraryFile
+&lt;br&gt;&quot;&lt;samp&gt;-imacros&lt;/samp&gt;&quot; : macroFile
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="includePath">
+ </enumeration>
+ <enumeration value="macro">
+ </enumeration>
+ <enumeration value="includeFile">
+ </enumeration>
+ <enumeration value="libraryPath">
+ </enumeration>
+ <enumeration value="libraryFile">
+ </enumeration>
+ <enumeration value="macroFile">
+ </enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ &quot;name&quot; attribute maps to path for the entries representing a path to a folder or file and to name for &lt;samp&gt;macro&lt;/samp&gt; kind representing name-value pair. For example:
+&lt;br&gt;&quot;&lt;samp&gt;/usr/include/&lt;/samp&gt;&quot;
+&lt;br&gt;&quot;&lt;samp&gt;MACRO&lt;/samp&gt;&quot; (for &lt;samp&gt;#define MACRO value&lt;/samp&gt;)
+&lt;br&gt;Note that relative paths are treated as rooted in build working directory (when applicable).
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="value" type="string">
+ <annotation>
+ <documentation>
+ &quot;value&quot; attribute is used for &lt;samp&gt;macro&lt;/samp&gt; kind representing name-value pair only. It is not used for the entries representing a path. For example:
+&lt;br&gt;&quot;&lt;samp&gt;value&lt;/samp&gt;&quot; (for &lt;samp&gt;#define MACRO value&lt;/samp&gt;)
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="flag">
+ <annotation>
+ <documentation>
+ Combination of flags for the entry.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="value" use="required">
+ <annotation>
+ <documentation>
+ A value of the flag. Corresponds to &lt;samp&gt;ICSettingEntry&lt;/samp&gt; flags, see JavaDoc there for more details. Here is an excerpt from the Javadoc for the flags intended to be used with this extension point (the others might be not supported):
+ &lt;br&gt;- &lt;samp&gt;BUILTIN&lt;/samp&gt; : Indicates settings built in a tool (compiler) itself. That kind of settings are not passed as options to a compiler but indexer or other clients might need them.
+ &lt;br&gt;- &lt;samp&gt;LOCAL&lt;/samp&gt; : Applicable for &lt;samp&gt;includePath&lt;/samp&gt; only which could be local (#include &quot;...&quot;) or system (#include &lt;...&gt;). If an &lt;samp&gt;includePath&lt;/samp&gt; is not marked as &lt;samp&gt;LOCAL&lt;/samp&gt; it is treated as system.
+ &lt;br&gt;- &lt;samp&gt;RESOLVED&lt;/samp&gt; : Indicates that the entries do not need to be resolved such as expansion of environment variables, normalizing the path against build working directory etc.
+ &lt;br&gt;- &lt;samp&gt;VALUE_WORKSPACE_PATH&lt;/samp&gt; : is used to indicate that the entry is a resource managed by eclipse in the workspace. The path is rooted in the workspace root.
+ &lt;br&gt;- &lt;samp&gt;UNDEFINED&lt;/samp&gt; : indicates that the entry should not be defined, corresponds to &lt;samp&gt;-U&lt;/samp&gt; option of gcc compiler. If this flag is defined it will negate entries with the same name (and kind) for all providers down the list.
+ &lt;br&gt;- &lt;samp&gt;EXPORTED&lt;/samp&gt; : indicates that the entry is exported to referencing projects. It will be passed to the projects configurations referencing the configuration the entry belongs to.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="BUILTIN">
+ </enumeration>
+ <enumeration value="LOCAL">
+ </enumeration>
+ <enumeration value="RESOLVED">
+ </enumeration>
+ <enumeration value="VALUE_WORKSPACE_PATH">
+ </enumeration>
+ <enumeration value="UNDEFINED">
+ </enumeration>
+ <enumeration value="EXPORTED">
+ </enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </complexType>
+ </element>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ CDT 8.1
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="apiinfo"/>
+ </appInfo>
+ <documentation>
+ Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsProvider&lt;/samp&gt; interface.
+&lt;br/&gt;
+For those cases where contributed settings entries (representing the compiler options) are not changed dynamically it is sufficient to configure existing class LanguageSettingsBaseProvider which is provided by default.
+&lt;br/&gt;
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2009, 2013 Andrew Gvozdev and others.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+ </documentation>
+ </annotation>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/PathEntryContainerInitializer.exsd b/core/org.eclipse.cdt.core/schema/PathEntryContainerInitializer.exsd
index dfbb34ae616..7ba6fe1fa97 100644
--- a/core/org.eclipse.cdt.core/schema/PathEntryContainerInitializer.exsd
+++ b/core/org.eclipse.cdt.core/schema/PathEntryContainerInitializer.exsd
@@ -1,109 +1,66 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="pathEntryContainerInitializer" name="Path Entry Container Initializers"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="pathEntryContainerInitializer"/>
- </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="pathEntryContainerInitializer">
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute kind="java"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="pathEntryContainerInitializer" name="Path Entry Container Initializers"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="pathEntryContainerInitializer"/>
+ </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="pathEntryContainerInitializer">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/ProcessList.exsd b/core/org.eclipse.cdt.core/schema/ProcessList.exsd
index f0de8fa1de6..7864c473f5e 100644
--- a/core/org.eclipse.cdt.core/schema/ProcessList.exsd
+++ b/core/org.eclipse.cdt.core/schema/ProcessList.exsd
@@ -1,100 +1,66 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="ProcessList" name="Process List Query Exentsion"/>
- </appInfo>
- <documentation>
- [Enter description of this extension point]
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <sequence>
- <element ref="processList"/>
- </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="processList">
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.IProcessList"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="platform" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="ProcessList" name="Process List Query Exentsion"/>
+ </appInfo>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="processList"/>
+ </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="processList">
+ <complexType>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.core.IProcessList"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="platform" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+</schema>
diff --git a/core/org.eclipse.cdt.core/schema/RefreshExclusionFactory.exsd b/core/org.eclipse.cdt.core/schema/RefreshExclusionFactory.exsd
index c683ea2f9bc..204a1501a3d 100644
--- a/core/org.eclipse.cdt.core/schema/RefreshExclusionFactory.exsd
+++ b/core/org.eclipse.cdt.core/schema/RefreshExclusionFactory.exsd
@@ -9,7 +9,6 @@
This extension point allows ISVs to contribute factory classes that know how to instantiate a given type of RefreshExclusion. Usage of this extension point is mandatory when contributing new types of RefreshExclusions as otherwise CDT cannot instantiate the proper exclusions when loading persisted settings relating to the refresh policy for a given project.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -46,7 +45,6 @@
</attribute>
</complexType>
</element>
-
<element name="exclusionFactory">
<complexType>
<attribute name="factoryClass" type="string" use="required">
@@ -81,7 +79,6 @@
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -90,34 +87,6 @@
5.3.0
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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"/>
@@ -130,5 +99,4 @@ this distribution, and is available at &lt;a
href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/ScannerInfoProvider2.exsd b/core/org.eclipse.cdt.core/schema/ScannerInfoProvider2.exsd
index ad56496eab2..7ab05e8cb71 100644
--- a/core/org.eclipse.cdt.core/schema/ScannerInfoProvider2.exsd
+++ b/core/org.eclipse.cdt.core/schema/ScannerInfoProvider2.exsd
@@ -6,10 +6,9 @@
<meta.schema plugin="org.eclipse.cdt.core" id="ScannerInfoProvider2" name="Scanner Info Provider"/>
</appInfo>
<documentation>
- [Enter description of this extension point.]
+
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -46,7 +45,6 @@
</attribute>
</complexType>
</element>
-
<element name="provider">
<complexType>
<attribute name="class" type="string" use="required">
@@ -64,46 +62,11 @@
<documentation>
The id of the build command this scanner info provider provides for.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
-
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/UNCPathConverter.exsd b/core/org.eclipse.cdt.core/schema/UNCPathConverter.exsd
index 25db7597e8f..e808a49fd24 100644
--- a/core/org.eclipse.cdt.core/schema/UNCPathConverter.exsd
+++ b/core/org.eclipse.cdt.core/schema/UNCPathConverter.exsd
@@ -6,10 +6,9 @@
<meta.schema plugin="org.eclipse.cdt.core" id="UNCPathConverter" name="%UNCPathConverter.name"/>
</appInfo>
<documentation>
- [Enter description of this extension point.]
+
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -46,7 +45,6 @@
</attribute>
</complexType>
</element>
-
<element name="UNCPathConverter">
<complexType>
<attribute name="class" type="string" use="required">
@@ -61,42 +59,4 @@
</attribute>
</complexType>
</element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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>
-
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/externalSettingsProvider.exsd b/core/org.eclipse.cdt.core/schema/externalSettingsProvider.exsd
index 63e21057247..c0b1a0f9c4b 100644
--- a/core/org.eclipse.cdt.core/schema/externalSettingsProvider.exsd
+++ b/core/org.eclipse.cdt.core/schema/externalSettingsProvider.exsd
@@ -1,18 +1,22 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="externalSettingsProvider" name="External Settings provider"/>
</appInfo>
<documentation>
- The external settings provider would be used to specify provider of include/macro/libraryan settings to be used/applied for the build configuration associated with this provider.
+ The external settings provider is used to specify a provider of include/macro/library settings to be used for the associated build configuration.
Any number of setting providers can be associated with the build configurations.
-This functionality might be used, e.g. by the External SDKs to allow automatic andjustment of the project settings for the projects using thes SDKs, e.g. adding include paths, symbols, etc.
+This functionality might be used, e.g. by the External SDKs to allow automatic andjustment of the project settings for the projects using these SDKs, e.g. adding include paths, symbols, etc.
</documentation>
</annotation>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="provider"/>
@@ -43,7 +47,6 @@ This functionality might be used, e.g. by the External SDKs to allow automatic a
</attribute>
</complexType>
</element>
-
<element name="provider">
<complexType>
<attribute name="class" type="string" use="required">
@@ -58,7 +61,6 @@ This functionality might be used, e.g. by the External SDKs to allow automatic a
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -67,41 +69,4 @@ This functionality might be used, e.g. by the External SDKs to allow automatic a
4.0
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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/core/org.eclipse.cdt.core/schema/language.exsd b/core/org.eclipse.cdt.core/schema/language.exsd
index 31852fe4c1b..842e380f0af 100644
--- a/core/org.eclipse.cdt.core/schema/language.exsd
+++ b/core/org.eclipse.cdt.core/schema/language.exsd
@@ -9,7 +9,6 @@
This extension point is used to declare a language or language variant. Languages define how the C model of a file is created (e.g. to populate the outline view). It also provides hooks to override the low level parsing of translation units into an abstract syntax tree. Practically this is limited to C/C++ language variants only. Completely different languages cannot be modelled reasonably using this extension point.
</documentation>
</annotation>
-
<element name="extension">
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
@@ -44,7 +43,6 @@
</attribute>
</complexType>
</element>
-
<element name="language">
<complexType>
<sequence minOccurs="0" maxOccurs="unbounded">
@@ -79,7 +77,6 @@
</attribute>
</complexType>
</element>
-
<element name="contentType">
<complexType>
<attribute name="id" type="string">
@@ -91,7 +88,6 @@
</attribute>
</complexType>
</element>
-
<element name="pdomLinkageFactory">
<complexType>
<attribute name="id" type="string" use="required">
@@ -113,7 +109,6 @@
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -122,7 +117,6 @@
CDT 3.1
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
@@ -139,7 +133,6 @@
&lt;/pre&gt;
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
@@ -148,7 +141,6 @@
Clients need to extend the abstract class &lt;code&gt;org.eclipse.core.model.AbstractLanguage&lt;/code&gt;.
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="implementation"/>
@@ -163,7 +155,6 @@
&lt;/p&gt;
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -176,5 +167,4 @@ accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/projectConverter.exsd b/core/org.eclipse.cdt.core/schema/projectConverter.exsd
index d034a588c70..1ed4f11b611 100644
--- a/core/org.eclipse.cdt.core/schema/projectConverter.exsd
+++ b/core/org.eclipse.cdt.core/schema/projectConverter.exsd
@@ -1,16 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="projectConverter" name="project converter"/>
</appInfo>
<documentation>
- [Enter description of this extension point.]
+
</documentation>
</annotation>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="converter"/>
@@ -41,7 +45,6 @@
</attribute>
</complexType>
</element>
-
<element name="converter">
<complexType>
<attribute name="owners" type="string">
@@ -70,50 +73,4 @@
</attribute>
</complexType>
</element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </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/core/org.eclipse.cdt.core/schema/tagger.exsd b/core/org.eclipse.cdt.core/schema/tagger.exsd
index 98d37683785..184963c97e5 100644
--- a/core/org.eclipse.cdt.core/schema/tagger.exsd
+++ b/core/org.eclipse.cdt.core/schema/tagger.exsd
@@ -9,9 +9,7 @@
This extension point allows extensions to contribute to the parsed nodes. When PDOM nodes are tagged, the content of the tag is stored in to the Database. The information for other nodes, e.g., the AST, is stored in memory.
</documentation>
</annotation>
-
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
-
<element name="extension">
<annotation>
<appInfo>
@@ -48,7 +46,6 @@
</attribute>
</complexType>
</element>
-
<element name="bindingTagger">
<complexType>
<sequence>
@@ -67,14 +64,12 @@
<annotation>
<documentation>
A unique identifier for this tagger&apos;s contributions.
-
The local id will be appended to the contributing plugin&apos;s id (separated with a dot &apos;.&apos;) to form the globally unique identifier for this tagger. This id is used to uniquely associate the tag with this plugin.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -83,7 +78,6 @@ The local id will be appended to the contributing plugin&apos;s id (separated wi
8.2
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
@@ -112,7 +106,6 @@ The local id will be appended to the contributing plugin&apos;s id (separated wi
&lt;/p&gt;
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
@@ -121,8 +114,6 @@ The local id will be appended to the contributing plugin&apos;s id (separated wi
The contributed class must implement &lt;code&gt;org.eclipse.cdt.core.dom.ast.tag.IBindingTagger&lt;/code&gt;
</documentation>
</annotation>
-
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -135,5 +126,4 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/templateAssociations.exsd b/core/org.eclipse.cdt.core/schema/templateAssociations.exsd
index 057253b894b..f97574fbb49 100644
--- a/core/org.eclipse.cdt.core/schema/templateAssociations.exsd
+++ b/core/org.eclipse.cdt.core/schema/templateAssociations.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="templateAssociations" name="Template Associations"/>
@@ -9,9 +9,11 @@
This extension-point allows developers to specify toolchains that should be enabled for selection for use with a pre-existing template. This solves the problem over how ISV&apos;s can have templates defined and shipped with CDT support their own toolchains, without having to modify CDT itself.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
<documentation>
Each extension consists of a sequence of template elements, each of which define child elements for the new toolchains that should be enabled for selection during new project creation.
</documentation>
@@ -46,7 +48,6 @@
</attribute>
</complexType>
</element>
-
<element name="toolChain">
<annotation>
<documentation>
@@ -59,11 +60,13 @@
<documentation>
The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
-
<element name="template">
<annotation>
<documentation>
@@ -79,27 +82,27 @@
<documentation>
The unique identifier of the template-contribution (the id in plugin.xml rather than the template.xml) that should have the specified additional toolchains enabled for selection during new project creation.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
- This extension point was added in CDT 4.0
+ CDT 4.0
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
If you developed toolchain&apos;s with ids &quot;com.foobar.toolchain1.base&quot; and &quot;com.foobar.toolchain2.base&quot;, which you wanted enabled for the empty project type built into the cdt core, you could use the following to achieve this:
-
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.cdt.core.templateAssociations&quot;&gt;
&lt;template id=&quot;org.eclipse.cdt.build.core.templates.EmptyProject&quot;&gt;
@@ -110,25 +113,6 @@
&lt;/pre&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"/>
@@ -139,10 +123,8 @@ All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-
Contributors:
Symbian - Initial API and implementation
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/templateProcessTypes.exsd b/core/org.eclipse.cdt.core/schema/templateProcessTypes.exsd
index 7914b5a3eba..b618e90ffb7 100644
--- a/core/org.eclipse.cdt.core/schema/templateProcessTypes.exsd
+++ b/core/org.eclipse.cdt.core/schema/templateProcessTypes.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core">
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.core" id="templateProcessTypes" name="Processes Extension point"/>
@@ -9,9 +9,11 @@
This extension point is to be extended to define new processes to be used in template descriptors by template writers.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
<documentation>
One or more elements of processType should be added as children to this element.
</documentation>
@@ -36,7 +38,6 @@
</attribute>
</complexType>
</element>
-
<element name="processType">
<annotation>
<documentation>
@@ -71,7 +72,6 @@
</attribute>
</complexType>
</element>
-
<element name="simple">
<annotation>
<documentation>
@@ -90,9 +90,7 @@
<annotation>
<documentation>
This is an optional attribute. If specified with a true value, it implies that the template xml need not mention this argument for this param. The attribute does not have any meaning in the context of a child of a complex param or of a child of a complexArray param.
-
Another thing to note is that arguments corresponding to external=true type params, if not mentioned in the template xml, should be supplied directly through the ValueStore with the key as the param&apos;s name.
-
If not mentioned, this attribute&apos;s is treated as false.
</documentation>
</annotation>
@@ -101,14 +99,12 @@ If not mentioned, this attribute&apos;s is treated as false.
<annotation>
<documentation>
This is an optional attribute. If specified with a true value, it implies that the template xml need not mention the value attribute of the argument for this param. The attribute does not have any meaning in the context of a child of a complex param or of a child of a complexArray param.
-
If not mentioned, this attribute&apos;s is treated as false.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
<element name="simpleArray">
<annotation>
<documentation>
@@ -125,7 +121,6 @@ If not mentioned, this attribute&apos;s is treated as false.
</attribute>
</complexType>
</element>
-
<element name="complex">
<annotation>
<documentation>
@@ -150,7 +145,6 @@ If not mentioned, this attribute&apos;s is treated as false.
</attribute>
</complexType>
</element>
-
<element name="complexArray">
<annotation>
<documentation>
@@ -170,7 +164,6 @@ If not mentioned, this attribute&apos;s is treated as false.
</attribute>
</complexType>
</element>
-
<element name="baseType">
<annotation>
<documentation>
@@ -188,16 +181,14 @@ If not mentioned, this attribute&apos;s is treated as false.
</sequence>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
- This extension point was added in CDT 4.0
+ CDT 4.0
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
@@ -210,7 +201,6 @@ If not mentioned, this attribute&apos;s is treated as false.
id=&quot;processExample&quot;
name=&quot;Process Example&quot;
point=&quot;org.eclipse.cdt.core.templateengine.processTypes&quot;&gt;
-
&lt;processType
name=&quot;NewManagedProject&quot;
processRunner=&quot;org.eclipse.cdt.core.templateengine.process.processes.NewManagedProject&quot;&gt;
@@ -224,7 +214,6 @@ If not mentioned, this attribute&apos;s is treated as false.
nullable=&quot;true&quot;/&gt;
&lt;simple name=&quot;targetType&quot;/&gt;
&lt;/processType&gt;
-
&lt;processType
name=&quot;SetMBSBooleanOptionValue&quot;
processRunner=&quot;org.eclipse.cdt.core.templateengine.process.processes.SetMBSBooleanOptionValue&quot;&gt;
@@ -237,7 +226,6 @@ If not mentioned, this attribute&apos;s is treated as false.
&lt;/baseType&gt;
&lt;/complexArray&gt;
&lt;/processType&gt;
-
&lt;processType
name=&quot;AddFile&quot;
processRunner=&quot;org.eclipse.cdt.core.templateengine.process.processes.AddFile&quot;&gt;
@@ -248,7 +236,6 @@ If not mentioned, this attribute&apos;s is treated as false.
&lt;simple name=&quot;replaceable&quot;/&gt;
&lt;/complex&gt;
&lt;/processType&gt;
-
&lt;processType
name=&quot;AppendToMBSStringListOptionValues&quot;
processRunner=&quot;org.eclipse.cdt.core.templateengine.process.processes.AppendToMBSStringListOptionValues&quot;&gt;
@@ -261,24 +248,12 @@ If not mentioned, this attribute&apos;s is treated as false.
&lt;/baseType&gt;
&lt;/complexArray&gt;
&lt;/processType&gt;
-
&lt;/extension&gt;
&lt;/pre&gt;
-
For more details on how to define your own templates, please check examples provided under
&lt;samp&gt;org.eclipse.cdt.gnu.templates&lt;/samp&gt;
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="implementation"/>
@@ -287,7 +262,6 @@ For more details on how to define your own templates, please check examples prov
An implementation of this extension point is supplied in &lt;samp&gt;org.eclipse.cdt.core.templateengine&lt;/samp&gt;
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -298,10 +272,8 @@ All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-
Contributors:
Bala Torati (Symbian) - Initial API and implementation
</documentation>
</annotation>
-
</schema>
diff --git a/core/org.eclipse.cdt.core/schema/templates.exsd b/core/org.eclipse.cdt.core/schema/templates.exsd
index 3c0b5750384..91759151075 100644
--- a/core/org.eclipse.cdt.core/schema/templates.exsd
+++ b/core/org.eclipse.cdt.core/schema/templates.exsd
@@ -1,245 +1,232 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.cdt.core" id="templates" name="Template Extension point"/>
- </appInfo>
- <documentation>
- This templates extension point facilitates the users to contribute their Template XMLs to the Template Engine plug-in.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- <documentation>
- Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to the Template Engine must extend this extension point, and add the template element.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="template" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="category" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
- Id for the extension in the extender plugin.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- Optional name attribute.
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="template">
- <annotation>
- <documentation>
- By adding the templates extension point the users can contribute their Template XMLs to the Template Engine plugin.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="toolChain" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="parentCategory" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- A unique identifier for this template contribution. This does not need to be the same as the id of the template (as defined in template.xml) it is contributing. This allows contributing the same template.xml more than once (for example for multiple project types, or with alternate page sequences).
- </documentation>
- </annotation>
- </attribute>
- <attribute name="location" type="string" use="required">
- <annotation>
- <documentation>
- The path of template.xml (relative to the base of the containing plug-in). For example &quot;templates/TemplateOne/template.xml&quot;. This attribute is mandatory.
- </documentation>
- <appInfo>
- <meta.attribute kind="resource"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="projectType" type="string">
- <annotation>
- <documentation>
- This attribute is a project type id referring to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point.
-This attribute is mandatory. CDT pre-defines the following values of the build artifact type property:
-&lt;ul&gt;
-&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.exe&quot; - to represent executable
-&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.staticLib&quot; - to represent static library
-&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.sharedLib&quot; - to represent shared library
-&lt;li&gt;ISVs can define their own custom build artifact values by contributing to the org.eclipse.cdt.managedbuilder.core.buildProperties extension point.
-&lt;/ul&gt;
-It&apos;s no longer manditory since templates are no longer organized by project type. Template catogories replace that functionality.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="isCategory" type="boolean">
- <annotation>
- <documentation>
- If true this template contribution should appear as a folder. Defaults to false.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="filterPattern" type="string">
- <annotation>
- <documentation>
- filterPattern is a java.util.regex.Pattern format string which is used to match against build configuration ids. This is an optional attribute, if absent will all configurations will match.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="pagesAfterTemplateSelectionProvider" type="string">
- <annotation>
- <documentation>
- A class that implements org.eclipse.cdt.templateengine.IPagesAfterTemplateSelectionProvider interface to create pages that will be appended to the pages returned from TemplatesChoiceWizard.getPagesAfterTemplateSelection().
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn="org.eclipse.cdt.ui.templateengine.IPagesAfterTemplateSelectionProvider"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="toolChain">
- <annotation>
- <documentation>
- This element is used to reference an existing toolchain by its unique identifier.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="category">
- <annotation>
- <documentation>
- Used to arrange templates in a hierarchy in the UI.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <element ref="parentCategory" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="label" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="parentCategory">
- <annotation>
- <documentation>
- id of parent category.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- This extension point was added in CDT 4.0
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- The following is an example of the extension point usage:
-&lt;p&gt;
-&lt;pre&gt;
- &lt;extension point=&quot;org.eclipse.cdt.core.templates&quot;&gt;
- &lt;template
- id=&quot;org.foobar.templates.MyExampleTemplate&quot;
- location=&quot;templates/MyExampleTemplate/template.xml&quot;
- projectType=&quot;org.eclipse.cdt.build.core.buildArtefactType.exe&quot;
- filterPattern=&quot;.*&quot;&gt;
- &lt;/template&gt;
- &lt;/extension&gt;
-&lt;/pre&gt;
-
-For more details on how to define your own templates, please check examples provided under &lt;samp&gt;org.eclipse.cdt.ui.templateengine&lt;/samp&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- An implementation of this extension point is supplied in &lt;samp&gt;org.eclipse.cdt.templateengine&lt;/samp&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2007 Symbian Software Limited and others.
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
-Symbian - Initial API and implementation
- </documentation>
- </annotation>
-
-</schema>
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.core" id="templates" name="Template Extension point"/>
+ </appInfo>
+ <documentation>
+ This templates extension point facilitates the users to contribute their Template XMLs to the Template Engine plug-in.
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ <documentation>
+ Extension point added to Template Engine plugin. Any plugin, which intends to contribute XML templates to the Template Engine must extend this extension point, and add the template element.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="template" minOccurs="1" maxOccurs="unbounded"/>
+ <element ref="category" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+ Id for the extension in the extender plugin.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ Optional name attribute.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="template">
+ <annotation>
+ <documentation>
+ By adding the templates extension point the users can contribute their Template XMLs to the Template Engine plugin.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="toolChain" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="parentCategory" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ A unique identifier for this template contribution. This does not need to be the same as the id of the template (as defined in template.xml) it is contributing. This allows contributing the same template.xml more than once (for example for multiple project types, or with alternate page sequences).
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="location" type="string" use="required">
+ <annotation>
+ <documentation>
+ The path of template.xml (relative to the base of the containing plug-in). For example &quot;templates/TemplateOne/template.xml&quot;. This attribute is mandatory.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="projectType" type="string">
+ <annotation>
+ <documentation>
+ This attribute is a project type id referring to the cdt project type that the template will be associated with. Project types are contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension-point.
+This attribute is mandatory. CDT pre-defines the following values of the build artifact type property:
+&lt;ul&gt;
+&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.exe&quot; - to represent executable
+&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.staticLib&quot; - to represent static library
+&lt;li&gt;&quot;org.eclipse.cdt.build.core.buildArtefactType.sharedLib&quot; - to represent shared library
+&lt;li&gt;ISVs can define their own custom build artifact values by contributing to the org.eclipse.cdt.managedbuilder.core.buildProperties extension point.
+&lt;/ul&gt;
+It&apos;s no longer manditory since templates are no longer organized by project type. Template catogories replace that functionality.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="isCategory" type="boolean">
+ <annotation>
+ <documentation>
+ If true this template contribution should appear as a folder. Defaults to false.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="filterPattern" type="string">
+ <annotation>
+ <documentation>
+ filterPattern is a java.util.regex.Pattern format string which is used to match against build configuration ids. This is an optional attribute, if absent will all configurations will match.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="pagesAfterTemplateSelectionProvider" type="string">
+ <annotation>
+ <documentation>
+ A class that implements org.eclipse.cdt.templateengine.IPagesAfterTemplateSelectionProvider interface to create pages that will be appended to the pages returned from TemplatesChoiceWizard.getPagesAfterTemplateSelection().
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn="org.eclipse.cdt.ui.templateengine.IPagesAfterTemplateSelectionProvider"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="toolChain">
+ <annotation>
+ <documentation>
+ This element is used to reference an existing toolchain by its unique identifier.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The unique identifier of a toolchain contributed to the org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="category">
+ <annotation>
+ <documentation>
+ Used to arrange templates in a hierarchy in the UI.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="parentCategory" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="label" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="parentCategory">
+ <annotation>
+ <documentation>
+ id of parent category.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ CDT 4.0
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ The following is an example of the extension point usage:
+&lt;p&gt;
+&lt;pre&gt;
+ &lt;extension point=&quot;org.eclipse.cdt.core.templates&quot;&gt;
+ &lt;template
+ id=&quot;org.foobar.templates.MyExampleTemplate&quot;
+ location=&quot;templates/MyExampleTemplate/template.xml&quot;
+ projectType=&quot;org.eclipse.cdt.build.core.buildArtefactType.exe&quot;
+ filterPattern=&quot;.*&quot;&gt;
+ &lt;/template&gt;
+ &lt;/extension&gt;
+&lt;/pre&gt;
+For more details on how to define your own templates, please check examples provided under &lt;samp&gt;org.eclipse.cdt.ui.templateengine&lt;/samp&gt;
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ An implementation of this extension point is supplied in &lt;samp&gt;org.eclipse.cdt.templateengine&lt;/samp&gt;
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2007 Symbian Software Limited and others.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+Contributors:
+Symbian - Initial API and implementation
+ </documentation>
+ </annotation>
+</schema>

Back to the top