root / tmp / org.txm.tigersearch.rcp / plugin.xml @ 2348
History | View | Annotate | Download (9.9 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
|
5 |
<extension
|
6 |
point="org.eclipse.ui.commands"> |
7 |
<category
|
8 |
description="%category.description" |
9 |
id="TIGERSearch4TXM.commands.category" |
10 |
name="%category.name"> |
11 |
</category>
|
12 |
<command
|
13 |
categoryId="TIGERSearch4TXM.commands.category" |
14 |
defaultHandler="org.txm.tigersearch.commands.ComputeTIGERSearch" |
15 |
id="org.txm.tigersearch.commands.ComputeTIGERSearch" |
16 |
name="%command.label" |
17 |
returnTypeId="org.txm.function.tigersearch.TIGERSearch"> |
18 |
</command>
|
19 |
<command
|
20 |
categoryId="TIGERSearch4TXM.commands.category" |
21 |
defaultHandler="org.txm.tigersearch.commands.ComputeRecette1" |
22 |
id="org.txm.tigersearch.commands.ComputeRecette1" |
23 |
name="%command.name.0"> |
24 |
</command>
|
25 |
<command
|
26 |
categoryId="TIGERSearch4TXM.commands.category" |
27 |
defaultHandler="org.txm.tigersearch.commands.ComputeRecette2" |
28 |
id="org.txm.tigersearch.commands.ComputeRecette2" |
29 |
name="%command.name.1"> |
30 |
</command>
|
31 |
<command
|
32 |
categoryId="TIGERSearch4TXM.commands.category" |
33 |
defaultHandler="org.txm.tigersearch.commands.ImportTIGERAnnotations" |
34 |
id="org.txm.tigersearch.commands.ImportTIGERAnnotations" |
35 |
name="Import TIGERSearch Annotations..."> |
36 |
</command>
|
37 |
</extension>
|
38 |
<extension
|
39 |
point="org.eclipse.core.expressions.propertyTesters"> |
40 |
<propertyTester
|
41 |
class="org.txm.tigersearch.rcp.tester.TIGERSearchTester" |
42 |
id="org.txm.rcp.testers.TIGERSearchTester" |
43 |
namespace="org.txm.rcp.testers" |
44 |
properties="TIGERSearchReady" |
45 |
type="java.lang.Object"> |
46 |
</propertyTester>
|
47 |
</extension>
|
48 |
<extension
|
49 |
point="org.eclipse.ui.menus"> |
50 |
<menuContribution
|
51 |
locationURI="menu:menu.help.plugins"> |
52 |
<command
|
53 |
commandId="org.txm.rcp.commands.OpenBrowser" |
54 |
label="%command.label.0" |
55 |
style="push"> |
56 |
<parameter
|
57 |
name="org.txm.rcp.commands.commandParameter2" |
58 |
value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch"> |
59 |
</parameter>
|
60 |
</command>
|
61 |
</menuContribution>
|
62 |
<menuContribution
|
63 |
locationURI="menu:menu.recettes"> |
64 |
<command
|
65 |
commandId="org.txm.tigersearch.commands.ComputeRecette1" |
66 |
icon="icons/functions/TSIndex.png" |
67 |
label="%command.label.1" |
68 |
style="push"> |
69 |
<visibleWhen
|
70 |
checkEnabled="false"> |
71 |
<or>
|
72 |
<reference
|
73 |
definitionId="OneCorpusSelected"> |
74 |
</reference>
|
75 |
</or>
|
76 |
</visibleWhen>
|
77 |
</command>
|
78 |
<command
|
79 |
commandId="org.txm.tigersearch.commands.ComputeRecette2" |
80 |
icon="icons/functions/TSIndex.png" |
81 |
label="%command.label.2" |
82 |
style="push"> |
83 |
<visibleWhen
|
84 |
checkEnabled="false"> |
85 |
<and>
|
86 |
<count
|
87 |
value="2"> |
88 |
</count>
|
89 |
<iterate>
|
90 |
<instanceof
|
91 |
value="org.txm.searchengine.cqp.corpus.CQPCorpus"> |
92 |
</instanceof>
|
93 |
</iterate>
|
94 |
</and>
|
95 |
</visibleWhen>
|
96 |
</command>
|
97 |
</menuContribution>
|
98 |
<menuContribution
|
99 |
allPopups="false" |
100 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation"> |
101 |
<command
|
102 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
103 |
icon="icons/functions/TS.png" |
104 |
label="%command.label" |
105 |
style="push"> |
106 |
<visibleWhen
|
107 |
checkEnabled="false"> |
108 |
<or>
|
109 |
<test
|
110 |
forcePluginActivation="true" |
111 |
property="org.txm.rcp.testers.TIGERSearchReady" |
112 |
value="TIGERSearchReady"> |
113 |
</test>
|
114 |
</or>
|
115 |
</visibleWhen>
|
116 |
</command>
|
117 |
</menuContribution>
|
118 |
<menuContribution
|
119 |
allPopups="false" |
120 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
121 |
<command
|
122 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
123 |
icon="icons/functions/TS.png" |
124 |
label="%command.label" |
125 |
style="push"> |
126 |
<visibleWhen
|
127 |
checkEnabled="false"> |
128 |
<or>
|
129 |
<test
|
130 |
forcePluginActivation="true" |
131 |
property="org.txm.rcp.testers.TIGERSearchReady" |
132 |
value="TIGERSearchReady"> |
133 |
</test>
|
134 |
</or>
|
135 |
</visibleWhen>
|
136 |
</command>
|
137 |
</menuContribution>
|
138 |
<menuContribution
|
139 |
locationURI="menu:menu.file.import?before=menu.file.import.separator.software"> |
140 |
<command
|
141 |
commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript" |
142 |
icon="icons/functions/TS.png" |
143 |
label="%command.label.5" |
144 |
style="push"> |
145 |
<parameter
|
146 |
name="org.txm.rcp.commands.commandParameter3" |
147 |
value="tigersearch/tigersearchLoader.groovy"> |
148 |
</parameter>
|
149 |
</command>
|
150 |
</menuContribution>
|
151 |
<menuContribution
|
152 |
locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools"> |
153 |
<menu
|
154 |
id="menu.tiger" |
155 |
label="TIGER" |
156 |
mnemonic="T"> |
157 |
<command
|
158 |
commandId="org.txm.tigersearch.commands.ComputeTIGERSearch" |
159 |
icon="icons/functions/TS.png" |
160 |
style="push"> |
161 |
<visibleWhen
|
162 |
checkEnabled="false"> |
163 |
<or>
|
164 |
<test
|
165 |
forcePluginActivation="true" |
166 |
property="org.txm.rcp.testers.TIGERSearchReady" |
167 |
value="TIGERSearchReady"> |
168 |
</test>
|
169 |
</or>
|
170 |
</visibleWhen>
|
171 |
</command>
|
172 |
<menu
|
173 |
id="menu.tiger.tools" |
174 |
label="Tools"> |
175 |
<dynamic
|
176 |
class="org.txm.rcp.menu.MacrosMenuContribution" |
177 |
id="org.txm.macro.tiger.exploit"> |
178 |
</dynamic>
|
179 |
</menu>
|
180 |
<command
|
181 |
commandId="org.txm.tigersearch.commands.ImportTIGERAnnotations" |
182 |
icon="icons/functions/TSplus.png" |
183 |
style="push"> |
184 |
<visibleWhen
|
185 |
checkEnabled="false"> |
186 |
<or>
|
187 |
<test
|
188 |
forcePluginActivation="true" |
189 |
property="org.txm.rcp.testers.TIGERSearchReady" |
190 |
value="TIGERSearchReady"> |
191 |
</test>
|
192 |
<reference
|
193 |
definitionId="OneMainCorpusSelected"> |
194 |
</reference>
|
195 |
</or>
|
196 |
</visibleWhen>
|
197 |
</command>
|
198 |
</menu>
|
199 |
</menuContribution>
|
200 |
</extension>
|
201 |
<extension
|
202 |
point="org.eclipse.ui.editors"> |
203 |
<editor
|
204 |
class="org.txm.tigersearch.editors.TIGERSearchEditor" |
205 |
default="false" |
206 |
icon="icons/functions/TS.png" |
207 |
id="org.txm.tigersearch.editors.TIGERSearchEditor" |
208 |
name="%editor.name"> |
209 |
</editor>
|
210 |
<editor
|
211 |
class="org.txm.tigersearch.editors.TSIndexEditor" |
212 |
default="false" |
213 |
icon="icons/functions/TSIndex.png" |
214 |
id="org.txm.tigersearch.editors.TSIndexEditor" |
215 |
name="%editor.name.0"> |
216 |
</editor>
|
217 |
</extension>
|
218 |
<extension
|
219 |
point="org.txm.PostInstallationStep"> |
220 |
</extension>
|
221 |
<extension
|
222 |
point="org.txm.PostTXMHOMEInstallationStep"> |
223 |
<PostTXMHOMEInstallationStep
|
224 |
class="org.txm.tigersearch.rcp.InstallGroovyTIGERFiles" |
225 |
description="Install TIGER Groovy Files" |
226 |
name="Install TIGER Groovy Files"> |
227 |
</PostTXMHOMEInstallationStep>
|
228 |
</extension>
|
229 |
<extension
|
230 |
point="org.txm.searchengine.core.SearchEngine"> |
231 |
<SearchEngine
|
232 |
class="org.txm.searchengine.ts.TIGERSearchEngine"> |
233 |
</SearchEngine>
|
234 |
</extension>
|
235 |
<extension
|
236 |
point="org.eclipse.ui.preferencePages"> |
237 |
<page
|
238 |
category="org.txm.rcp.preferences.UserPreferencePage" |
239 |
class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage" |
240 |
id="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage" |
241 |
name="TIGERSearch"> |
242 |
</page>
|
243 |
</extension>
|
244 |
<extension
|
245 |
point="org.eclipse.core.runtime.adapters"> |
246 |
<factory
|
247 |
adaptableType="org.txm.function.tigersearch.TIGERSearch" |
248 |
class="org.txm.tigersearch.rcp.TIGERSearchAdapterFactory"> |
249 |
<adapter
|
250 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
251 |
</adapter>
|
252 |
<adapter
|
253 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
254 |
</adapter>
|
255 |
</factory>
|
256 |
</extension>
|
257 |
<extension
|
258 |
point="org.eclipse.ui.preferencePages"> |
259 |
<page
|
260 |
category="org.txm.rcp.preferences.UserPreferencePage" |
261 |
class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage" |
262 |
id="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage" |
263 |
name="TIGERSearch"> |
264 |
</page>
|
265 |
</extension>
|
266 |
<extension
|
267 |
point="org.eclipse.core.runtime.preferences"> |
268 |
<initializer
|
269 |
class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferences"> |
270 |
</initializer>
|
271 |
</extension>
|
272 |
|
273 |
</plugin>
|