Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd')
-rw-r--r--core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd66
1 files changed, 26 insertions, 40 deletions
diff --git a/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd b/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd
index d524350c6d9..7e6c1b7afc9 100644
--- a/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd
+++ b/core/org.eclipse.cdt.ui/schema/quickAssistProcessors.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.ui">
+<schema targetNamespace="org.eclipse.cdt.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.ui" id="quickAssistProcessors" name="Quick Assist Processor"/>
@@ -10,15 +10,17 @@
This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Properties to test on are:
&lt;dl&gt;
&lt;li&gt;translationUnit: type ITranslationUnit; the translation unit the quick assist is applied on&lt;/li&gt;
-
&lt;li&gt;projectNatures: type Collection; all project natures of the current project&lt;/li&gt;
&lt;/dl&gt;
</documentation>
</annotation>
-
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="quickAssistProcessor" minOccurs="1" maxOccurs="unbounded"/>
@@ -49,7 +51,6 @@ This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Prope
</attribute>
</complexType>
</element>
-
<element name="quickAssistProcessor">
<complexType>
<sequence>
@@ -58,14 +59,14 @@ This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Prope
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
- a unique identifier for the Quick Assist processor
+ A unique identifier for the Quick Assist processor.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
- a localized name of the Quick Assist processor
+ A localized name of the Quick Assist processor.
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
@@ -75,7 +76,7 @@ This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Prope
<attribute name="class" type="string">
<annotation>
<documentation>
- the name of the class that implements this Quick Assist processor. The
+ The name of the class that implements this Quick Assist processor. The
class must be public and implement
&lt;samp&gt;org.eclipse.cdt.ui.text.IQuickAssistProcessor&lt;/samp&gt;
with a public 0-argument constructor.
@@ -88,20 +89,34 @@ with a public 0-argument constructor.
<attribute name="requiredSourceLevel" type="string">
<annotation>
<documentation>
- an optional attribute to specify the minimal source compliance this processor requires
+ An optional attribute to specify the minimal source compliance this processor requires.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
-
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ The contributed class must implement &lt;code&gt;org.eclipse.cdt.ui.text.IQuickAssistProcessor&lt;/code&gt;
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 5.1
+ </documentation>
+ </annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of a Quick Assist processor contribution:
-
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.cdt.ui.quickAssistProcessors&quot;&gt;
@@ -123,34 +138,6 @@ with a public 0-argument constructor.
&lt;/p&gt;
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 5.1
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The contributed class must implement &lt;code&gt;org.eclipse.cdt.ui.text.IQuickAssistProcessor&lt;/code&gt;
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -160,5 +147,4 @@ with a public 0-argument constructor.
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 &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>

Back to the top