blob: 188711c1f577b9f4695eb484e25c51f16f973aa1 [file] [log] [blame]
amywu0d6f6da2008-03-27 11:39:33 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
3<schema targetNamespace="org.eclipse.wst.sse.ui" xmlns="http://www.w3.org/2001/XMLSchema">
4<annotation>
5 <appinfo>
amywufd36b4c2008-04-02 15:21:24 +00006 <meta.schema plugin="org.eclipse.wst.sse.ui" id="quickFixProcessor" name="Quick Fix Processor"/>
amywu0d6f6da2008-03-27 11:39:33 +00007 </appinfo>
8 <documentation>
amywufd36b4c2008-04-02 15:21:24 +00009 This extension point is used to associate a quick assist processor in Structured Text Editors with a specific &quot;kind&quot; of problem (a marker or annotation of a certain type or having certain attribute values).
amywu0d6f6da2008-03-27 11:39:33 +000010 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
amywufd36b4c2008-04-02 15:21:24 +000016 <element ref="quickFixProcessor" minOccurs="0" maxOccurs="unbounded"/>
amywu0d6f6da2008-03-27 11:39:33 +000017 </sequence>
18 <attribute name="point" type="string" use="required">
19 <annotation>
20 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000021 a fully qualified identifier of the target extension point
amywu0d6f6da2008-03-27 11:39:33 +000022 </documentation>
23 </annotation>
24 </attribute>
25 <attribute name="id" type="string">
26 <annotation>
27 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000028 an optional identifier of the extension instance
amywu0d6f6da2008-03-27 11:39:33 +000029 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="name" type="string">
33 <annotation>
34 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000035 an optional name of the extension instance
amywu0d6f6da2008-03-27 11:39:33 +000036 </documentation>
37 <appinfo>
38 <meta.attribute translatable="true"/>
39 </appinfo>
40 </annotation>
41 </attribute>
42 </complexType>
43 </element>
44
45 <element name="quickFixProcessor">
46 <complexType>
47 <sequence>
amywufd36b4c2008-04-02 15:21:24 +000048 <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
amywu0d6f6da2008-03-27 11:39:33 +000049 </sequence>
50 <attribute name="problemType" type="string">
51 <annotation>
52 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000053 the problem type for which this quick fix processor applies to. To set the problem type for an annotation or marker, create a &quot;problemType&quot; attribute for the annotation/marker and set a value.
amywu0d6f6da2008-03-27 11:39:33 +000054 </documentation>
55 </annotation>
56 </attribute>
57 <attribute name="class" type="string" use="required">
58 <annotation>
59 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000060 the name of the class implementing IQuickAssistProcessor
amywu0d6f6da2008-03-27 11:39:33 +000061 </documentation>
62 <appinfo>
63 <meta.attribute kind="java" basedOn=":org.eclipse.jface.text.quickassist.IQuickAssistProcessor"/>
64 </appinfo>
65 </annotation>
66 </attribute>
67 </complexType>
68 </element>
69
70 <element name="attribute">
71 <complexType>
72 <attribute name="name" type="string">
73 <annotation>
74 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000075 the name of the attribute whose value is being specified.
amywu0d6f6da2008-03-27 11:39:33 +000076 </documentation>
77 </annotation>
78 </attribute>
79 <attribute name="value" type="string">
80 <annotation>
81 <documentation>
amywufd36b4c2008-04-02 15:21:24 +000082 the specified value of the attribute.
amywu0d6f6da2008-03-27 11:39:33 +000083 </documentation>
84 </annotation>
85 </attribute>
86 </complexType>
87 </element>
88
89 <annotation>
90 <appinfo>
91 <meta.section type="since"/>
92 </appinfo>
93 <documentation>
94 3.0
95 </documentation>
96 </annotation>
97
amywufd36b4c2008-04-02 15:21:24 +000098 <annotation>
99 <appinfo>
100 <meta.section type="examples"/>
101 </appinfo>
102 <documentation>
103 &lt;br /&gt;
104&amp;lt;extension point=&quot;org.eclipse.wst.sse.ui.quickFixProcessor&quot;&amp;gt;&lt;br /&gt;
105&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;quickFixProcessor&lt;br /&gt;
106&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;class=&quot;org.eclipse.wst.sse.ui.examples.quickfixes.ExampleQuickAssistProcessor&quot;&lt;br /&gt;
107&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;problemType=&quot;org.eclipse.wst.sse.ui.examples.quickfixes.problem&quot;&amp;gt;&lt;br /&gt;
108&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;attribute name=&quot;anAttributeKey&quot; value=&quot;attribute value&quot;/&amp;gt;&lt;br /&gt;
109&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/quickFixProcessor&amp;gt;&lt;br /&gt;
110 &amp;lt;/extension&amp;gt;&lt;br /&gt;
111
112 </documentation>
113 </annotation>
amywu0d6f6da2008-03-27 11:39:33 +0000114
115 <annotation>
116 <appinfo>
117 <meta.section type="apiinfo"/>
118 </appinfo>
119 <documentation>
120 Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
121 </documentation>
122 </annotation>
123
124
125 <annotation>
126 <appinfo>
127 <meta.section type="copyright"/>
128 </appinfo>
129 <documentation>
130 Copyright (c) 2008 IBM Corporation and others.
131All 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;
132 </documentation>
133 </annotation>
134
135</schema>