Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd')
-rw-r--r--core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd53
1 files changed, 26 insertions, 27 deletions
diff --git a/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd b/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd
index 211b5561cb0..2aff5d892b5 100644
--- a/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd
+++ b/core/org.eclipse.cdt.ui/schema/quickFixProcessors.exsd
@@ -1,29 +1,31 @@
<?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="quickFixProcessors" name="Quick Fix Processor"/>
</appInfo>
<documentation>
- This extension point allows to add a Quick Fix processor to offer new Quick Fixes on C/C++ problems.
+ This extension point allows users to add a Quick Fix processor to offer new Quick Fixes on C/C++ problems.
&lt;p&gt;
-Extension can specify which problem marker types it can handle. It will only get problems of these types to process.
+The extension can specify which problem marker types it can handle. It will only get problems of these types to process.
&lt;/p&gt;
&lt;p&gt;
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;
&lt;/p&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="quickFixProcessor" minOccurs="1" maxOccurs="unbounded"/>
@@ -54,7 +56,6 @@ This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Prope
</attribute>
</complexType>
</element>
-
<element name="quickFixProcessor">
<complexType>
<sequence>
@@ -64,14 +65,17 @@ 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 Fix processor
+ A unique identifier for the Quick Fix processor.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
- a localized name of the Quick Fix processor
+ A localized name of the Quick Fix processor.
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
@@ -81,7 +85,7 @@ This extension point supports the &lt;code&gt;enablement&lt;/code&gt; tag. Prope
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
- the name of the class that implements this Quick Fix processor. The
+ The name of the class that implements this Quick Fix processor. The
class must be public and implement
&lt;samp&gt;org.eclipse.cdt.ui.text.IQuickFixProcessor&lt;/samp&gt;
with a public 0-argument constructor.
@@ -93,7 +97,6 @@ with a public 0-argument constructor.
</attribute>
</complexType>
</element>
-
<element name="handledMarkerTypes">
<annotation>
<documentation>
@@ -107,19 +110,28 @@ If no handled marker type are specified, the processor will get problems of type
</sequence>
</complexType>
</element>
-
<element name="markerType">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
- the marker type id of the marker that can be handled by this processor
+ The marker type id of the marker that can be handled by this processor.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</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.IQuickFixProcessor&lt;/code&gt;
+ </documentation>
+ </annotation>
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -128,14 +140,12 @@ If no handled marker type are specified, the processor will get problems of type
4.1
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of a Quick Fix processor contribution:
-
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.cdt.ui.quickFixProcessors&quot;&gt;
@@ -159,16 +169,6 @@ If no handled marker type are specified, the processor will get problems of type
&lt;/p&gt;
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The contributed class must implement &lt;code&gt;org.eclipse.cdt.ui.text.IQuickFixProcessor&lt;/code&gt;
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -178,5 +178,4 @@ If no handled marker type are specified, the processor will get problems of type
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