Statistiques
| Révision :

root / tmp / org.txm.tigersearch.rcp / plugin.xml @ 3170

Historique | Voir | Annoter | Télécharger (13,17 ko)

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
      <command
38
            categoryId="TIGERSearch4TXM.commands.category"
39
            defaultHandler="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromDirectory"
40
            id="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromDirectory"
41
            name="Import CONNL-u Annotations from a directory...">
42
      </command>
43
      <command
44
            categoryId="TIGERSearch4TXM.commands.category"
45
            defaultHandler="org.txm.tigersearch.commands.ExportCorpusAsCONNLU"
46
            id="org.txm.tigersearch.commands.ExportCorpusAsCONNLU"
47
            name="Export CONNL-u Annotations...">
48
      </command>
49
      <command
50
            categoryId="TIGERSearch4TXM.commands.category"
51
            defaultHandler="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromFile"
52
            id="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromFile"
53
            name="Import CONNL-u Annotations from a CoNNL-U file...">
54
      </command>
55
   </extension>
56
   <extension
57
         point="org.eclipse.core.expressions.propertyTesters">
58
      <propertyTester
59
            class="org.txm.tigersearch.rcp.tester.TIGERSearchTester"
60
            id="org.txm.rcp.testers.TIGERSearchTester"
61
            namespace="org.txm.rcp.testers"
62
            properties="TIGERSearchReady"
63
            type="java.lang.Object">
64
      </propertyTester>
65
   </extension>
66
   <extension
67
         point="org.eclipse.ui.menus">
68
      <menuContribution
69
            locationURI="menu:menu.help.plugins">
70
         <command
71
               commandId="org.txm.rcp.commands.OpenBrowser"
72
               label="%command.label.0"
73
               style="push">
74
            <parameter
75
                  name="org.txm.rcp.commands.commandParameter2"
76
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#tigersearch">
77
            </parameter>
78
         </command>
79
      </menuContribution>
80
      <menuContribution
81
            locationURI="menu:menu.recettes">
82
         <command
83
               commandId="org.txm.tigersearch.commands.ComputeRecette1"
84
               icon="icons/functions/TSIndex.png"
85
               label="%command.label.1"
86
               style="push">
87
            <visibleWhen
88
                  checkEnabled="false">
89
               <or>
90
                  <reference
91
                        definitionId="OneCorpusSelected">
92
                  </reference>
93
               </or>
94
            </visibleWhen>
95
         </command>
96
         <command
97
               commandId="org.txm.tigersearch.commands.ComputeRecette2"
98
               icon="icons/functions/TSIndex.png"
99
               label="%command.label.2"
100
               style="push">
101
            <visibleWhen
102
                  checkEnabled="false">
103
               <and>
104
                  <count
105
                        value="2">
106
                  </count>
107
                  <iterate>
108
                     <instanceof
109
                           value="org.txm.searchengine.cqp.corpus.CQPCorpus">
110
                     </instanceof>
111
                  </iterate>
112
               </and>
113
            </visibleWhen>
114
         </command>
115
      </menuContribution>
116
      <menuContribution
117
            allPopups="false"
118
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation">
119
         <command
120
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
121
               icon="icons/functions/TS.png"
122
               label="%command.label"
123
               style="push">
124
            <visibleWhen
125
                  checkEnabled="false">
126
               <or>
127
                  <test
128
                        forcePluginActivation="true"
129
                        property="org.txm.rcp.testers.TIGERSearchReady"
130
                        value="TIGERSearchReady">
131
                  </test>
132
               </or>
133
            </visibleWhen>
134
         </command>
135
      </menuContribution>
136
      <menuContribution
137
            allPopups="false"
138
            locationURI="toolbar:org.txm.rcp.toolbartools">
139
         <command
140
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
141
               icon="icons/functions/TS.png"
142
               label="%command.label"
143
               style="push">
144
            <visibleWhen
145
                  checkEnabled="false">
146
               <or>
147
                  <test
148
                        forcePluginActivation="true"
149
                        property="org.txm.rcp.testers.TIGERSearchReady"
150
                        value="TIGERSearchReady">
151
                  </test>
152
               </or>
153
            </visibleWhen>
154
         </command>
155
      </menuContribution>
156
      <menuContribution
157
            locationURI="menu:menu.file.import?before=menu.file.import.separator.software">
158
         <command
159
               commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
160
               icon="icons/functions/TS.png"
161
               label="%command.label.5"
162
               style="push">
163
            <parameter
164
                  name="org.txm.rcp.commands.commandParameter3"
165
                  value="tigersearch/tigersearchLoader.groovy">
166
            </parameter>
167
         </command>
168
      </menuContribution>
169
      <menuContribution
170
            locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools">
171
         <menu
172
               id="menu.ts"
173
               label="TS"
174
               mnemonic="T">
175
            <command
176
                  commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
177
                  icon="icons/functions/TS.png"
178
                  style="push">
179
               <visibleWhen
180
                     checkEnabled="false">
181
                  <or>
182
                     <test
183
                           forcePluginActivation="true"
184
                           property="org.txm.rcp.testers.TIGERSearchReady"
185
                           value="TIGERSearchReady">
186
                     </test>
187
                  </or>
188
               </visibleWhen>
189
            </command>
190
            <menu
191
                  id="menu.tiger.tools"
192
                  label="Tools">
193
               <dynamic
194
                     class="org.txm.tigersearch.rcp.TSMacrosMenuContribution"
195
                     id="org.txm.macro.tiger.exploit">
