2
|
1 |
<?xml version='1.0' encoding='UTF-8'?>
|
|
2 |
<!-- Schema file written by PDE -->
|
|
3 |
<schema targetNamespace="com.nokia.carbide.search.system">
|
|
4 |
<annotation>
|
|
5 |
<appInfo>
|
|
6 |
<meta.schema plugin="com.nokia.carbide.search.system" id="textSearchEngine" name="Text Search Engine"/>
|
|
7 |
</appInfo>
|
|
8 |
<documentation>
|
|
9 |
The extension point allows to register a text search engine that is used to search for text in files of the workspace.
|
|
10 |
</documentation>
|
|
11 |
</annotation>
|
|
12 |
|
|
13 |
<element name="extension">
|
|
14 |
<complexType>
|
|
15 |
<sequence>
|
|
16 |
<element ref="textSearchEngine" minOccurs="1" maxOccurs="unbounded"/>
|
|
17 |
</sequence>
|
|
18 |
<attribute name="point" type="string" use="required">
|
|
19 |
<annotation>
|
|
20 |
<documentation>
|
|
21 |
|
|
22 |
</documentation>
|
|
23 |
</annotation>
|
|
24 |
</attribute>
|
|
25 |
<attribute name="id" type="string">
|
|
26 |
<annotation>
|
|
27 |
<documentation>
|
|
28 |
|
|
29 |
</documentation>
|
|
30 |
</annotation>
|
|
31 |
</attribute>
|
|
32 |
<attribute name="name" type="string">
|
|
33 |
<annotation>
|
|
34 |
<documentation>
|
|
35 |
|
|
36 |
</documentation>
|
|
37 |
<appInfo>
|
|
38 |
<meta.attribute translatable="true"/>
|
|
39 |
</appInfo>
|
|
40 |
</annotation>
|
|
41 |
</attribute>
|
|
42 |
</complexType>
|
|
43 |
</element>
|
|
44 |
|
|
45 |
<element name="textSearchEngine">
|
|
46 |
<complexType>
|
|
47 |
<attribute name="id" type="string" use="required">
|
|
48 |
<annotation>
|
|
49 |
<documentation>
|
|
50 |
Used to distinguish different search engines.
|
|
51 |
</documentation>
|
|
52 |
</annotation>
|
|
53 |
</attribute>
|
|
54 |
<attribute name="label" type="string" use="required">
|
|
55 |
<annotation>
|
|
56 |
<documentation>
|
|
57 |
Used when search engine is presented in UI.
|
|
58 |
</documentation>
|
|
59 |
</annotation>
|
|
60 |
</attribute>
|
|
61 |
<attribute name="class" type="string" use="required">
|
|
62 |
<annotation>
|
|
63 |
<documentation>
|
|
64 |
The class implementing com.nokia.carbide.search.system.core.text.TextSearchEngine.
|
|
65 |
</documentation>
|
|
66 |
<appInfo>
|
|
67 |
<meta.attribute kind="java" basedOn="com.nokia.carbide.search.system.core.text.TextSearchEngine"/>
|
|
68 |
</appInfo>
|
|
69 |
</annotation>
|
|
70 |
</attribute>
|
|
71 |
</complexType>
|
|
72 |
</element>
|
|
73 |
|
|
74 |
<annotation>
|
|
75 |
<appInfo>
|
|
76 |
<meta.section type="since"/>
|
|
77 |
</appInfo>
|
|
78 |
<documentation>
|
|
79 |
3.2
|
|
80 |
</documentation>
|
|
81 |
</annotation>
|
|
82 |
|
|
83 |
<annotation>
|
|
84 |
<appInfo>
|
|
85 |
<meta.section type="examples"/>
|
|
86 |
</appInfo>
|
|
87 |
<documentation>
|
|
88 |
As an example, here is the markup for suppling a search engine
|
|
89 |
|
|
90 |
<p>
|
|
91 |
<pre>
|
|
92 |
<extension id="MyEngine"
|
|
93 |
point="com.nokia.carbide.search.system.textSearchEngine">
|
|
94 |
<textSearchEngine
|
|
95 |
id="com.windriver.textSearchEngine"
|
|
96 |
label="Wind River Search"
|
|
97 |
class="com.windriver.text.SearchEngine" />
|
|
98 |
</extension>
|
|
99 |
</pre>
|
|
100 |
</p>
|
|
101 |
</documentation>
|
|
102 |
</annotation>
|
|
103 |
|
|
104 |
<annotation>
|
|
105 |
<appInfo>
|
|
106 |
<meta.section type="apiInfo"/>
|
|
107 |
</appInfo>
|
|
108 |
<documentation>
|
|
109 |
The contributed class must implement <code>com.nokia.carbide.search.system.core.text.TextSearchEngine</code>
|
|
110 |
</documentation>
|
|
111 |
</annotation>
|
|
112 |
|
|
113 |
<annotation>
|
|
114 |
<appInfo>
|
|
115 |
<meta.section type="implementation"/>
|
|
116 |
</appInfo>
|
|
117 |
<documentation>
|
|
118 |
|
|
119 |
</documentation>
|
|
120 |
</annotation>
|
|
121 |
|
|
122 |
<annotation>
|
|
123 |
<appInfo>
|
|
124 |
<meta.section type="copyright"/>
|
|
125 |
</appInfo>
|
|
126 |
<documentation>
|
|
127 |
Copyright (c) 2006 Wind River Systems and others.
|
|
128 |
All rights reserved. This program and the accompanying materials
|
|
129 |
are made available under the terms of the Eclipse Public License v1.0
|
|
130 |
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>
|
|
131 |
</documentation>
|
|
132 |
</annotation>
|
|
133 |
|
|
134 |
</schema>
|