Added
Link Here
|
1 |
<?xml version='1.0' encoding='UTF-8'?> |
2 |
<!-- Schema file written by PDE --> |
3 |
<schema targetNamespace="org.eclipse.jdt.ui"> |
4 |
<annotation> |
5 |
<appInfo> |
6 |
<meta.schema plugin="org.eclipse.jdt.ui" id="javaCompletionProposalFilters" name="Java Completion Proposal Filters and Sorters"/> |
7 |
</appInfo> |
8 |
<documentation> |
9 |
This extension point allows to contribute sorters and filters that may modify the completion proposals displayed in the Java editor. |
10 |
<p>XXX this API is provisional and may change anytime during the course of 3.2</p> |
11 |
</documentation> |
12 |
</annotation> |
13 |
|
14 |
<element name="extension"> |
15 |
<annotation> |
16 |
<appInfo> |
17 |
<meta.element labelAttribute="name"/> |
18 |
</appInfo> |
19 |
</annotation> |
20 |
<complexType> |
21 |
<choice> |
22 |
<element ref="proposalSorter"/> |
23 |
<element ref="proposalFilter"/> |
24 |
</choice> |
25 |
<attribute name="point" type="string" use="required"> |
26 |
<annotation> |
27 |
<documentation> |
28 |
The fully qualified identifier of the target extension point. |
29 |
</documentation> |
30 |
</annotation> |
31 |
</attribute> |
32 |
<attribute name="id" type="string"> |
33 |
<annotation> |
34 |
<documentation> |
35 |
The identifier of the extension instance, unique within the declaring plug-in (the plug-in's identifier will be prepended to form a platform-wide unique id). |
36 |
</documentation> |
37 |
</annotation> |
38 |
</attribute> |
39 |
<attribute name="name" type="string"> |
40 |
<annotation> |
41 |
<documentation> |
42 |
The optional name of the extension instance. |
43 |
</documentation> |
44 |
<appInfo> |
45 |
<meta.attribute translatable="true"/> |
46 |
</appInfo> |
47 |
</annotation> |
48 |
</attribute> |
49 |
</complexType> |
50 |
</element> |
51 |
|
52 |
<element name="proposalSorter"> |
53 |
<annotation> |
54 |
<appInfo> |
55 |
<meta.element labelAttribute="name"/> |
56 |
</appInfo> |
57 |
<documentation> |
58 |
A proposal sorter contribution. |
59 |
</documentation> |
60 |
</annotation> |
61 |
<complexType> |
62 |
<attribute name="id" type="string" use="required"> |
63 |
<annotation> |
64 |
<documentation> |
65 |
The unique identifier of the sorter. |
66 |
</documentation> |
67 |
</annotation> |
68 |
</attribute> |
69 |
<attribute name="name" type="string"> |
70 |
<annotation> |
71 |
<documentation> |
72 |
The name of the sorter. |
73 |
</documentation> |
74 |
<appInfo> |
75 |
<meta.attribute translatable="true"/> |
76 |
</appInfo> |
77 |
</annotation> |
78 |
</attribute> |
79 |
<attribute name="class" type="string" use="required"> |
80 |
<annotation> |
81 |
<documentation> |
82 |
The name of the class that implements the contributed sorter. The |
83 |
class must be a public implementation of |
84 |
<samp>java.util.Comparator</samp> |
85 |
and must have a public 0-argument constructor. |
86 |
<p> |
87 |
The sorter's <tt>compare(Object, Object)</tt> method will only be called with instances of <code>org.eclipse.jface.text.contentassist.ICompletionProposal</code>. |
88 |
</p> |
89 |
</documentation> |
90 |
<appInfo> |
91 |
<meta.attribute kind="java"/> |
92 |
</appInfo> |
93 |
</annotation> |
94 |
</attribute> |
95 |
</complexType> |
96 |
</element> |
97 |
|
98 |
<element name="proposalFilter"> |
99 |
<annotation> |
100 |
<appInfo> |
101 |
<meta.element labelAttribute="name"/> |
102 |
</appInfo> |
103 |
<documentation> |
104 |
A proposal filter contribution. |
105 |
</documentation> |
106 |
</annotation> |
107 |
<complexType> |
108 |
<attribute name="id" type="string" use="required"> |
109 |
<annotation> |
110 |
<documentation> |
111 |
The unique identifier of the filter. |
112 |
</documentation> |
113 |
</annotation> |
114 |
</attribute> |
115 |
<attribute name="name" type="string"> |
116 |
<annotation> |
117 |
<documentation> |
118 |
The name of the filter. |
119 |
</documentation> |
120 |
<appInfo> |
121 |
<meta.attribute translatable="true"/> |
122 |
</appInfo> |
123 |
</annotation> |
124 |
</attribute> |
125 |
<attribute name="class" type="string" use="required"> |
126 |
<annotation> |
127 |
<documentation> |
128 |
The name of the class that implements the contributed sorter. The |
129 |
class must be a public implementation of |
130 |
<samp>java.util.Comparator</samp> |
131 |
and must have a public 0-argument constructor. |
132 |
</documentation> |
133 |
<appInfo> |
134 |
<meta.attribute kind="java"/> |
135 |
</appInfo> |
136 |
</annotation> |
137 |
</attribute> |
138 |
</complexType> |
139 |
</element> |
140 |
|
141 |
<annotation> |
142 |
<appInfo> |
143 |
<meta.section type="since"/> |
144 |
</appInfo> |
145 |
<documentation> |
146 |
3.2 |
147 |
</documentation> |
148 |
</annotation> |
149 |
|
150 |
<annotation> |
151 |
<appInfo> |
152 |
<meta.section type="examples"/> |
153 |
</appInfo> |
154 |
<documentation> |
155 |
|
156 |
</documentation> |
157 |
</annotation> |
158 |
|
159 |
<annotation> |
160 |
<appInfo> |
161 |
<meta.section type="apiInfo"/> |
162 |
</appInfo> |
163 |
<documentation> |
164 |
[Enter API information here.] |
165 |
</documentation> |
166 |
</annotation> |
167 |
|
168 |
<annotation> |
169 |
<appInfo> |
170 |
<meta.section type="implementation"/> |
171 |
</appInfo> |
172 |
<documentation> |
173 |
[Enter information about supplied implementation of this extension point.] |
174 |
</documentation> |
175 |
</annotation> |
176 |
|
177 |
<annotation> |
178 |
<appInfo> |
179 |
<meta.section type="copyright"/> |
180 |
</appInfo> |
181 |
<documentation> |
182 |
Copyright (c) 2006 IBM Corporation and others.<br> |
183 |
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
184 |
</documentation> |
185 |
</annotation> |
186 |
|
187 |
</schema> |