Debian Codegraph @

bundles/org.eclipse.equinox.p2.discovery.compatibility/schema/connectorDiscovery.exsd

raw
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.mylyn.discovery.core" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5 <appinfo>
6 <meta.schema plugin="org.eclipse.mylyn.discovery.core" id="connectorDiscovery" name="Connector Discovery"/>
7 </appinfo>
8 <documentation>
9 An extension point for contributing to the Mylyn connector discovery mechanism.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <annotation>
15 <appinfo>
16 <meta.element internal="true" />
17 </appinfo>
18 </annotation>
19 <complexType>
20 <sequence>
21 <element ref="connectorCategory" minOccurs="0" maxOccurs="unbounded"/>
22 <element ref="connectorDescriptor" minOccurs="0" maxOccurs="unbounded"/>
23 <element ref="certification" minOccurs="0" maxOccurs="unbounded"/>
24 </sequence>
25 <attribute name="point" type="string" use="required">
26 <annotation>
27 <documentation>
28
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="id" type="string">
33 <annotation>
34 <documentation>
35
36 </documentation>
37 </annotation>
38 </attribute>
39 <attribute name="name" type="string">
40 <annotation>
41 <documentation>
42
43 </documentation>
44 <appinfo>
45 <meta.attribute translatable="true"/>
46 </appinfo>
47 </annotation>
48 </attribute>
49 </complexType>
50 </element>
51
52 <element name="connectorDescriptor">
53 <annotation>
54 <documentation>
55 A description of a connector, including kinds, description, licensing and brand.
56 </documentation>
57 </annotation>
58 <complexType>
59 <sequence>
60 <element ref="featureFilter" minOccurs="0" maxOccurs="unbounded"/>
61 <element ref="icon" minOccurs="0" maxOccurs="1"/>
62 <element ref="overview" minOccurs="0" maxOccurs="1"/>
63 <element ref="iu" minOccurs="0" maxOccurs="unbounded"/>
64 </sequence>
65 <attribute name="kind" type="string">
66 <annotation>
67 <documentation>
68 must be a comma-delimited list of the following values: &apos;document&apos;, &apos;task&apos;, &apos;vcs&apos;
69 </documentation>
70 </annotation>
71 </attribute>
72 <attribute name="name" type="string" use="required">
73 <annotation>
74 <documentation>
75 the name of the connector including the name of the organization that produces the repository if appropriate, for example &apos;Mozilla Bugzilla&apos;.
76 </documentation>
77 <appinfo>
78 <meta.attribute translatable="true"/>
79 </appinfo>
80 </annotation>
81 </attribute>
82 <attribute name="provider" type="string" use="required">
83 <annotation>
84 <documentation>
85 The name of the organization that supplies the connector.
86 </documentation>
87 <appinfo>
88 <meta.attribute translatable="true"/>
89 </appinfo>
90 </annotation>
91 </attribute>
92 <attribute name="license" type="string" use="required">
93 <annotation>
94 <documentation>
95 The short name of the license, for example &apos;EPL 1.0&apos;, &apos;GPL 2.0&apos;, or &apos;Commercial&apos;.
96 </documentation>
97 <appinfo>
98 <meta.attribute translatable="true"/>
99 </appinfo>
100 </annotation>
101 </attribute>
102 <attribute name="description" type="string">
103 <annotation>
104 <documentation>
105 A description of the connector. Plug-ins should provide a description, especially if the description is not self-evident from the @name and @organization.
106
107 Only the first 162 characters of the description are displayed in the UI and line breaks are ignored.
108 </documentation>
109 <appinfo>
110 <meta.attribute translatable="true"/>
111 </appinfo>
112 </annotation>
113 </attribute>
114 <attribute name="siteUrl" type="string" use="required">
115 <annotation>
116 <documentation>
117 The URL of the update site containing the connector.
118 </documentation>
119 </annotation>
120 </attribute>
121 <attribute name="id" type="string" use="required">
122 <annotation>
123 <documentation>
124 The id of the feature that installs this connector
125 </documentation>
126 </annotation>
127 </attribute>
128 <attribute name="categoryId" type="string" use="required">
129 <annotation>
130 <documentation>
131 the id of the connectorCategory in which this connector belongs
132 </documentation>
133 <appinfo>
134 <meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/connectorCategory/@id"/>
135 </appinfo>
136 </annotation>
137 </attribute>
138 <attribute name="platformFilter" type="string">
139 <annotation>
140 <documentation>
141 E.g., &quot;(&amp; (osgi.os=macosx) (osgi.ws=carbon))&quot;
142 </documentation>
143 </annotation>
144 </attribute>
145 <attribute name="groupId" type="string">
146 <annotation>
147 <documentation>
148 The id of the connectorCategory group. See group/@id for more details.
149 </documentation>
150 <appinfo>
151 <meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/connectorDescriptor/@groupId"/>
152 </appinfo>
153 </annotation>
154 </attribute>
155 <attribute name="certificationId" type="string">
156 <annotation>
157 <documentation>
158
159 </documentation>
160 <appinfo>
161 <meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/certification/@id"/>
162 </appinfo>
163 </annotation>
164 </attribute>
165 </complexType>
166 </element>
167
168 <element name="connectorCategory">
169 <annotation>
170 <documentation>
171 a category of connectors, which is a way of organizing connectors in top-level groups.
172 </documentation>
173 </annotation>
174 <complexType>
175 <sequence>
176 <element ref="icon" minOccurs="0" maxOccurs="1"/>
177 <element ref="overview" minOccurs="0" maxOccurs="1"/>
178 <element ref="group" minOccurs="0" maxOccurs="unbounded"/>
179 </sequence>
180 <attribute name="id" type="string" use="required">
181 <annotation>
182 <documentation>
183 an id that uniquely identifies the category
184 </documentation>
185 </annotation>
186 </attribute>
187 <attribute name="name" type="string" use="required">
188 <annotation>
189 <documentation>
190 the name of the category, as it is displayed in the ui.
191 </documentation>
192 <appinfo>
193 <meta.attribute translatable="true"/>
194 </appinfo>
195 </annotation>
196 </attribute>
197 <attribute name="description" type="string" use="required">
198 <annotation>
199 <documentation>
200 A description of the category
201 </documentation>
202 <appinfo>
203 <meta.attribute translatable="true"/>
204 </appinfo>
205 </annotation>
206 </attribute>
207 <attribute name="relevance" type="string">
208 <annotation>
209 <documentation>
210 A relevance, which is a number from 0 to 100. Categories with higher relevance are displayed with preference in the UI.
211 </documentation>
212 </annotation>
213 </attribute>
214 </complexType>
215 </element>
216
217 <element name="icon">
218 <complexType>
219 <attribute name="image16" type="string">
220 <annotation>
221 <documentation>
222
223 </documentation>
224 <appinfo>
225 <meta.attribute kind="resource"/>
226 </appinfo>
227 </annotation>
228 </attribute>
229 <attribute name="image32" type="string">
230 <annotation>
231 <documentation>
232
233 </documentation>
234 <appinfo>
235 <meta.attribute kind="resource"/>
236 </appinfo>
237 </annotation>
238 </attribute>
239 <attribute name="image48" type="string">
240 <annotation>
241 <documentation>
242
243 </documentation>
244 <appinfo>
245 <meta.attribute kind="resource"/>
246 </appinfo>
247 </annotation>
248 </attribute>
249 <attribute name="image64" type="string">
250 <annotation>
251 <documentation>
252
253 </documentation>
254 <appinfo>
255 <meta.attribute kind="resource"/>
256 </appinfo>
257 </annotation>
258 </attribute>
259 <attribute name="image128" type="string">
260 <annotation>
261 <documentation>
262
263 </documentation>
264 <appinfo>
265 <meta.attribute kind="resource"/>
266 </appinfo>
267 </annotation>
268 </attribute>
269 </complexType>
270 </element>
271
272 <element name="overview">
273 <annotation>
274 <documentation>
275 An overview that provides more detailed information, which may include a summary, url and screenshot.
276 </documentation>
277 </annotation>
278 <complexType>
279 <attribute name="summary" type="string">
280 <annotation>
281 <documentation>
282 A description providing detailed information about the item. Newlines can be used to format the text into multiple paragraphs if necessary. Text must fit into an area 320x240, otherwise it will be truncated in the UI. More lengthy descriptions can be provided on a web page if required, see @url.
283 </documentation>
284 <appinfo>
285 <meta.attribute translatable="true"/>
286 </appinfo>
287 </annotation>
288 </attribute>
289 <attribute name="url" type="string">
290 <annotation>
291 <documentation>
292 An URL that points to a web page with more information relevant to the connector or category.
293 </documentation>
294 </annotation>
295 </attribute>
296 <attribute name="screenshot" type="string">
297 <annotation>
298 <documentation>
299 320x240 PNG, JPEG or GIF
300 </documentation>
301 <appinfo>
302 <meta.attribute kind="resource"/>
303 </appinfo>
304 </annotation>
305 </attribute>
306 </complexType>
307 </element>
308
309 <element name="featureFilter">
310 <annotation>
311 <documentation>
312 A means of specifying that a feature must be present in order for the connectorDescriptor to be presented to the user.
313 </documentation>
314 </annotation>
315 <complexType>
316 <attribute name="featureId" type="string" use="required">
317 <annotation>
318 <documentation>
319 The id of the feature to test
320 </documentation>
321 </annotation>
322 </attribute>
323 <attribute name="version" type="string" use="required">
324 <annotation>
325 <documentation>
326 A version specifier, specified in the same manner as version dependencies are specified in an OSGi manifest. For example: &quot;[3.0,4.0)&quot;
327 </documentation>
328 </annotation>
329 </attribute>
330 </complexType>
331 </element>
332
333 <element name="group">
334 <annotation>
335 <documentation>
336 groups provide a way to anchor connectors in a grouping with other like entries.
337 </documentation>
338 </annotation>
339 <complexType>
340 <attribute name="id" type="string" use="required">
341 <annotation>
342 <documentation>
343 An identifier that identifies the group. Must be unique for a particular connectorCategory.
344 </documentation>
345 </annotation>
346 </attribute>
347 </complexType>
348 </element>
349
350 <element name="certification">
351 <complexType>
352 <sequence>
353 <element ref="icon" minOccurs="0" maxOccurs="1"/>
354 <element ref="description"/>
355 </sequence>
356 <attribute name="id" type="string" use="required">
357 <annotation>
358 <documentation>
359 An id that uniquely identifies the certification.
360 </documentation>
361 </annotation>
362 </attribute>
363 <attribute name="name" type="string" use="required">
364 <annotation>
365 <documentation>
366 The name of the certification, as it is displayed in the ui.
367 </documentation>
368 <appinfo>
369 <meta.attribute translatable="true"/>
370 </appinfo>
371 </annotation>
372 </attribute>
373 <attribute name="url" type="string">
374 <annotation>
375 <documentation>
376 An URL that points to a web page with more information relevant to the certification.
377 </documentation>
378 <appinfo>
379 <meta.attribute translatable="true"/>
380 </appinfo>
381 </annotation>
382 </attribute>
383 </complexType>
384 </element>
385
386 <element name="description" type="string">
387 <annotation>
388 <appinfo>
389 <meta.element translatable="true"/>
390 </appinfo>
391 <documentation>
392 A textual description.
393 </documentation>
394 </annotation>
395 </element>
396
397 <element name="iu">
398 <complexType>
399 <attribute name="id" type="string" use="required">
400 <annotation>
401 <documentation>
402 The id of the feature that is to be installed.
403 </documentation>
404 </annotation>
405 </attribute>
406 </complexType>
407 </element>
408
409 <annotation>
410 <appinfo>
411 <meta.section type="since"/>
412 </appinfo>
413 <documentation>
414 3.2
415 </documentation>
416 </annotation>
417
418
419
420
421 <annotation>
422 <appinfo>
423 <meta.section type="copyright"/>
424 </appinfo>
425 <documentation>
426 Copyright (c) 2009 Tasktop Technologies and others.
427
428 This program and the accompanying materials are made
429 available under the terms of the Eclipse Public License 2.0 which
430 accompanies this distribution, and is available at
431 &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
432
433 SPDX-License-Identifier: EPL-2.0
434 </documentation>
435 </annotation>
436
437 </schema>