196
               </dynamic>
197
            </menu>
198
            <command
199
                  commandId="org.txm.tigersearch.commands.ImportTIGERAnnotations"
200
                  icon="icons/functions/TSplus.png"
201
                  style="push">
202
               <visibleWhen
203
                     checkEnabled="false">
204
                  <or>
205
                     <test
206
                           forcePluginActivation="true"
207
                           property="org.txm.rcp.testers.TIGERSearchReady"
208
                           value="TIGERSearchReady">
209
                     </test>
210
                     <reference
211
                           definitionId="OneMainCorpusSelected">
212
                     </reference>
213
                  </or>
214
               </visibleWhen>
215
            </command>
216
            <command
217
                  commandId="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromFile"
218
                  icon="icons/functions/UDplus.png"
219
                  style="push">
220
               <visibleWhen
221
                     checkEnabled="false">
222
                  <or>
223
                     <test
224
                           forcePluginActivation="true"
225
                           property="org.txm.rcp.testers.TIGERSearchReady"
226
                           value="TIGERSearchReady">
227
                     </test>
228
                     <reference
229
                           definitionId="OneMainCorpusSelected">
230
                     </reference>
231
                  </or>
232
               </visibleWhen>
233
            </command>
234
            <command
235
                  commandId="org.txm.tigersearch.commands.ImportCONNLUAnnotationsFromDirectory"
236
                  icon="icons/functions/UDplus.png"
237
                  style="push">
238
               <visibleWhen
239
                     checkEnabled="false">
240
                  <or>
241
                     <test
242
                           forcePluginActivation="true"
243
                           property="org.txm.rcp.testers.TIGERSearchReady"
244
                           value="TIGERSearchReady">
245
                     </test>
246
                     <reference
247
                           definitionId="OneMainCorpusSelected">
248
                     </reference>
249
                  </or>
250
               </visibleWhen>
251
            </command>
252
         </menu>
253
      </menuContribution>
254
      <menuContribution
255
            locationURI="menu:menu.file.export">
256
         <command
257
               commandId="org.txm.tigersearch.commands.ExportCorpusAsCONNLU"
258
               icon="icons/functions/UD.png"
259
               label="Export corpus as CONNL-u..."
260
               style="push">
261
            <visibleWhen
262
                  checkEnabled="false">
263
               <reference
264
                     definitionId="OneMainCorpusSelected">
265
               </reference>
266
            </visibleWhen>
267
         </command>
268
      </menuContribution>
269
      <menuContribution
270
            locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor">
271
         <command
272
               commandId="org.txm.tigersearch.commands.ComputeTIGERSearch"
273
               icon="icons/functions/TS.png"
274
               label="Send To TIGERSearch"
275
               style="push">
276
         </command>
277
      </menuContribution>
278
   </extension>
279
   <extension
280
         point="org.eclipse.ui.editors">
281
      <editor
282
            class="org.txm.tigersearch.editors.TIGERSearchEditor"
283
            default="false"
284
            icon="icons/functions/TS.png"
285
            id="org.txm.tigersearch.editors.TIGERSearchEditor"
286
            name="%editor.name">
287
      </editor>
288
      <editor
289
            class="org.txm.tigersearch.editors.TSIndexEditor"
290
            default="false"
291
            icon="icons/functions/TSIndex.png"
292
            id="org.txm.tigersearch.editors.TSIndexEditor"
293
            name="%editor.name.0">
294
      </editor>
295
   </extension>
296
   <extension
297
         point="org.txm.PostInstallationStep">
298
   </extension>
299
   <extension
300
         point="org.txm.PostTXMHOMEInstallationStep">
301
      <PostTXMHOMEInstallationStep
302
            class="org.txm.tigersearch.rcp.InstallGroovyTIGERFiles"
303
            description="Install TIGER Groovy Files"
304
            name="Install TIGER Groovy Files">
305
      </PostTXMHOMEInstallationStep>
306
   </extension>
307
   <extension
308
         point="org.txm.searchengine.core.SearchEngine">
309
      <SearchEngine
310
            class="org.txm.searchengine.ts.TIGERSearchEngine">
311
      </SearchEngine>
312
   </extension>
313
   <extension
314
         point="org.eclipse.ui.preferencePages">
315
      <page
316
            category="org.txm.rcp.preferences.UserPreferencePage"
317
            class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage"
318
            id="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage"
319
            name="TIGERSearch">
320
      </page>
321
   </extension>
322
   <extension
323
         point="org.eclipse.core.runtime.adapters">
324
      <factory
325
            adaptableType="org.txm.function.tigersearch.TIGERSearch"
326
            class="org.txm.tigersearch.rcp.TIGERSearchAdapterFactory">
327
         <adapter
328
               type="org.eclipse.ui.model.IWorkbenchAdapter">
329
         </adapter>
330
         <adapter
331
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
332
         </adapter>
333
      </factory>
334
   </extension>
335
   <extension
336
         point="org.eclipse.ui.preferencePages">
337
      <page
338
            category="org.txm.searchengine.rcp.preferences.SearchEnginePreferencesPage"
339
            class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage"
340
            id="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferencePage"
341
            name="TIGERSearch">
342
      </page>
343
   </extension>
344
   <extension
345
         point="org.eclipse.core.runtime.preferences">
346
      <initializer
347
            class="org.txm.tigersearch.rcp.preferences.TIGERSearchPreferences">
348
      </initializer>
349
   </extension>
350

    
351
</plugin>