Statistiques
| Révision :

root / TXM / trunk / org.txm.rcp / plugin.xml @ 3534

Historique | Voir | Annoter | Télécharger (133,5 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
   <extension-point id="org.txm.rcp.importsection" name="Import parameter section" schema="schema/org.txm.rcp.importsection.exsd"/>
7
 
8
   <extension
9
         id="Application"
10
         point="org.eclipse.core.runtime.applications">
11
      <application
12
            icon="icons/logo/TXM_logo.png">
13
         <run
14
               class="org.txm.rcp.Application">
15
         </run>
16
      </application>
17
   </extension>
18
   <extension
19
         point="org.eclipse.ui.perspectives">
20
      <perspective
21
            class="org.txm.rcp.perspective.TXMPerspective"
22
            icon="icons/objects/corpus.png"
23
            id="org.txm.rcp.perspective.TXMPerspective"
24
            name="%perspective.name">
25
      </perspective>
26
   </extension>
27
   <extension
28
         id="product"
29
         point="org.eclipse.core.runtime.products">
30
      <product
31
            application="org.txm.rcp.Application"
32
            description="%product.description"
33
            name="TXM 0.8.2">
34
         <property
35
               name="appName"
36
               value="TXM 0.8.2">
37
         </property>
38
         <property
39
               name="windowImages"
40
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM_logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM_logo_64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
41
         </property>
42
         <property
43
               name="startupForegroundColor"
44
               value="000000">
45
         </property>
46
         <property
47
               name="startupMessageRect"
48
               value="13,312,290,20">
49
         </property>
50
         <property
51
               name="aboutImage"
52
               value="icons/logo/about TXM.png">
53
         </property>
54
         <property
55
               name="aboutText"
56
               value="[Contrat d&apos;utilisation du logiciel TXM]&#x0A;&#x0A;TXM 0.8.2 Copyright © 2010-2021 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE INSTALLATION OU MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;[TXM Software User Agreement]&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
57
         </property>
58
         <property
59
               name="startupProgressRect"
60
               value="13,332,290,15">
61
         </property>
62
         <property
63
               name="cssTheme"
64
               value="org.txm.rcp.theme.default.linux2">
65
         </property>
66
         <property
67
               name="preferenceCustomization"
68
               value="plugin_customization.ini">
69
         </property>
70
      </product>
71
   </extension>
72
   <extension
73
         point="org.eclipse.ui.perspectiveExtensions">
74
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
75
         <view
76
               closeable="false"
77
               id="org.txm.rcp.views.corpora.CorporaView"
78
               ratio="0.5"
79
               relationship="right"
80
               relative="org.eclipse.ui.views.TaskList"
81
               showTitle="true"/>
82
         <view
83
               closeable="true"
84
               id="org.eclipse.ui.views.ProgressView"
85
               ratio="0.5"
86
               relationship="bottom"
87
               showTitle="true"
88
               visible="true">
89
         </view>
90
         <view
91
               closeable="true"
92
               id="org.txm.rcp.views.GroovyConsole"
93
               minimized="false"
94
               ratio="0.5"
95
               relationship="bottom"
96
               visible="true">
97
         </view>
98
      </perspectiveExtension>
99
   </extension>
100
   <extension
101
         point="org.eclipse.ui.views">
102
      <category
103
            id="org.txm.rcp"
104
            name="%category.name"/>
105
      <view
106
            category="org.txm.rcp"
107
            class="org.txm.rcp.views.corpora.CorporaView"
108
            icon="icons/objects/corpus.png"
109
            id="org.txm.rcp.views.corpora.CorporaView"
110
            name="%view.name"/>
111
      <view
112
            allowMultiple="false"
113
            category="org.eclipse.ui"
114
            class="org.eclipse.ui.ExtensionFactory:progressView"
115
            id="org.eclipse.ui.views.ProgressView"
116
            name="%view.name.0"
117
            restorable="true">
118
      </view>
119
      <view
120
            allowMultiple="false"
121
            category="org.txm.rcp"
122
            class="org.txm.rcp.views.fileexplorer.Explorer"
123
            icon="icons/objects/folder.png"
124
            id="org.txm.rcp.views.fileexplorer.Explorer"
125
            name="%view.name.1"
126
            restorable="true">
127
      </view>
128
      <view
129
            category="org.txm.rcp.debug"
130
            class="org.txm.rcp.views.SummaryView"
131
            id="org.txm.rcp.views.InternalCorpusView"
132
            name="%view.name.7"
133
            restorable="true">
134
      </view>
135
      <view
136
            allowMultiple="false"
137
            category="org.txm.rcp"
138
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
139
            icon="icons/objects/script.png"
140
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
141
            name="%view.name.8"
142
            restorable="true">
143
      </view>
144
      <view
145
            category="org.txm.rcp.debug"
146
            class="org.txm.rcp.views.cmdparameters.TXMResultParametersView"
147
            icon="icons/functions/Properties.png"
148
            id="org.txm.rcp.views.cmdparameters.ParametersView"
149
            name="%view.name.3"
150
            restorable="true">
151
      </view>
152
      <view
153
            category="org.txm.rcp.debug"
154
            class="org.txm.rcp.views.debug.TXMResultDebugView"
155
            icon="icons/debug.png"
156
            id="org.txm.rcp.views.debug.TXMResultDebugView"
157
            name="%view.name.12"
158
            restorable="true">
159
      </view>
160
      <view
161
            category="org.txm.rcp.debug"
162
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
163
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
164
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
165
            name="%view.name.13"
166
            restorable="true">
167
      </view>
168
      <view
169
            allowMultiple="false"
170
            category="org.txm.rcp.debug"
171
            class="org.txm.rcp.views.debug.EnginesDebugView"
172
            icon="icons/functions/parameters.png"
173
            id="org.txm.rcp.views.debug.EnginesDebugView"
174
            name="%view.name.10"
175
            restorable="true">
176
      </view>
177
      <category
178
            id="org.txm.rcp.debug"
179
            name="%category.name.7"
180
            parentCategory="org.txm.rcp">
181
      </category>
182
      <view
183
            category="org.txm.rcp"
184
            class="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
185
            icon="icons/functions/Properties.png"
186
            id="org.txm.rcp.views.cmdparameters.TXMResultPreferencesView"
187
            name="%view.name.14"
188
            restorable="true">
189
      </view>
190
   </extension>
191
   <extension
192
         point="org.eclipse.core.runtime.adapters">
193
      <factory
194
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
195
            class="org.txm.rcp.AdapterFactory">
196
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
197
      </factory>
198
      <factory
199
            adaptableType="org.txm.core.results.TXMResult"
200
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
201
         <adapter
202
               type="org.eclipse.ui.model.IWorkbenchAdapter">
203
         </adapter>
204
         <adapter
205
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
206
         </adapter>
207
      </factory>
208
      <factory
209
            adaptableType="org.txm.objects.Project"
210
            class="org.txm.rcp.adapters.ProjectAdapterFactory">
211
         <adapter
212
               type="org.eclipse.ui.model.IWorkbenchAdapter">
213
         </adapter>
214
      </factory>
215
      <factory
216
            adaptableType="org.eclipse.core.resources.IProject"
217
            class="org.txm.rcp.adapters.RCPProjectAdapterFactory">
218
         <adapter
219
               type="org.eclipse.ui.model.IWorkbenchAdapter">
220
         </adapter>
221
      </factory>
222

    
223

    
224

    
225

    
226

    
227
 
228
   </extension>
229
   <extension
230
         point="org.eclipse.ui.editors">
231
      <editor
232
            class="org.txm.rcp.editors.SVGGraphicEditor"
233
            default="false"
234
            id="org.txm.rcp.editors.SVGGraphicEditor"
235
            name="%editor.name.3"/>
236
      <editor
237
            class="org.txm.rcp.editors.TXMMultiPageEditor"
238
            default="false"
239
            id="org.txm.rcp.editors.GenericMultiPageEditor"
240
            name="%editor.name.1">
241
      </editor>
242
      <editor
243
            class="org.txm.rcp.editors.TxtEditor"
244
            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
245
            default="false"
246
            icon="icons/objects/file.png"
247
            id="org.txm.rcp.editors.TxtEditor"
248
            name="%editor.name.4">
249
      </editor>
250
      <editor
251
            class="org.txm.rcp.editors.TXMBrowserEditor"
252
            default="false"
253
            icon="icons/objects/edition.png"
254
            id="org.txm.rcp.editors.TXMBrowserEditor"
255
            name="%editor.name.5">
256
      </editor>
257
      <editor
258
            class="org.txm.rcp.editors.objectexplorer.ObjectExplorer"
259
            default="false"
260
            id="org.txm.rcp.editors.ObjectExplorer"
261
            name="%editor.name.6">
262
      </editor>
263
      <editor
264
            class="org.txm.rcp.editors.imports.ImportFormEditor"
265
            default="false"
266
            icon="icons/objects/books.png"
267
            id="org.txm.rcp.editors.imports.ImportFormEditor"
268
            name="%editor.name.15">
269
      </editor>
270
      <editor
271
            class="org.txm.rcp.editors.TXMEditor"
272
            default="false"
273
            id="org.txm.rcp.editors.TXMEditor"
274
            name="%editor.name.2">
275
      </editor>
276
   </extension>
277
   <extension
278
         point="org.eclipse.core.runtime.preferences">
279
      <initializer
280
            class="org.txm.rcp.preferences.RCPPreferences">
281
      </initializer>
282
   </extension>
283
  <extension
284
         point="org.eclipse.ui.preferencePages">
285
      <page
286
            category="org.txm.rcp.preferences.TXMMainPreferencePage"
287
            class="org.txm.rcp.preferences.UserPreferencePage"
288
            id="org.txm.rcp.preferences.UserPreferencePage"
289
            name="%page.name">
290
      </page>
291
      <page
292
            category="org.txm.rcp.preferences.TXMMainPreferencePage"
293
            class="org.txm.rcp.preferences.AdvancedPreferencePage"
294
            id="org.txm.rcp.preferences.AdvancePreferencePage"
295
            name="%page.name.0">
296
      </page>
297
      <page
298
            class="org.txm.rcp.preferences.TXMMainPreferencePage"
299
            id="org.txm.rcp.preferences.TXMMainPreferencePage"
300
            name="%page.name.6">
301
      </page>
302
      <page
303
            category="org.txm.rcp.preferences.AdvancePreferencePage"
304
            class="org.txm.rcp.preferences.NLPPreferencePage"
305
            id="org.txm.rcp.preferences.NLPPreferencePage"
306
            name="%page.name.8">
307
      </page>
308
      <page
309
            category="org.txm.rcp.preferences.UserPreferencePage"
310
            class="org.txm.rcp.preferences.ScriptPreferencePage"
311
            id="org.txm.rcp.preferences.ScriptPreferencePage"
312
            name="%page.name.18">
313
      </page>
314
      <page
315
            category="org.txm.rcp.preferences.UserPreferencePage"
316
            class="org.txm.rcp.preferences.ExportPreferencePage"
317
            id="org.txm.rcp.preferences.ExportPreferencePage"
318
            name="%page.name.12">
319
      </page>
320
      <page
321
            category="org.txm.rcp.preferences.UserPreferencePage"
322
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
323
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
324
            name="%page.name.2">
325
      </page>
326
      <page
327
            category="org.txm.rcp.preferences.UserPreferencePage"
328
            class="org.txm.rcp.preferences.ImportPreferencePage"
329
            id="org.txm.rcp.preferences.ImportPreferencePage"
330
            name="%page.name.19">
331
        </page>
332
      <page
333
            category="org.txm.rcp.preferences.AdvancePreferencePage"
334
            class="org.txm.rcp.preferences.DebugPreferencePage"
335
            id="DebugPreferencePage"
336
            name="%page.name.1">
337
      </page>
338
   </extension>
339
   <extension
340
         point="org.eclipse.ui.menus">
341
      <menuContribution
342
            locationURI="menu:org.eclipse.ui.main.menu">
343
         <menu
344
               id="menu.file"
345
               label="%menu.label">
346
            <separator
347
                  name="menu.file.separator.import"
348
                  visible="true">
349
            </separator>
350
            <menu
351
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
352
                  id="menu.file.import"
353
                  label="%menu.label.0">
354
               <menu
355
                     icon="icons/objects/corpus.png"
356
                     id="menu.file.import.corpus"
357
                     label="Corpus">
358
                <command
359
                     commandId="org.txm.rcp.commands.ImportClipboardText"
360
                     label="%command.label.60"
361
                     style="push"
362
                     tooltip="%command.tooltip.27">
363
               </command>
364
               <command
365
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
366
                     label="%command.label.78"
367
                     style="push"
368
                     tooltip="%command.tooltip.45">
369
                  <parameter
370
                        name="org.txm.rcp.commands.importscript"
371
                        value="txt/txtLoader.groovy">
372
                  </parameter>
373
               </command>
374
               <command
375
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
376
                     label="%command.label.87"
377
                     style="push"
378
                     tooltip="%command.tooltip.66">
379
                  <parameter
380
                        name="org.txm.rcp.commands.importscript"
381
                        value="doc/docLoader.groovy">
382
                  </parameter>
383
               </command>
384
               <separator
385
                     name="menu.file.import.separator.xml"
386
                     visible="true">
387
               </separator>
388
               <command
389
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
390
                     label="%command.label.1"
391
                     style="push"
392
                     tooltip="%command.tooltip.44">
393
                  <parameter
394
                        name="org.txm.rcp.commands.importscript"
395
                        value="xml/xmlLoader.groovy">
396
                  </parameter>
397
               </command>
398
               <command
399
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
400
                     label="%command.label.92"
401
                     style="push"
402
                     tooltip="%command.tooltip.88">
403
                  <parameter
404
                        name="org.txm.rcp.commands.importscript"
405
                        value="xtz/xtzLoader.groovy">
406
                  </parameter>
407
               </command>
408
               <command
409
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
410
                     label="%command.label.5"
411
                     style="push"
412
                     tooltip="%command.tooltip.8">
413
                  <parameter
414
                        name="org.txm.rcp.commands.importscript"
415
                        value="bfm/bfmLoader.groovy">
416
                  </parameter>
417
               </command>
418
               <command
419
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
420
                     label="%command.label.9"
421
                     style="push"
422
                     tooltip="%command.tooltip.9">
423
                  <parameter
424
                        name="org.txm.rcp.commands.importscript"
425
                        value="frantext/frantextLoader.groovy">
426
                  </parameter>
427
               </command>
428
               <command
429
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
430
                     label="%command.label.12"
431
                     style="push"
432
                     tooltip="%command.tooltip.11">
433
                  <parameter
434
                        name="org.txm.rcp.commands.importscript"
435
                        value="xmltxm/xmltxmLoader.groovy">
436
                  </parameter>
437
               </command>
438
               <command
439
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
440
                     label="%command.label.3"
441
                     style="push"
442
                     tooltip="%command.tooltip.5">
443
                  <parameter
444
                        name="org.txm.rcp.commands.importscript"
445
                        value="transcriber/transcriberLoader.groovy">
446
                  </parameter>
447
               </command>
448
               <command
449
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
450
                     label="%command.label.2"
451
                     style="push"
452
                     tooltip="%command.tooltip.1">
453
                  <parameter
454
                        name="org.txm.rcp.commands.importscript"
455
                        value="factiva/factivaLoader.groovy">
456
                  </parameter>
457
               </command>
458
               <command
459
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
460
                     label="%command.label.81"
461
                     style="push"
462
                     tooltip="%command.tooltip.24">
463
                  <parameter
464
                        name="org.txm.rcp.commands.importscript"
465
                        value="tmx/tmxLoader.groovy">
466
                  </parameter>
467
               </command>
468
               <separator
469
                     name="menu.file.import.separator.software"
470
                     visible="true">
471
               </separator>
472
               <command
473
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
474
                     label="%command.label.64"
475
                     style="push"
476
                     tooltip="%command.tooltip.22">
477
                  <parameter
478
                        name="org.txm.rcp.commands.importscript"
479
                        value="factiva/factivamailLoader.groovy">
480
                  </parameter>
481
               </command>
482
               <command
483
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
484
                     label="%command.label.0"
485
                     style="push"
486
                     tooltip="%command.tooltip.28">
487
                  <parameter
488
                        name="org.txm.rcp.commands.importscript"
489
                        value="discours/discoursLoader.groovy">
490
                  </parameter>
491
               </command>
492
               <command
493
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
494
                     label="%command.label.62"
495
                     style="push"
496
                     tooltip="%command.tooltip.30">
497
                  <parameter
498
                        name="org.txm.rcp.commands.importscript"
499
                        value="alceste/alcesteLoader.groovy">
500
                  </parameter>
501
               </command>
502
               <command
503
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
504
                     label="%command.label.61"
505
                     style="push"
506
                     tooltip="%command.tooltip.29">
507
                  <parameter
508
                        name="org.txm.rcp.commands.importscript"
509
                        value="hyperbase/hyperbaseLoader.groovy">
510
                  </parameter>
511
               </command>
512
               <separator
513
                     name="menu.file.import.separator.cqp"
514
                     visible="true">
515
               </separator>
516
               <command
517
                     commandId="org.txm.rcp.handlers.scripts.ExecuteImportScript"
518
                     label="%command.label.82"
519
                     style="push"
520
                     tooltip="%command.tooltip.25">
521
                  <parameter
522
                        name="org.txm.rcp.commands.importscript"
523
                        value="cqp/cqpLoader.groovy">
524
                  </parameter>
525
               </command>
526
               <separator
527
                     name="menu.file.import.separator.end"
528
                     visible="true">
529
               </separator>
530
               </menu>
531
               <menu
532
                     id="menu.file.import.properties"
533
                     label="%menu.label.17">
534
                  <command
535
                        commandId="org.txm.rcp.commands.function.WordPropertiesFromTable"
536
                        style="push">
537
                     <visibleWhen
538
                           checkEnabled="false">
539
                        <reference
540
                              definitionId="OneMainCorpusSelected">
541
                        </reference>
542
                     </visibleWhen>
543
                  </command>
544
               </menu>
545
               <menu
546
                     icon="icons/functions/pencil.png"
547
                     id="menu.file.import.annotations"
548
                     label="%menu.label.15">
549
               </menu>
550
               <command
551
                     commandId="org.txm.rcp.handlers.export.ImportResultParameters"
552
                     icon="icons/functions/import_parameters.png"
553
                     label="Results..."
554
                     style="push">
555
                  <visibleWhen
556
                        checkEnabled="false">
557
                     <and>
558
                        <reference
559
                              definitionId="OneTXMResultSelected">
560
                        </reference>
561
                     </and>
562
                  </visibleWhen>
563
               </command>
564
            </menu>
565
            <menu
566
                  id="menu.file.load"
567
                  label="%menu.label.11">
568
               <command
569
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
570
                     label="%command.label.10"
571
                     style="push">
572
               </command>
573
               <command
574
                     commandId="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
575
                     label="%command.label.11"
576
                     style="push">
577
               </command>
578
               <separator
579
                     name="menu.file.load.separator.end"
580
                     visible="false">
581
               </separator>
582
            </menu>
583
            <menu
584
                  icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
585
                  id="menu.file.export"
586
                  label="%menu.label.5">
587
               <separator
588
                     name="menu.file.export.begin"
589
                     visible="false">
590
               </separator>
591
               <menu
592
                     icon="icons/objects/corpus.png"
593
                     id="menu.file.export.corpus"
594
                     label="%menu.label.16">
595
                  <command
596
                        commandId="org.txm.rcp.commands.ExportXMLTXMFiles"
597
                        icon="icons/objects/script.png"
598
                        style="push">
599
                     <visibleWhen
600
                           checkEnabled="false">
601
                        <and>
602
                           <reference
603
                                 definitionId="OneMainCorpusSelected">
604
                           </reference>
605
                        </and>
606
                     </visibleWhen>
607
                  </command>
608
               </menu>
609
               <menu
610
                     id="menu.file.export.properties"
611
                     label="%menu.label.17">
612
                  <command
613
                        commandId="org.txm.rcp.commands.function.WordPropertiesToTable"
614
                        style="push">
615
                     <visibleWhen
616
                           checkEnabled="false">
617
                        <reference
618
                              definitionId="OneMainCorpusSelected">
619
                        </reference>
620
                     </visibleWhen>
621
                  </command>
622
               </menu>
623
               <menu
624
                     icon="icons/functions/pencil.png"
625
                     id="menu.file.export.annotations"
626
                     label="%menu.label.18">
627
               </menu>
628
               <command
629
                     commandId="org.txm.rcp.commands.function.ExportResult"
630
                     icon="icons/functions/export_data.png"
631
                     label="%command.label.51"
632
                     style="push">
633
                  <visibleWhen
634
                        checkEnabled="false">
635
                     <and>
636
                        <reference
637
                              definitionId="OneTXMResultSelected">
638
                        </reference>
639
                        <not>
640
                           <or>
641
                              <reference
642
                                    definitionId="OnePartitionSelected">
643
                              </reference>
644
                              <reference
645
                                    definitionId="OneCorpusSelected">
646
                              </reference>
647
                           </or>
648
                        </not>
649
                     </and>
650
                  </visibleWhen>
651
               </command>
652
               <command
653
                     commandId="org.txm.rcp.handlers.export.ExportResultParameters"
654
                     icon="icons/functions/export_parameters.png"
655
                     label="Results..."
656
                     style="push">
657
                  <visibleWhen
658
                        checkEnabled="false">
659
                     <and>
660
                        <reference
661
                              definitionId="OneTXMResultSelected">
662
                        </reference>
663
                        <not>
664
                           <reference
665
                                 definitionId="OneMainCorpusSelected">
666
                           </reference>
667
                        </not>
668
                     </and>
669
                  </visibleWhen>
670
               </command>
671
            </menu>
672
            <separator
673
                  name="menu.file.separator.file"
674
                  visible="true">
675
            </separator>
676
            <command
677
                  commandId="org.txm.rcp.commands.CreateFile"
678
                  icon="icons/functions/page_white_add.png"
679
                  label="%command.label.83">
680
            </command>
681
            <command
682
                  commandId="org.txm.rcp.handlers.files.EditFile"
683
                  icon="icons/functions/open.png"
684
                  id="file.open"
685
                  label="%command.label.45"
686
                  style="push">
687
            </command>
688
            <command
689
                  commandId="org.eclipse.ui.file.save"
690
                  icon="icons/functions/save.png"
691
                  label="%command.label.86">
692
            </command>
693
            <command
694
                  commandId="org.eclipse.ui.file.saveAll"
695
                  icon="icons/functions/saveall.png"
696
                  label="%command.label.88">
697
            </command>
698
            <command
699
                  commandId="org.txm.rcp.commands.editor.SaveAs"
700
                  icon="icons/functions/saveas.png"
701
                  label="%command.label.29">
702
               <visibleWhen
703
                     checkEnabled="false">
704
                  <reference
705
                        definitionId="TextEditorActive">
706
                  </reference>
707
               </visibleWhen>
708
            </command>
709
            <command
710
                  commandId="org.eclipse.ui.file.close"
711
                  label="%command.label.90">
712
            </command>
713
            <command
714
                  commandId="org.eclipse.ui.file.closeAll"
715
                  label="%command.label.93">
716
            </command>
717
            <separator
718
                  name="menu.file.separator.open"
719
                  visible="true">
720
            </separator>
721
            <command
722
                  commandId="org.txm.rcp.commands.OpenBrowser"
723
                  label="%command.label"
724
                  style="push"
725
                  tooltip="%command.tooltip">
726
            </command>
727
            <separator
728
                  name="menu.file.separator.lang"
729
                  visible="true">
730
            </separator>
731
            <separator
732
                  name="menu.file.separator.update"
733
                  visible="true">
734
            </separator>
735
            <command
736
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
737
                  label="%command.label.181"
738
                  style="push">
739
               <parameter
740
                     name="org.txm.rcp.parameters.update"
741
                     value="true">
742
               </parameter>
743
            </command>
744
            <command
745
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
746
                  label="%command.label.182"
747
                  style="push">
748
            </command>
749
            <command
750
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
751
                  label="%command.label.34"
752
                  style="push">
753
            </command>
754
            <separator
755
                  name="menu.file.separator.close"
756
                  visible="true">
757
            </separator>
758
            <command
759
                  commandId="org.txm.rcp.commands.RestartTXM"
760
                  label="%command.label.59"
761
                  style="push"
762
                  tooltip="%command.tooltip.26">
763
            </command>
764
            <command
765
                  commandId="org.txm.rcp.commands.ChangeTXMWorkspace"
766
                  style="push">
767
            </command>
768
            <command
769
                  commandId="org.eclipse.ui.file.exit"
770
                  label="%command.label.6"
771
                  style="push"
772
                  tooltip="%command.tooltip.2">
773
            </command>
774
         </menu>
775
         <menu
776
               id="menu.edit"
777
               label="%menu.label.3">
778
               
779
               <command
780
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
781
                  mode="FORCE_TEXT"
782
                  style="toggle">
783
               <visibleWhen
784
                     checkEnabled="false">
785
                  <and>
786
                     <reference
787
                           definitionId="OneTXMResultSelected">
788
                     </reference>
789
                     <test
790
                           property="org.txm.rcp.testers.persistable"
791
                           value="true">
792
                     </test>
793
                     <test
794
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
795
                     </test>
796
                  </and>
797
               </visibleWhen>
798
            </command>
799
            <command
800
                  commandId="org.txm.rcp.commands.function.RenameResult"
801
                  label="%command.label.26"
802
                  style="push">
803
               <visibleWhen
804
                     checkEnabled="false">
805
                  <reference
806
                        definitionId="OneTXMResultSelected">
807
                  </reference>
808
               </visibleWhen>
809
            </command>
810
            <command
811
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
812
                  label="%command.label.37"
813
                  style="push">
814
               <visibleWhen
815
                     checkEnabled="false">
816
                  <and>
817
                     <reference
818
                           definitionId="OneTXMResultSelected">
819
                     </reference>
820
                     <not>
821
                        <reference
822
                              definitionId="OneMainCorpusSelected">
823
                        </reference>
824
                     </not>
825
                  </and>
826
               </visibleWhen>
827
            </command>
828
            <command
829
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
830
                  label="%command.label.38"
831
                  style="push">
832
               <visibleWhen
833
                     checkEnabled="false">
834
                  <and>
835
                     <reference
836
                           definitionId="OneTXMResultSelected">
837
                     </reference>
838
                     <not>
839
                        <reference
840
                              definitionId="OneMainCorpusSelected">
841
                        </reference>
842
                     </not>
843
                  </and>
844
               </visibleWhen>
845
            </command>
846
            <command
847
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
848
                  label="%command.label.42"
849
                  style="push">
850
               <visibleWhen
851
                     checkEnabled="false">
852
                  <and>
853
                     <reference
854
                           definitionId="OneTXMResultSelected">
855
                     </reference>
856
                     <test
857
                           property="org.txm.rcp.testers.IsParentHidden">
858
                     </test>
859
                  </and>
860
               </visibleWhen>
861
            </command>
862
            <command
863
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
864
                  label="%command.label.48"
865
                  style="push">
866
               <visibleWhen
867
                     checkEnabled="false">
868
                  <and>
869
                     <reference
870
                           definitionId="OneTXMResultSelected">
871
                     </reference>
872
                     <test
873
                           property="org.txm.rcp.testers.IsParentVisible"
874
                           value="true">
875
                     </test>
876
                  </and>
877
               </visibleWhen>
878
            </command>
879
            <separator
880
                  name="org.txm.rcp.separator1">
881
            </separator>
882
            
883
            <command
884
                  commandId="org.eclipse.ui.edit.findReplace"
885
                  icon="icons/functions/find.png"
886
                  label="%command.label.159">
887
               <visibleWhen
888
                     checkEnabled="false">
889
                  <reference
890
                        definitionId="TextEditorActive">
891
                  </reference>
892
               </visibleWhen>
893
            </command>
894
            <command
895
                  commandId="org.eclipse.ui.edit.findPrevious"
896
                  icon="icons/functions/find_previous.png"
897
                  label="%command.label.160"
898
                  style="push">
899
               <visibleWhen
900
                     checkEnabled="false">
901
                  <reference
902
                        definitionId="TextEditorActive">
903
                  </reference>
904
               </visibleWhen>
905
            </command>
906
            <command
907
                  commandId="org.eclipse.ui.edit.findNext"
908
                  icon="icons/functions/find_next.png"
909
                  label="%command.label.161"
910
                  style="push">
911
               <visibleWhen
912
                     checkEnabled="false">
913
                  <reference
914
                        definitionId="TextEditorActive">
915
                  </reference>
916
               </visibleWhen>
917
            </command>
918
            <command
919
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
920
                  icon="icons/functions/find_incremental_reverse.png"
921
                  label="%command.label.110"
922
                  style="push">
923
               <visibleWhen
924
                     checkEnabled="false">
925
                  <reference
926
                        definitionId="TextEditorActive">
927
                  </reference>
928
               </visibleWhen>
929
            </command>
930
            <command
931
                  commandId="org.eclipse.ui.edit.findIncremental"
932
                  icon="icons/functions/find_incremental.png"
933
                  label="%command.label.109"
934
                  style="push">
935
               <visibleWhen
936
                     checkEnabled="false">
937
                  <reference
938
                        definitionId="TextEditorActive">
939
                  </reference>
940
               </visibleWhen>
941
            </command>
942
            <separator
943
                  name="org.txm.rcp.separator1"
944
                  visible="true">
945
            </separator>
946
            <command
947
                  commandId="org.eclipse.ui.edit.undo"
948
                  label="%command.label.16">
949
               <visibleWhen
950
                     checkEnabled="false">
951
                  <reference
952
                        definitionId="TextEditorActive">
953
                  </reference>
954
               </visibleWhen>
955
            </command>
956
            <command
957
                  commandId="org.eclipse.ui.edit.redo"
958
                  label="%command.label.17">
959
               <visibleWhen
960
                     checkEnabled="false">
961
                  <reference
962
                        definitionId="TextEditorActive">
963
                  </reference>
964
               </visibleWhen>
965
            </command>
966
            <separator
967
                  name="org.txm.rcp.separator2"
968
                  visible="true">
969
            </separator>
970
            <command
971
                  commandId="org.eclipse.ui.edit.cut"
972
                  label="%command.label.18">
973
               <visibleWhen
974
                     checkEnabled="false">
975
                  <reference
976
                        definitionId="TextEditorActive">
977
                  </reference>
978
               </visibleWhen>
979
            </command>
980
            <command
981
                  commandId="org.eclipse.ui.edit.copy"
982
                  label="%command.label.19">
983
               <visibleWhen
984
                     checkEnabled="false">
985
                  <reference
986
                        definitionId="TextEditorActive">
987
                  </reference>
988
               </visibleWhen>
989
            </command>
990
            <command
991
                  commandId="org.eclipse.ui.edit.paste"
992
                  label="%command.label.20">
993
               <visibleWhen
994
                     checkEnabled="false">
995
                  <reference
996
                        definitionId="TextEditorActive">
997
                  </reference>
998
               </visibleWhen>
999
            </command>
1000
            <command
1001
                  commandId="org.eclipse.ui.edit.delete"
1002
                  label="%command.label.27">
1003
               <visibleWhen
1004
                     checkEnabled="false">
1005
                  <reference
1006
                        definitionId="TextEditorActive">
1007
                  </reference>
1008
               </visibleWhen>
1009
            </command>
1010
            <command
1011
                  commandId="org.eclipse.ui.edit.selectAll"
1012
                  icon="icons/functions/page_allgreen.png"
1013
                  label="%command.label.165">
1014
               <visibleWhen
1015
                     checkEnabled="false">
1016
                  <reference
1017
                        definitionId="TextEditorActive">
1018
                  </reference>
1019
               </visibleWhen>
1020
            </command>
1021
            <separator
1022
                  name="org.txm.rcp.separator3"
1023
                  visible="true">
1024
            </separator>
1025
            <command
1026
                  commandId="org.eclipse.ui.edit.text.goto.line"
1027
                  icon="icons/functions/goto.png"
1028
                  label="%command.label.166"
1029
                  style="push">
1030
               <visibleWhen
1031
                     checkEnabled="false">
1032
                  <reference
1033
                        definitionId="TextEditorActive">
1034
                  </reference>
1035
               </visibleWhen>
1036
            </command>
1037
            <command
1038
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1039
                  icon="icons/functions/world.png"
1040
                  label="%command.label.133"
1041
                  style="push">
1042
               <visibleWhen
1043
                     checkEnabled="false">
1044
                  <reference
1045
                        definitionId="TextEditorActive">
1046
                  </reference>
1047
               </visibleWhen>
1048
            </command>
1049
            <command
1050
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1051
                  icon="icons/functions/encoding.png"
1052
                  label="%command.label.30">
1053
               <visibleWhen
1054
                     checkEnabled="false">
1055
                  <reference
1056
                        definitionId="TextEditorActive">
1057
                  </reference>
1058
               </visibleWhen>
1059
            </command>
1060
            <separator
1061
                  name="org.txm.rcp.separator3"
1062
                  visible="true">
1063
            </separator>
1064
            <command
1065
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1066
                  icon="icons/functions/lines_number.png"
1067
                  label="%command.label.168"
1068
                  style="push">
1069
               <visibleWhen
1070
                     checkEnabled="false">
1071
                  <reference
1072
                        definitionId="TextEditorActive">
1073
                  </reference>
1074
               </visibleWhen>
1075
            </command>
1076
            <command
1077
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1078
                  icon="icons/functions/paragraph.png"
1079
                  label="%command.label.169"
1080
                  style="push"
1081
                  tooltip="%command.tooltip.31">
1082
               <visibleWhen
1083
                     checkEnabled="false">
1084
                  <reference
1085
                        definitionId="TextEditorActive">
1086
                  </reference>
1087
               </visibleWhen>
1088
            </command>
1089
            <command
1090
                  commandId="org.eclipse.ui.file.revert"
1091
                  icon="icons/functions/page_refresh.png"
1092
                  label="%command.label.145"
1093
                  style="push">
1094
               <visibleWhen
1095
                     checkEnabled="false">
1096
                  <reference
1097
                        definitionId="TextEditorActive">
1098
                  </reference>
1099
               </visibleWhen>
1100
            </command>
1101
            <command
1102
                  commandId="org.eclipse.ui.window.preferences"
1103
                  icon="icons/functions/prefs.png"
1104
                  label="%command.label.4"
1105
                  style="push"
1106
                  tooltip="%command.tooltip.0">
1107
            </command>
1108
         </menu>
1109
         <menu
1110
               id="menu.corpus"
1111
               label="%menu.label.1"
1112
               sibling_order="&lt;command&#x0A;                  commandId=&quot;org.txm.rcp.commands.function.ComputeConcordance&quot;&#x0A;                  icon=&quot;icons/functions/Concordances.png&quot;&#x0A;                  label=&quot;%command.label.11&quot;&#x0A;                  style=&quot;push&quot;&#x0A;                  tooltip=&quot;%command.tooltip.7&quot;&gt;&#x0A;               &lt;visibleWhen&#x0A;                     checkEnabled=&quot;false&quot;&gt;&#x0A;                  &lt;reference&#x0A;                        definitionId=&quot;OneCorpusSelected&quot;&gt;&#x0A;                  &lt;/reference&gt;&#x0A;               &lt;/visibleWhen&gt;&#x0A;            &lt;/command&gt;">
1113
            <separator
1114
                  name="menu.corpus.read"
1115
                  visible="true">
1116
            </separator>
1117
            
1118
            <separator
1119
                  name="menu.corpus.build"
1120
                  visible="true">
1121
            </separator>
1122
            <command
1123
                  commandId="org.txm.rcp.commands.workspace.UpdateCorpus"
1124
                  icon="icons/functions/update.png"
1125
                  label="%command.name.98"
1126
                  style="push">
1127
               <visibleWhen
1128
                     checkEnabled="false">
1129
                  <or>
1130
                     <reference
1131
                           definitionId="OneMainCorpusSelected">
1132
                     </reference>
1133
                  </or>
1134
               </visibleWhen>
1135
            </command>
1136
            <command
1137
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1138
                  icon="icons/functions/Delete.png"
1139
                  style="push">
1140
               <visibleWhen
1141
                     checkEnabled="false">
1142
                  <or>
1143
                     <reference
1144
                           definitionId="OneTXMResultSelected">
1145
                     </reference>
1146
                  </or>
1147
               </visibleWhen>
1148
            </command>
1149
            <separator
1150
                  name="menu.corpus.manage"
1151
                  visible="true">
1152
            </separator>
1153
            <command
1154
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
1155
                  label="%command.label.80"
1156
                  style="push">
1157
               <visibleWhen
1158
                     checkEnabled="false">
1159
                  <or>
1160
                     <reference
1161
                           definitionId="OneIProjectSelected">
1162
                     </reference>
1163
                  </or>
1164
               </visibleWhen>
1165
            </command>
1166
            <command
1167
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
1168
                  label="%command.label.96"
1169
                  style="push">
1170
               <visibleWhen
1171
                     checkEnabled="false">
1172
                  <iterate>
1173
                     <and>
1174
                        <instanceof
1175
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
1176
                        </instanceof>
1177
                     </and>
1178
                  </iterate>
1179
               </visibleWhen>
1180
            </command>
1181
            
1182
         </menu>
1183
         <menu
1184
               id="menu.tools"
1185
               label="%menu.label.6">
1186
            <separator
1187
                  name="menu.tools.separator.doc"
1188
                  visible="true">
1189
            </separator>
1190
            
1191
            <separator
1192
                  name="menu.tools.separator.stats"
1193
                  visible="true">
1194
            </separator>
1195
            <separator
1196
                  name="menu.tools.separator.misc"
1197
                  visible="true">
1198
            </separator>
1199
            <separator
1200
                  name="menu.tools.separator.end"
1201
                  visible="true">
1202
            </separator>
1203
         </menu>
1204
         <menu
1205
               id="menu.utilities"
1206
               label="%menu.label.19">
1207
            <dynamic
1208
                  class="org.txm.rcp.menu.MacrosMenuContribution"
1209
                  id="menu.utilities.contribution">
1210
            </dynamic>
1211
         </menu>
1212
         <menu
1213
               id="menu.display"
1214
               label="%menu.label.7"
1215
               tooltip="%menu.tooltip.0">
1216
            <menu
1217
                  id="menu.display.views"
1218
                  label="%menu.label.9">
1219
               <command
1220
                     commandId="org.eclipse.ui.views.showView"
1221
                     icon="icons/objects/corpus.png"
1222
                     label="%command.label.134"
1223
                     style="push">
1224
                  <parameter
1225
                        name="org.eclipse.ui.views.showView.viewId"
1226
                        value="org.txm.rcp.views.corpora.CorporaView">
1227
                  </parameter>
1228
               </command>
1229
               <command
1230
                     commandId="org.eclipse.ui.views.showView"
1231
                     icon="icons/objects/folder.png"
1232
                     label="%command.label.135"
1233
                     style="push">
1234
                  <parameter
1235
                        name="org.eclipse.ui.views.showView.viewId"
1236
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1237
                  </parameter>
1238
               </command>
1239
               <command
1240
                     commandId="org.eclipse.ui.views.showView"
1241
                     icon="icons/objects/script.png"
1242
                     label="%command.label.177"
1243
                     style="push">
1244
                  <parameter
1245
                        name="org.eclipse.ui.views.showView.viewId"
1246
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1247
                  </parameter>
1248
               </command>
1249
               <command
1250
                     commandId="org.eclipse.ui.views.showView"
1251
                     icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.png"
1252
                     label="%command.label.43"
1253
                     style="push">
1254
                  <parameter
1255
                        name="org.eclipse.ui.views.showView.viewId"
1256
                        value="org.eclipse.ui.console.ConsoleView">
1257
                  </parameter>
1258
               </command>
1259
               <separator
1260
                     name="menu.display.views.separator">
1261
               </separator>
1262
               <command
1263
                     commandId="org.eclipse.ui.views.showView"
1264
                     id="org.eclipse.ui.views.showView"
1265
                     label="%command.label.139"
1266
                     style="push">
1267
               </command>
1268
            </menu>
1269
            <menu
1270
                  id="menu.display.perspectives"
1271
                  label="%menu.label.8">
1272
               <command
1273
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1274
                     icon="icons/objects/corpus.png"
1275
                     label="%command.label.131"
1276
                     style="push">
1277
                  <parameter
1278
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1279
                        value="org.txm.rcp.perspective.TXMPerspective">
1280
                  </parameter>
1281
               </command>
1282
            </menu>
1283
            <command
1284
                  commandId="org.txm.rcp.commands.CleanPerspective"
1285
                  style="push">
1286
            </command>
1287
            <command
1288
                  commandId="org.eclipse.ui.window.newWindow"
1289
                  label="%command.label.157">
1290
            </command>
1291
            <command
1292
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1293
                  label="%command.label.75"
1294
                  style="push"
1295
                  tooltip="%command.tooltip.42">
1296
            </command>
1297
         </menu>
1298
         <menu
1299
               id="menu.help"
1300
               label="%menu.label.2"
1301
               tooltip="%menu.tooltip">
1302
            <command
1303
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1304
                  label="%command.label.173"
1305
                  style="push">
1306
            </command>
1307
            <separator
1308
                  name="org.txm.rcp.separator1"
1309
                  visible="true">
1310
            </separator>
1311
            <menu
1312
                  id="menu.help.documentation"
1313
                  label="%menu.label.20">
1314
               <command
1315
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1316
                     label="%command.label.68"
1317
                     style="push"
1318
                     tooltip="%command.tooltip.23">
1319
                  <parameter
1320
                        name="org.txm.rcp.commands.commandParameter3"
1321
                        value="refman">
1322
                  </parameter>
1323
               </command>
1324
               <command
1325
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1326
                     label="%command.label.70"
1327
                     style="push">
1328
                  <parameter
1329
                        name="org.txm.rcp.commands.commandParameter3"
1330
                        value="sf_docs">
1331
                  </parameter>
1332
               </command>
1333
               <command
1334
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1335
                     label="%command.label.35"
1336
                     style="push"
1337
                     tooltip="%command.tooltip.43">
1338
                  <parameter
1339
                        name="org.txm.rcp.commands.commandParameter3"
1340
                        value="txm-users wiki">
1341
                  </parameter>
1342
               </command>
1343
               <command
1344
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1345
                     label="%command.label.178"
1346
                     style="push"
1347
                     tooltip="%command.tooltip.41">
1348
                  <parameter
1349
                        name="org.txm.rcp.commands.commandParameter3"
1350
                        value="faq">
1351
                  </parameter>
1352
               </command>
1353
               <command
1354
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1355
                     label="%command.label.33"
1356
                     style="push"
1357
                     tooltip="%command.tooltip.13">
1358
                  <parameter
1359
                        name="org.txm.rcp.commands.commandParameter3"
1360
                        value="macros">
1361
                  </parameter>
1362
               </command>
1363
               <menu
1364
                     id="menu.help.plugins"
1365
                     label="%menu.label.4">
1366
               </menu>
1367
               <command
1368
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1369
                     label="%command.label.67"
1370
                     style="push"
1371
                     tooltip="%command.tooltip">
1372
                  <parameter
1373
                        name="org.txm.rcp.commands.commandParameter3"
1374
                        value="treetagger">
1375
                  </parameter>
1376
               </command>
1377
            </menu>
1378
            <command
1379
                  commandId="org.eclipse.ui.window.showKeyAssist"
1380
                  label="%command.label.52"
1381
                  style="push">
1382
            </command>
1383
            <separator
1384
                  name="helpSeparator1"
1385
                  visible="true">
1386
            </separator>
1387
            <menu
1388
                  id="menu.help.ressources"
1389
                  label="%menu.label.21">
1390
               <command
1391
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1392
                     label="%command.label.49"
1393
                     style="push"
1394
                     tooltip="%command.tooltip">
1395
                  <parameter
1396
                        name="org.txm.rcp.commands.commandParameter3"
1397
                        value="corpora">
1398
                  </parameter>
1399
               </command>
1400
               <command
1401
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1402
                     label="%command.label.56"
1403
                     style="push"
1404
                     tooltip="%command.tooltip">
1405
                  <parameter
1406
                        name="org.txm.rcp.commands.commandParameter3"
1407
                        value="sf">
1408
                  </parameter>
1409
               </command>
1410
            </menu>
1411
            <menu
1412
                  id="menu.help.community"
1413
                  label="%menu.label.22">
1414
               <command
1415
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1416
                     label="%command.label.55"
1417
                     style="push"
1418
                     tooltip="%command.tooltip">
1419
                  <parameter
1420
                        name="org.txm.rcp.commands.commandParameter3"
1421
                        value="mailinglist">
1422
                  </parameter>
1423
               </command>
1424
               <command
1425
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1426
                     label="%command.label.76"
1427
                     style="push"
1428
                     tooltip="%command.tooltip.65">
1429
                  <parameter
1430
                        name="org.txm.rcp.commands.commandParameter3"
1431
                        value="http://webchat.freenode.net/?channels=txm">
1432
                  </parameter>
1433
               </command>
1434
            </menu>
1435
            <separator
1436
                  name="helpSeparator3"
1437
                  visible="true">
1438
            </separator>
1439
            <menu
1440
                  id="menu.help.textometry"
1441
                  label="%menu.label.23">
1442
               <command
1443
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1444
                     label="%command.label.69"
1445
                     style="push">
1446
                  <parameter
1447
                        name="org.txm.rcp.commands.commandParameter3"
1448
                        value="textometrie">
1449
                  </parameter>
1450
               </command>
1451
               <command
1452
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1453
                     label="%command.label.72"
1454
                     style="push">
1455
                  <parameter
1456
                        name="org.txm.rcp.commands.commandParameter3"
1457
                        value="textometrie_docs">
1458
                  </parameter>
1459
               </command>
1460
            </menu>
1461
            <menu
1462
                  id="menu.help.participate"
1463
                  label="%menu.label.24">
1464
               <command
1465
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1466
                     label="%command.label.53"
1467
                     style="push"
1468
                     tooltip="%command.tooltip">
1469
                  <parameter
1470
                        name="org.txm.rcp.commands.commandParameter3"
1471
                        value="bug">
1472
                  </parameter>
1473
               </command>
1474
               <command
1475
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1476
                     label="%command.label.54"
1477
                     style="push"
1478
                     tooltip="%command.tooltip">
1479
                  <parameter
1480
                        name="org.txm.rcp.commands.commandParameter3"
1481
                        value="feature">
1482
                  </parameter>
1483
               </command>
1484
               <command
1485
                     commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1486
                     label="%command.label.179"
1487
                     style="push"
1488
                     tooltip="%command.tooltip.47">
1489
                  <parameter
1490
                        name="org.txm.rcp.commands.commandParameter3"
1491
                        value="contrib">
1492
                  </parameter>
1493
               </command>
1494
            </menu>
1495
            <separator
1496
                  name="org.txm.rcp.separator4"
1497
                  visible="true">
1498
            </separator>
1499
            <command
1500
                  commandId="org.eclipse.ui.help.aboutAction"
1501
                  label="%command.label.14"
1502
                  style="push"
1503
                  tooltip="%command.tooltip.10">
1504
            </command>
1505
         </menu>
1506
         <menu
1507
               id="menu.recettes"
1508
               label="%menu.label.12"
1509
               tooltip="%menu.tooltip.1">
1510
            <visibleWhen
1511
                  checkEnabled="false">
1512
               <or>
1513
                  <reference
1514
                        definitionId="ExpertEnabled">
1515
                  </reference>
1516
               </or>
1517
            </visibleWhen>
1518
         </menu>
1519
      </menuContribution>
1520
      <menuContribution
1521
            allPopups="true"
1522
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1523
         <separator
1524
               name="org.txm.rcp.toolbars.begin"
1525
               visible="false">
1526
         </separator>
1527
         <toolbar
1528
               id="org.txm.rcp.toolbars.result">
1529
            <command
1530
                  commandId="org.txm.rcp.handlers.export.ImportResultParameters"
1531
                  icon="icons/functions/import_parameters.png"
1532
                  label="Import results"
1533
                  style="push">
1534
               <visibleWhen
1535
                     checkEnabled="false">
1536
                  <and>
1537
                     <reference
1538
                           definitionId="OneTXMResultSelected">
1539
                     </reference>
1540
                  </and>
1541
               </visibleWhen>
1542
            </command>
1543
            <command
1544
                  commandId="org.txm.rcp.commands.function.ExportResult"
1545
                  icon="icons/functions/export_data.png"
1546
                  label="%command.label.51"
1547
                  style="push">
1548
               <visibleWhen
1549
                     checkEnabled="false">
1550
                  <and>
1551
                     <reference
1552
                           definitionId="OneTXMResultSelected">
1553
                     </reference>
1554
                     <not>
1555
                        <or>
1556
                           <reference
1557
                                 definitionId="OnePartitionSelected">
1558
                           </reference>
1559
                           <reference
1560
                                 definitionId="OneCorpusSelected">
1561
                           </reference>
1562
                        </or>
1563
                     </not>
1564
                  </and>
1565
               </visibleWhen>
1566
            </command>
1567
            <command
1568
                  commandId="org.txm.rcp.handlers.export.ExportResultParameters"
1569
                  icon="icons/functions/export_parameters.png"
1570
                  label="Export results..."
1571
                  style="push">
1572
               <visibleWhen
1573
                     checkEnabled="false">
1574
                  <and>
1575
                     <reference
1576
                           definitionId="OneTXMResultSelected">
1577
                     </reference>
1578
                     <not>
1579
                        <reference
1580
                              definitionId="OneMainCorpusSelected">
1581
                        </reference>
1582
                     </not>
1583
                  </and>
1584
               </visibleWhen>
1585
            </command>
1586
         </toolbar>
1587
         <separator
1588
               name="org.txm.rcp.toolbar.separator1"
1589
               visible="false">
1590
         </separator>
1591
         <toolbar
1592
               id="org.txm.rcp.toolbarcorpus">
1593
            <separator
1594
                  name="org.txm.rcp.toolbarcorpus.read"
1595
                  visible="false">
1596
            </separator>
1597
            <command
1598
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1599
                  icon="icons/functions/Delete.png"
1600
                  style="push"
1601
                  tooltip="%command.tooltip.33">
1602
               <visibleWhen
1603
                     checkEnabled="false">
1604
                  <or>
1605
                     <reference
1606
                           definitionId="OneTXMResultSelected">
1607
                     </reference>
1608
                  </or>
1609
               </visibleWhen>
1610
            </command>
1611
            
1612
            <separator
1613
                  name="org.txm.rcp.toolbarcorpus.corpus"
1614
                  visible="false">
1615
            </separator>
1616
            <separator
1617
                  name="org.txm.rcp.toolbarcorpus.annotation"
1618
                  visible="false">
1619
            </separator>
1620
         </toolbar>
1621
         <separator
1622
               name="org.txm.rcp.toolbar.separator1"
1623
               visible="true">
1624
         </separator>
1625
         <toolbar
1626
               id="org.txm.rcp.toolbartools">
1627
            <separator
1628
                  name="org.txm.rcp.separator1"
1629
                  visible="true">
1630
            </separator>
1631
            <separator
1632
                  name="org.txm.rcp.toolbartools.stats"
1633
                  visible="true">
1634
            </separator>
1635

    
1636
            <command
1637
                  commandId="org.eclipse.ui.window.preferences"
1638
                  icon="icons/functions/prefs.png"
1639
                  label="%command.label.4"
1640
                  style="push"
1641
                  tooltip="%command.tooltip.0">
1642
            </command>
1643
            <separator
1644
                  name="org.txm.rcp.toolbars.tools.separators.extensions"
1645
                  visible="true">
1646
            </separator>
1647
         </toolbar>
1648
         <separator
1649
               name="org.txm.rcp.toolbar.separator2"
1650
               visible="true">
1651
         </separator>
1652
         <toolbar
1653
               id="org.txm.rcp.toolbartext">
1654
            <command
1655
                  commandId="org.txm.rcp.commands.CreateFile"
1656
                  icon="icons/functions/page_white_add.png"
1657
                  label="%command.label.83"
1658
                  tooltip="%command.tooltip.34">
1659
            </command>
1660
            <command
1661
                  commandId="org.txm.rcp.handlers.files.EditFile"
1662
                  icon="icons/functions/open.png"
1663
                  label="%command.label.45"
1664
                  style="push">
1665
            </command>
1666
            <command
1667
                  commandId="org.eclipse.ui.file.save"
1668
                  icon="icons/functions/save.png"
1669
                  label="%command.label.88"
1670
                  style="push">
1671
               <visibleWhen
1672
                     checkEnabled="false">
1673
                  <reference
1674
                        definitionId="TextEditorActive">
1675
                  </reference>
1676
               </visibleWhen>
1677
            </command>
1678
            <command
1679
                  commandId="org.txm.rcp.commands.editor.SaveAs"
1680
                  icon="icons/functions/saveas.png"
1681
                  label="%command.label.29">
1682
               <visibleWhen
1683
                     checkEnabled="false">
1684
                  <reference
1685
                        definitionId="TextEditorActive">
1686
                  </reference>
1687
               </visibleWhen>
1688
            </command>
1689
            <separator
1690
                  name="org.txm.rcp.separator3"
1691
                  visible="true">
1692
            </separator>
1693
            <command
1694
                  commandId="org.eclipse.ui.edit.undo"
1695
                  label="%command.label.16">
1696
               <visibleWhen
1697
                     checkEnabled="false">
1698
                  <reference
1699
                        definitionId="TextEditorActive">
1700
                  </reference>
1701
               </visibleWhen>
1702
            </command>
1703
            <command
1704
                  commandId="org.eclipse.ui.edit.redo"
1705
                  label="%command.label.17">
1706
               <visibleWhen
1707
                     checkEnabled="false">
1708
                  <reference
1709
                        definitionId="TextEditorActive">
1710
                  </reference>
1711
               </visibleWhen>
1712
            </command>
1713
            <command
1714
                  commandId="org.eclipse.ui.edit.cut"
1715
                  label="%command.label.18">
1716
               <visibleWhen
1717
                     checkEnabled="false">
1718
                  <reference
1719
                        definitionId="TextEditorActive">
1720
                  </reference>
1721
               </visibleWhen>
1722
            </command>
1723
            <command
1724
                  commandId="org.eclipse.ui.edit.copy"
1725
                  label="%command.label.19">
1726
               <visibleWhen
1727
                     checkEnabled="false">
1728
                  <reference
1729
                        definitionId="TextEditorActive">
1730
                  </reference>
1731
               </visibleWhen>
1732
            </command>
1733
            <command
1734
                  commandId="org.eclipse.ui.edit.paste"
1735
                  label="%command.label.20">
1736
               <visibleWhen
1737
                     checkEnabled="false">
1738
                  <reference
1739
                        definitionId="TextEditorActive">
1740
                  </reference>
1741
               </visibleWhen>
1742
            </command>
1743
            <command
1744
                  commandId="org.eclipse.ui.edit.delete"
1745
                  label="%command.label.27">
1746
               <visibleWhen
1747
                     checkEnabled="false">
1748
                  <reference
1749
                        definitionId="TextEditorActive">
1750
                  </reference>
1751
               </visibleWhen>
1752
            </command>
1753
            <command
1754
                  commandId="org.eclipse.ui.edit.selectAll"
1755
                  icon="icons/functions/page_allgreen.png"
1756
                  label="%command.label.165">
1757
               <visibleWhen
1758
                     checkEnabled="false">
1759
                  <reference
1760
                        definitionId="TextEditorActive">
1761
                  </reference>
1762
               </visibleWhen>
1763
            </command>
1764
            <separator
1765
                  name="org.txm.rcp.separator1"
1766
                  visible="true">
1767
            </separator>
1768
            <command
1769
                  commandId="org.eclipse.ui.edit.findReplace"
1770
                  icon="icons/functions/find.png"
1771
                  label="%command.label.159">
1772
               <visibleWhen
1773
                     checkEnabled="false">
1774
                  <reference
1775
                        definitionId="TextEditorActive">
1776
                  </reference>
1777
               </visibleWhen>
1778
            </command>
1779
            <command
1780
                  commandId="org.eclipse.ui.edit.findPrevious"
1781
                  icon="icons/functions/find_previous.png"
1782
                  label="%command.label.160"
1783
                  style="push">
1784
               <visibleWhen
1785
                     checkEnabled="false">
1786
                  <reference
1787
                        definitionId="TextEditorActive">
1788
                  </reference>
1789
               </visibleWhen>
1790
            </command>
1791
            <command
1792
                  commandId="org.eclipse.ui.edit.findNext"
1793
                  icon="icons/functions/find_next.png"
1794
                  label="%command.label.161"
1795
                  style="push">
1796
               <visibleWhen
1797
                     checkEnabled="false">
1798
                  <reference
1799
                        definitionId="TextEditorActive">
1800
                  </reference>
1801
               </visibleWhen>
1802
            </command>
1803
            <command
1804
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
1805
                  icon="icons/functions/find_incremental_reverse.png"
1806
                  label="%command.label.163"
1807
                  style="push">
1808
               <visibleWhen
1809
                     checkEnabled="false">
1810
                  <reference
1811
                        definitionId="TextEditorActive">
1812
                  </reference>
1813
               </visibleWhen>
1814
            </command>
1815
            <command
1816
                  commandId="org.eclipse.ui.edit.findIncremental"
1817
                  icon="icons/functions/find_incremental.png"
1818
                  label="%command.label.162"
1819
                  style="push">
1820
               <visibleWhen
1821
                     checkEnabled="false">
1822
                  <reference
1823
                        definitionId="TextEditorActive">
1824
                  </reference>
1825
               </visibleWhen>
1826
            </command>
1827
            <separator
1828
                  name="org.txm.rcp.separator2"
1829
                  visible="true">
1830
            </separator>
1831
            <command
1832
                  commandId="org.eclipse.ui.edit.text.goto.line"
1833
                  icon="icons/functions/goto.png"
1834
                  label="%command.label.166"
1835
                  style="push">
1836
               <visibleWhen
1837
                     checkEnabled="false">
1838
                  <reference
1839
                        definitionId="TextEditorActive">
1840
                  </reference>
1841
               </visibleWhen>
1842
            </command>
1843
            <command
1844
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1845
                  icon="icons/functions/lines_number.png"
1846
                  label="%command.label.168"
1847
                  style="push">
1848
               <visibleWhen
1849
                     checkEnabled="false">
1850
                  <reference
1851
                        definitionId="TextEditorActive">
1852
                  </reference>
1853
               </visibleWhen>
1854
            </command>
1855
            <command
1856
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1857
                  icon="icons/functions/paragraph.png"
1858
                  label="%command.label.169"
1859
                  style="push"
1860
                  tooltip="%command.tooltip.35">
1861
               <visibleWhen
1862
                     checkEnabled="false">
1863
                  <reference
1864
                        definitionId="TextEditorActive">
1865
                  </reference>
1866
               </visibleWhen>
1867
            </command>
1868
            <command
1869
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1870
                  icon="icons/functions/world.png"
1871
                  label="%command.label.133"
1872
                  style="push">
1873
               <visibleWhen
1874
                     checkEnabled="false">
1875
                  <reference
1876
                        definitionId="TextEditorActive">
1877
                  </reference>
1878
               </visibleWhen>
1879
            </command>
1880
            <command
1881
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1882
                  icon="icons/functions/encoding.png"
1883
                  label="%command.label.30">
1884
               <visibleWhen
1885
                     checkEnabled="false">
1886
                  <reference
1887
                        definitionId="TextEditorActive">
1888
                  </reference>
1889
               </visibleWhen>
1890
            </command>
1891
            <command
1892
                  commandId="org.eclipse.ui.file.revert"
1893
                  icon="icons/functions/page_refresh.png"
1894
                  label="%command.label.145"
1895
                  style="push">
1896
               <visibleWhen
1897
                     checkEnabled="false">
1898
                  <reference
1899
                        definitionId="TextEditorActive">
1900
                  </reference>
1901
               </visibleWhen>
1902
            </command>
1903
         </toolbar>
1904
         <separator
1905
               name="org.txm.rcp.toolbar.separator3"
1906
               visible="true">
1907
         </separator>
1908
         <toolbar
1909
               id="org.txm.rcp.toolbarscript">
1910
            <command
1911
                  commandId="org.txm.rcp.commands.ExecuteScript"
1912
                  icon="icons/functions/run.png"
1913
                  label="%command.label.170"
1914
                  style="push"
1915
                  tooltip="%command.tooltip.14">
1916
               <visibleWhen
1917
                     checkEnabled="false">
1918
                  <reference
1919
                        definitionId="TextEditorActive">
1920
                  </reference>
1921
               </visibleWhen>
1922
            </command>
1923
            <command
1924
                  commandId="org.txm.rcp.commands.ExecuteText"
1925
                  icon="icons/functions/page_select_go.png"
1926
                  label="%command.label.171"
1927
                  style="push"
1928
                  tooltip="%command.tooltip.36">
1929
               <visibleWhen
1930
                     checkEnabled="false">
1931
                  <reference
1932
                        definitionId="TextEditorActive">
1933
                  </reference>
1934
               </visibleWhen>
1935
            </command>
1936
            <command
1937
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1938
                  icon="icons/functions/page_go.png"
1939
                  label="%command.label.172"
1940
                  style="push"
1941
                  tooltip="%command.tooltip.37">
1942
               <visibleWhen
1943
                     checkEnabled="false">
1944
                  <reference
1945
                        definitionId="TextEditorActive">
1946
                  </reference>
1947
               </visibleWhen>
1948
            </command>
1949
            <command
1950
                  commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
1951
                  icon="icons/functions/rerun.png"
1952
                  label="%command.label.40"
1953
                  style="push"
1954
                  tooltip="%command.tooltip.50">
1955
            </command>
1956
         </toolbar>
1957
         <separator
1958
               name="org.txm.rcp.toolbar.separator4"
1959
               visible="true">
1960
         </separator>
1961
          <toolbar
1962
               id="org.txm.rcp.toolbarfile">
1963
         </toolbar>
1964
      </menuContribution>
1965
      <menuContribution
1966
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
1967
         <command
1968
               commandId="org.txm.rcp.commands.CreateFile"
1969
               label="%command.label.122"
1970
               style="push"
1971
               tooltip="%command.tooltip.75">
1972
            <visibleWhen
1973
                  checkEnabled="false">
1974
               <reference
1975
                     definitionId="OneFileSelected">
1976
               </reference>
1977
            </visibleWhen>
1978
         </command>
1979
         <command
1980
               commandId="org.txm.rcp.commands.CreateFolder"
1981
               label="%command.label.123"
1982
               style="push"
1983
               tooltip="%command.tooltip.76">
1984
            <visibleWhen
1985
                  checkEnabled="false">
1986
               <reference
1987
                     definitionId="OneFileSelected">
1988
               </reference>
1989
            </visibleWhen>
1990
         </command>
1991
         <command
1992
               commandId="org.txm.rcp.commands.EditSelectedFile"
1993
               label="%command.label.186"
1994
               style="push"
1995
               tooltip="%command.tooltip.17">
1996
            <visibleWhen
1997
                  checkEnabled="false">
1998
               <reference
1999
                     definitionId="OneFileSelected">
2000
               </reference>
2001
            </visibleWhen>
2002
         </command>
2003
         <command
2004
               commandId="org.txm.rcp.commands.OpenBrowser"
2005
               label="%command.label"
2006
               style="push"
2007
               tooltip="%command.tooltip.18">
2008
            <visibleWhen
2009
                  checkEnabled="false">
2010
               <reference
2011
                     definitionId="OneFileSelected">
2012
               </reference>
2013
            </visibleWhen>
2014
         </command>
2015
         <command
2016
               commandId="org.txm.rcp.commands.ExecuteScript"
2017
               label="%command.label.23"
2018
               style="push"
2019
               tooltip="%command.tooltip.19">
2020
            <visibleWhen
2021
                  checkEnabled="false">
2022
               <reference
2023
                     definitionId="OneFileSelected">
2024
               </reference>
2025
            </visibleWhen>
2026
         </command>
2027
         <command
2028
               commandId="org.txm.rcp.commands.ShowSelected"
2029
               style="push">
2030
         </command>
2031
         <command
2032
               commandId="org.txm.rcp.commands.RenameFile"
2033
               style="push">
2034
            <visibleWhen
2035
                  checkEnabled="false">
2036
               <reference
2037
                     definitionId="OneFileSelected">
2038
               </reference>
2039
            </visibleWhen>
2040
         </command>
2041
         <command
2042
               commandId="org.txm.rcp.commands.CopyFile"
2043
               style="push"
2044
               tooltip="%command.tooltip.16">
2045
            <visibleWhen
2046
                  checkEnabled="false">
2047
               <reference
2048
                     definitionId="OneFileSelected">
2049
               </reference>
2050
            </visibleWhen>
2051
         </command>
2052
         <command
2053
               commandId="org.txm.rcp.commands.CutFile"
2054
               style="push"
2055
               tooltip="%command.tooltip.20">
2056
            <visibleWhen
2057
                  checkEnabled="false">
2058
               <reference
2059
                     definitionId="OneFileSelected">
2060
               </reference>
2061
            </visibleWhen>
2062
         </command>
2063
         <command
2064
               commandId="org.txm.rcp.commands.PasteFile"
2065
               style="push"
2066
               tooltip="%command.tooltip.21">
2067
            <visibleWhen
2068
                  checkEnabled="false">
2069
               <reference
2070
                     definitionId="OneFileSelected">
2071
               </reference>
2072
            </visibleWhen>
2073
         </command>
2074
      </menuContribution>
2075
      <menuContribution
2076
            locationURI="popup:#TextEditorContext">
2077
         <menu
2078
               label="%menu.label.10">
2079
            <command
2080
                  commandId="org.txm.rcp.commands.ExecuteGroovyText"
2081
                  label="%command.label.25"
2082
                  style="push">
2083
            </command>
2084
            <command
2085
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovy"
2086
                  label="%command.name.21"
2087
                  style="push">
2088
            </command>
2089
            <command
2090
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2091
                  label="%command.label.156"
2092
                  style="push">
2093
            </command>
2094
         </menu>
2095
      </menuContribution>
2096
      <menuContribution
2097
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
2098
         <separator
2099
               name="org.txm.rcp.corporaview.begin"
2100
               visible="true"/>
2101
               <menu
2102
                     icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/export_wiz.png"
2103
                     id="org.txm.rcp.corporaview.export"
2104
                     label="%menu.label.13">
2105
                  <command
2106
                        commandId="org.txm.rcp.commands.function.ExportResult"
2107
                        icon="icons/functions/export_data.png"
2108
                        label="%command.label.51"
2109
                        style="push">
2110
                     <visibleWhen
2111
                           checkEnabled="false">
2112
                        <and>
2113
                           <reference
2114
                                 definitionId="OneTXMResultSelected">
2115
                           </reference>
2116
                           <not>
2117
                              <or>
2118
                                 <reference
2119
                                       definitionId="OnePartitionSelected">
2120
                                 </reference>
2121
                                 <reference
2122
                                       definitionId="OneCorpusSelected">
2123
                                 </reference>
2124
                              </or>
2125
                           </not>
2126
                        </and>
2127
                     </visibleWhen>
2128
                  </command>
2129
                  <command
2130
                        commandId="org.txm.rcp.handlers.export.ExportResultParameters"
2131
                        icon="icons/functions/export_parameters.png"
2132
                        label="Results..."
2133
                        style="push">
2134
                     <visibleWhen
2135
                           checkEnabled="false">
2136
                        <and>
2137
                           <reference
2138
                                 definitionId="OneTXMResultSelected">
2139
                           </reference>
2140
                           <not>
2141
                              <reference
2142
                                    definitionId="OneMainCorpusSelected">
2143
                              </reference>
2144
                           </not>
2145
                        </and>
2146
                     </visibleWhen>
2147
                  </command>
2148
               </menu>
2149
            <command
2150
                  commandId="org.txm.rcp.handlers.export.ImportResultParameters"
2151
                  icon="icons/functions/import_parameters.png"
2152
                  label="Import results"
2153
                  style="push">
2154
               <visibleWhen
2155
                     checkEnabled="false">
2156
                  <and>
2157
                     <reference
2158
                           definitionId="OneTXMResultSelected">
2159
                     </reference>
2160
                  </and>
2161
               </visibleWhen>
2162
            </command>
2163
            
2164
            <separator
2165
                  name="org.txm.rcp.corporaview.corpus"
2166
                  visible="true">
2167
            </separator>
2168
            <separator
2169
                  name="org.txm.rcp.corporaview.corpus.read"
2170
                  visible="true">
2171
            </separator>
2172
            <separator
2173
                  name="org.txm.rcp.corporaview.corpus.manage"
2174
                  visible="true">
2175
            </separator>
2176
            <separator
2177
                  name="org.txm.rcp.corporaview.annotation"
2178
                  visible="true">
2179
            </separator>
2180
            <separator
2181
                  name="org.txm.rcp.corporaview.tools"
2182
                  visible="true">
2183
            </separator>
2184
            <separator
2185
                  name="org.txm.rcp.corporaview.tools.doc"
2186
                  visible="true">
2187
            </separator>
2188
            <separator
2189
                  name="org.txm.rcp.corporaview.tools.stat"
2190
                  visible="true">
2191
            </separator>
2192
            <separator
2193
                  name="org.txm.rcp.corporaview.tools.misc"
2194
                  visible="true">
2195
            </separator>
2196
         <separator
2197
               name="org.txm.rcp.corporaview.text"
2198
               visible="true">
2199
         </separator>
2200
         <separator
2201
               name="org.txm.rcp.corporaview.file"
2202
               visible="true">
2203
         </separator>
2204
            <command
2205
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2206
                  mode="FORCE_TEXT"
2207
                  style="toggle">
2208
               <visibleWhen
2209
                     checkEnabled="false">
2210
                  <and>
2211
                     <reference
2212
                           definitionId="OneTXMResultSelected">
2213
                     </reference>
2214
                     <test
2215
                           property="org.txm.rcp.testers.persistable"
2216
                           value="true">
2217
                     </test>
2218
                     <test
2219
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
2220
                     </test>
2221
                  </and>
2222
               </visibleWhen>
2223
            </command>
2224
            
2225
            <command
2226
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2227
                  icon="icons/functions/Delete.png"
2228
                  style="push">
2229
               <visibleWhen
2230
                     checkEnabled="false">
2231
                  <or>
2232
                     <reference
2233
                           definitionId="OneTXMResultSelected">
2234
                     </reference>
2235
                  </or>
2236
               </visibleWhen>
2237
            </command>
2238
            <command
2239
                  commandId="org.txm.rcp.commands.function.RenameResult"
2240
                  label="%command.label.26"
2241
                  style="push">
2242
               <visibleWhen
2243
                     checkEnabled="false">
2244
                  <reference
2245
                        definitionId="OneTXMResultSelected">
2246
                  </reference>
2247
               </visibleWhen>
2248
            </command>
2249
            <command
2250
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2251
                  label="%command.label.372"
2252
                  style="push">
2253
               <visibleWhen
2254
                     checkEnabled="false">
2255
                  <and>
2256
                     <reference
2257
                           definitionId="OneTXMResultSelected">
2258
                     </reference>
2259
                     <not>
2260
                        <reference
2261
                              definitionId="OneMainCorpusSelected">
2262
                        </reference>
2263
                     </not>
2264
                  </and>
2265
               </visibleWhen>
2266
            </command>
2267
            <command
2268
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
2269
                  label="%command.label.85"
2270
                  style="push">
2271
               <visibleWhen
2272
                     checkEnabled="false">
2273
                  <and>
2274
                     <reference
2275
                           definitionId="OneTXMResultSelected">
2276
                     </reference>
2277
                     <not>
2278
                        <reference
2279
                              definitionId="OneMainCorpusSelected">
2280
                        </reference>
2281
                     </not>
2282
                  </and>
2283
               </visibleWhen>
2284
            </command>
2285
            <command
2286
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
2287
                  label="%command.label.91"
2288
                  style="push">
2289
               <visibleWhen
2290
                     checkEnabled="false">
2291
                  <and>
2292
                     <reference
2293
                           definitionId="OneTXMResultSelected">
2294
                     </reference>
2295
                     <test
2296
                           property="org.txm.rcp.testers.IsParentHidden">
2297
                     </test>
2298
                  </and>
2299
               </visibleWhen>
2300
            </command>
2301
            <command
2302
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
2303
                  label="%command.label.95"
2304
                  style="push">
2305
               <visibleWhen
2306
                     checkEnabled="false">
2307
                  <and>
2308
                     <reference
2309
                           definitionId="OneTXMResultSelected">
2310
                     </reference>
2311
                     <test
2312
                           property="org.txm.rcp.testers.IsParentVisible"
2313
                           value="true">
2314
                     </test>
2315
                  </and>
2316
               </visibleWhen>
2317
            </command>
2318
            <command
2319
                  commandId="org.txm.rcp.commands.workspace.OpenCorpus"
2320
                  label="%command.label.97"
2321
                  style="push">
2322
               <visibleWhen
2323
                     checkEnabled="false">
2324
                  <or>
2325
                     <reference
2326
                           definitionId="OneIProjectSelected">
2327
                     </reference>
2328
                  </or>
2329
               </visibleWhen>
2330
            </command>
2331
            <command
2332
                  commandId="org.txm.rcp.commands.workspace.CloseCorpus"
2333
                  label="%command.label.99"
2334
                  style="push">
2335
               <visibleWhen
2336
                     checkEnabled="false">
2337
                  <iterate>
2338
                     <and>
2339
                        <instanceof
2340
                              value="org.txm.searchengine.cqp.corpus.MainCorpus">
2341
                        </instanceof>
2342
                     </and>
2343
                  </iterate>
2344
               </visibleWhen>
2345
            </command>
2346
            <separator
2347
                  name="org.txm.rcp.corporaview.preferences"
2348
                  visible="true">
2349
            </separator>
2350
            <command
2351
                  commandId="org.txm.rcp.handlers.results.OpenPreferences"
2352
                  icon="icons/functions/prefs.png"
2353
                  label="%command.label.4"
2354
                  style="push">
2355
            </command>
2356

    
2357
      </menuContribution>
2358

    
2359
      <menuContribution
2360
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2361
         <command
2362
               commandId="org.txm.rcp.commands.function.ExportSVG"
2363
               label="%command.label.101"
2364
               style="push"
2365
               tooltip="%command.tooltip.60">
2366
            <visibleWhen
2367
                  checkEnabled="false">
2368
               <reference
2369
                     definitionId="SVGEditorActive">
2370
               </reference>
2371
            </visibleWhen>
2372
         </command>
2373
      </menuContribution>
2374
      <menuContribution
2375
            locationURI="popup:org.txm.rcp.views.QueriesView">
2376
         <command
2377
               commandId="org.txm.rcp.commands.queryview.Copy"
2378
               label="%command.label.129"
2379
               style="push"
2380
               tooltip="%command.tooltip.81">
2381
            <visibleWhen
2382
                  checkEnabled="false">
2383
               <reference
2384
                     definitionId="OneQueryLogSelected">
2385
               </reference>
2386
            </visibleWhen>
2387
         </command>
2388
         <command
2389
               commandId="org.txm.rcp.commands.queryview.Paste"
2390
               label="%command.label.130"
2391
               style="push"
2392
               tooltip="%command.tooltip.82">
2393
            <visibleWhen
2394
                  checkEnabled="false">
2395
               <reference
2396
                     definitionId="OneBaseSelected">
2397
               </reference>
2398
            </visibleWhen>
2399
         </command>
2400
         <command
2401
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2402
               icon="icons/functions/Delete.png"
2403
               label="%command.label.65"
2404
               style="push"
2405
               tooltip="%command.tooltip.33">
2406
            <visibleWhen
2407
                  checkEnabled="false">
2408
               <reference
2409
                     definitionId="OneQueryLogSelected">
2410
               </reference>
2411
            </visibleWhen>
2412
         </command>
2413
      </menuContribution>
2414
      <menuContribution
2415
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2416
         <command
2417
               commandId="org.txm.rcp.commands.ExecuteMacro"
2418
               label="%command.label.23"
2419
               style="push"
2420
               tooltip="%command.tooltip.19">
2421
            <visibleWhen
2422
                  checkEnabled="false">
2423
               <reference
2424
                     definitionId="OneFileSelected">
2425
               </reference>
2426
            </visibleWhen>
2427
         </command>
2428
         <command
2429
               commandId="org.txm.rcp.commands.EditSelectedFile"
2430
               label="%command.label.186"
2431
               style="push"
2432
               tooltip="%command.tooltip.86">
2433
            <visibleWhen
2434
                  checkEnabled="false">
2435
               <reference
2436
                     definitionId="OneFileSelected">
2437
               </reference>
2438
            </visibleWhen>
2439
         </command>
2440
         <command
2441
               commandId="org.txm.rcp.commands.CreateMacro"
2442
               label="%command.label.187"
2443
               style="push"
2444
               tooltip="%command.tooltip.92">
2445
            <visibleWhen
2446
                  checkEnabled="false">
2447
               <reference
2448
                     definitionId="OneFileSelected">
2449
               </reference>
2450
            </visibleWhen>
2451
         </command>
2452
         <command
2453
               commandId="org.txm.rcp.commands.CreateFolder"
2454
               label="%command.label.123"
2455
               style="push"
2456
               tooltip="%command.tooltip.76">
2457
            <visibleWhen
2458
                  checkEnabled="false">
2459
               <reference
2460
                     definitionId="OneFileSelected">
2461
               </reference>
2462
            </visibleWhen>
2463
         </command>
2464
         <command
2465
               commandId="org.txm.rcp.commands.ShowSelected"
2466
               style="push">
2467
         </command>
2468
         <command
2469
               commandId="org.txm.rcp.commands.RenameFile"
2470
               style="push">
2471
            <visibleWhen
2472
                  checkEnabled="false">
2473
               <reference
2474
                     definitionId="OneFileSelected">
2475
               </reference>
2476
            </visibleWhen>
2477
         </command>
2478
         <command
2479
               commandId="org.txm.rcp.commands.DeleteFile"
2480
               style="push"
2481
               tooltip="%command.tooltip.15">
2482
            <visibleWhen
2483
                  checkEnabled="false">
2484
               <reference
2485
                     definitionId="OneFileSelected">
2486
               </reference>
2487
            </visibleWhen>
2488
         </command>
2489
         <command
2490
               commandId="org.txm.rcp.commands.CopyFile"
2491
               style="push"
2492
               tooltip="%command.tooltip.16">
2493
            <visibleWhen
2494
                  checkEnabled="false">
2495
               <reference
2496
                     definitionId="OneFileSelected">
2497
               </reference>
2498
            </visibleWhen>
2499
         </command>
2500
         <command
2501
               commandId="org.txm.rcp.commands.CutFile"
2502
               style="push"
2503
               tooltip="%command.tooltip.20">
2504
            <visibleWhen
2505
                  checkEnabled="false">
2506
               <reference
2507
                     definitionId="OneFileSelected">
2508
               </reference>
2509
            </visibleWhen>
2510
         </command>
2511
         <command
2512
               commandId="org.txm.rcp.commands.PasteFile"
2513
               style="push"
2514
               tooltip="%command.tooltip.21">
2515
            <visibleWhen
2516
                  checkEnabled="false">
2517
               <reference
2518
                     definitionId="OneFileSelected">
2519
               </reference>
2520
            </visibleWhen>
2521
         </command>
2522
      </menuContribution>
2523
      <menuContribution
2524
            allPopups="true"
2525
            locationURI="toolbar:TXMEditorTopToolBar">
2526
         <command
2527
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2528
               icon="icons/functions/run.png"
2529
               id="compute"
2530
               style="push"
2531
               tooltip="%command.tooltip.55">
2532
         </command>
2533
      </menuContribution>
2534
      <menuContribution
2535
            allPopups="false"
2536
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2537
         <command
2538
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2539
               icon="icons/refresh.png"
2540
               style="push">
2541
         </command>
2542
      </menuContribution>
2543
   </extension>
2544
   <extension
2545
         id="general"
2546
         name="%extension.name.0"
2547
         point="org.eclipse.ui.commands">
2548
      <category
2549
            description="%category.description"
2550
            id="org.txm.rcp.category.txm"
2551
            name="%category.name.0">
2552
      </category>
2553
      <command
2554
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2555
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2556
            name="%command.name.22">
2557
         <commandParameter
2558
               id="org.txm.rcp.commands.importscript"
2559
               name="%commandParameter.name.1"
2560
               optional="true">
2561
         </commandParameter>
2562
         <commandParameter
2563
               id="org.txm.rcp.commands.importupdatemode"
2564
               name="Update mode true or false"
2565
               optional="true">
2566
         </commandParameter>
2567
         <commandParameter
2568
               id="org.txm.rcp.commands.usecorporaselection"
2569
               name="Update mode true or false"
2570
               optional="true">
2571
         </commandParameter>
2572
      </command>
2573
      
2574
      <command
2575
            categoryId="org.eclipse.ui.category.navigate"
2576
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2577
            id="org.txm.rcp.commands.OpenBrowser"
2578
            name="%command.name.8">
2579
         <commandParameter
2580
               id="org.txm.rcp.commands.commandParameter2"
2581
               name="%commandParameter.name"
2582
               optional="true">
2583
         </commandParameter>
2584
      </command>
2585
      <command
2586
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2587
            id="org.txm.rcp.commands.ShowSelected"
2588
            name="%command.name.9">
2589
      </command>
2590
      <command
2591
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2592
            description="%command.description"
2593
            id="org.txm.rcp.commands.RestartTXM"
2594
            name="%command.name.25">
2595
      </command>
2596
      
2597
      <command
2598
            defaultHandler="org.txm.rcp.commands.ImportClipboardText"
2599
            id="org.txm.rcp.commands.ImportClipboardText"
2600
            name="%command.name.28">
2601
      </command>
2602
      <command
2603
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2604
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2605
            name="%command.name.31">
2606
      </command>
2607
            
2608
      <command
2609
            categoryId="org.eclipse.ui.category.edit"
2610
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2611
            id="org.txm.rcp.commands.OpenImportForm"
2612
            name="%command.name.62">
2613
         <commandParameter
2614
               id="org.txm.rcp.commands.importscript"
2615
               name="%commandParameter.name.2"
2616
               optional="false">
2617
         </commandParameter>
2618
         <commandParameter
2619
               id="org.txm.rcp.commands.importupdatemode"
2620
               name="Update mode true or false"
2621
               optional="false">
2622
         </commandParameter>
2623
         <commandParameter
2624
               id="org.txm.rcp.commands.usecorporaselection"
2625
               name="Update mode true or false"
2626
               optional="true">
2627
         </commandParameter>
2628
      </command>
2629
      <command
2630
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2631
            description="%command.description.0"
2632
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2633
            name="%command.name.3">
2634
      </command>
2635
      <command
2636
            categoryId="org.txm.rcp.category.txm"
2637
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2638
            id="org.txm.rcp.commands.OpenTestEditor"
2639
            name="%command.name.19">
2640
      </command>
2641
      <command
2642
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2643
            id="org.txm.rcp.commands.editor.SetEncoding"
2644
            name="%command.name.72">
2645
      </command>
2646
      <command
2647
            categoryId="org.eclipse.ui.category.navigate"
2648
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2649
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2650
            name="%command.name.74">
2651
         <commandParameter
2652
               id="org.txm.rcp.commands.commandParameter3"
2653
               name="%commandParameter.name.3"
2654
               optional="true">
2655
         </commandParameter>
2656
      </command>
2657
      <command
2658
            categoryId="org.eclipse.ui.category.navigate"
2659
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2660
            id="org.txm.rcp.commands.OpenWelcomePage"
2661
            name="%command.name.8">
2662
         <commandParameter
2663
               id="org.txm.rcp.commands.commandParameter2"
2664
               name="%commandParameter.name"
2665
               optional="true">
2666
         </commandParameter>
2667
      </command>
2668
      <command
2669
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2670
            description="%command.label.182"
2671
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2672
            name="%command.label.182">
2673
      </command>
2674
      <command
2675
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2676
            description="%command.description.3"
2677
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2678
            name="%command.name.87">
2679
                     <commandParameter
2680
               id="org.txm.rcp.parameters.update"
2681
               name="%commandParameter.name.4"
2682
               optional="true">
2683
         </commandParameter>
2684
      </command>
2685
      <command
2686
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2687
            description="%command.description.4"
2688
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2689
            name="%command.name.88">
2690
      </command>
2691
      <command
2692
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2693
            id="org.txm.rcp.commands.CleanPerspective"
2694
            name="%command.name.94">
2695
      </command>
2696
      <command
2697
            defaultHandler="org.txm.rcp.commands.OpenManual"
2698
            id="org.txm.rcp.commands.OpenManual"
2699
            name="%command.name.95">
2700
      </command>
2701
      <command
2702
            categoryId="org.txm.rcp.category.txm"
2703
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2704
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2705
            name="%command.name.98">
2706
         <commandParameter
2707
               id="org.txm.rcp.commands.workspace.UpdateCorpus.force"
2708
               name="force"
2709
               optional="true">
2710
         </commandParameter>
2711
      </command>
2712

    
2713
      <command
2714
            categoryId="org.txm.rcp.category.txm"
2715
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2716
            id="org.txm.rcp.commands.ReloadCorporaView"
2717
            name="%command.name.2">
2718
      </command>
2719
      <command
2720
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2721
            id="org.txm.rcp.commands.function.RenameResult"
2722
            name="%command.name.4">
2723
      </command>
2724
      <command
2725
            categoryId="org.txm.rcp.category.txm"
2726
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2727
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2728
            name="%command.name.64">
2729
      </command>
2730
      <command
2731
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2732
            id="org.txm.rcp.commands.editor.PrintHexacode"
2733
            name="Hexadecimal code">
2734
      </command>
2735
   </extension>
2736
   <extension
2737
         id="commands"
2738
         name="%extension.name.1"
2739
         point="org.eclipse.ui.commands">
2740

    
2741
      <command
2742
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2743
            id="org.txm.rcp.commands.function.ExportResult"
2744
            name="%command.name.24">
2745
      </command>
2746
      <command
2747
            defaultHandler="org.txm.rcp.handlers.export.ExportResultParameters"
2748
            id="org.txm.rcp.handlers.export.ExportResultParameters"
2749
            name="%command.name.35">
2750
      </command>
2751
      <command
2752
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2753
            id="org.txm.rcp.commands.function.ExportSVG"
2754
            name="%command.name.34">
2755
      </command>
2756
      <command
2757
            defaultHandler="org.txm.rcp.handlers.export.ImportResult"
2758
            id="org.txm.rcp.handlers.export.ImportResult"
2759
            name="%command.name.39">
2760
      </command>
2761
      <command
2762
            defaultHandler="org.txm.rcp.handlers.export.ImportResultParameters"
2763
            id="org.txm.rcp.handlers.export.ImportResultParameters"
2764
            name="%command.name.40">
2765
      </command>
2766
      <command
2767
            defaultHandler="org.txm.rcp.commands.ExportXMLTXMFiles"
2768
            id="org.txm.rcp.commands.ExportXMLTXMFiles"
2769
            name="%command.name.65">
2770
      </command>
2771
      <command
2772
            categoryId="org.txm.rcp.category.txm"
2773
            defaultHandler="org.txm.rcp.commands.function.WordPropertiesFromTable"
2774
            id="org.txm.rcp.commands.function.WordPropertiesFromTable"
2775
            name="%command.name.75">
2776
      </command>
2777
      <command
2778
            categoryId="org.txm.rcp.category.txm"
2779
            defaultHandler="org.txm.rcp.commands.function.WordPropertiestoTable"
2780
            id="org.txm.rcp.commands.function.WordPropertiesToTable"
2781
            name="%command.name.76">
2782
      </command>
2783
   </extension>
2784
   <extension
2785
         id="links"
2786
         name="%extension.name.2"
2787
         point="org.eclipse.ui.commands">
2788

    
2789
      <command
2790
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2791
            id="org.txm.rcp.commands.editor.Copy"
2792
            name="%command.name.55">
2793
      </command>
2794
   </extension>
2795
   <extension
2796
         id="views"
2797
         name="%extension.name.3"
2798
         point="org.eclipse.ui.commands">
2799
      <command
2800
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2801
            id="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2802
            name="%command.name.5">
2803
      </command>
2804
      <command
2805
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2806
            id="org.txm.rcp.commands.queryview.Copy"
2807
            name="%command.name.55">
2808
      </command>
2809
      <command
2810
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2811
            id="org.txm.rcp.commands.queryview.Paste"
2812
            name="%command.name.56">
2813
      </command>
2814
      <command
2815
            defaultHandler="org.txm.rcp.handlers.files.DownloadFile"
2816
            id="org.txm.rcp.commands.DownloadFile"
2817
            name="%command.name.91">
2818
      </command>
2819
      <command
2820
            defaultHandler="org.txm.rcp.views.debug.RefreshDebugView"
2821
            id="org.txm.rcp.views.debug.RefreshDebugView"
2822
            name="%command.name.27">
2823
      </command>
2824
   </extension>
2825
   <extension
2826
         id="file"
2827
         name="%extension.name.4"
2828
         point="org.eclipse.ui.commands">
2829
      <category
2830
            description="%category.description.0"
2831
            id="org.txm.rcp.categories.file"
2832
            name="%category.name.4">
2833
      </category>
2834
      <command
2835
            categoryId="org.txm.rcp.categories.file"
2836
            defaultHandler="org.txm.rcp.handlers.files.CutFile"
2837
            id="org.txm.rcp.commands.CutFile"
2838
            name="%command.name.71">
2839
      </command>
2840
      <command
2841
            categoryId="org.txm.rcp.categories.file"
2842
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2843
            id="org.txm.rcp.commands.editor.SaveAs"
2844
            name="%command.name.67">
2845
      </command>
2846
      <command
2847
            categoryId="org.txm.rcp.categories.file"
2848
            defaultHandler="org.txm.rcp.handlers.files.DeleteFile"
2849
            id="org.txm.rcp.commands.DeleteFile"
2850
            name="%command.name.68">
2851
      </command>
2852
      <command
2853
            categoryId="org.txm.rcp.categories.file"
2854
            defaultHandler="org.txm.rcp.handlers.files.CopyFile"
2855
            id="org.txm.rcp.commands.CopyFile"
2856
            name="%command.name.69">
2857
      </command>
2858
      <command
2859
            categoryId="org.txm.rcp.categories.file"
2860
            defaultHandler="org.txm.rcp.handlers.files.PasteFile"
2861
            id="org.txm.rcp.commands.PasteFile"
2862
            name="%command.name.70">
2863
      </command>
2864
      <command
2865
            categoryId="org.txm.rcp.categories.file"
2866
            defaultHandler="org.txm.rcp.handlers.files.RenameFile"
2867
            id="org.txm.rcp.commands.RenameFile"
2868
            name="%command.name.108">
2869
      </command>
2870
      <command
2871
            categoryId="org.txm.rcp.categories.file"
2872
            defaultHandler="org.txm.rcp.handlers.files.CreateFile"
2873
            id="org.txm.rcp.commands.CreateFile"
2874
            name="%command.name.47">
2875
      </command>
2876
      <command
2877
            categoryId="org.txm.rcp.categories.file"
2878
            defaultHandler="org.txm.rcp.handlers.files.CreateFolder"
2879
            id="org.txm.rcp.commands.CreateFolder"
2880
            name="%command.name.48">
2881
      </command>
2882
      <command
2883
            categoryId="org.txm.rcp.categories.file"
2884
            defaultHandler="org.txm.rcp.handlers.files.EditSelectedFile"
2885
            id="org.txm.rcp.commands.EditSelectedFile"
2886
            name="%command.name.106">
2887
      </command>
2888
      <command
2889
            categoryId="org.txm.rcp.categories.file"
2890
            defaultHandler="org.txm.rcp.handlers.files.EditFile"
2891
            id="org.txm.rcp.handlers.files.EditFile"
2892
            name="%command.name">
2893
         <commandParameter
2894
               id="org.txm.rcp.commands.commandParameter2"
2895
               name="%commandParameter.name"
2896
               optional="true">
2897
         </commandParameter>
2898
      </command>
2899
   </extension>
2900
   <extension
2901
         id="results"
2902
         name="%extension.name.5"
2903
         point="org.eclipse.ui.commands">
2904
      <category
2905
            id="org.txm.rcp.categories.results"
2906
            name="%category.name.5">
2907
      </category>
2908
      <command
2909
            categoryId="org.txm.rcp.categories.results"
2910
            defaultHandler="org.txm.rcp.handlers.results.DeleteObject"
2911
            description="%command.description.5"
2912
            id="org.txm.rcp.handlers.results.DeleteObject"
2913
            name="%command.name.26">
2914
      </command>
2915
      <command
2916
            categoryId="org.txm.rcp.categories.results"
2917
            defaultHandler="org.txm.rcp.handlers.results.ComputeTXMResult"
2918
            description="%command.description.6"
2919
            id="org.txm.rcp.handlers.ComputeTXMResult"
2920
            name="%command.name.32">
2921
      </command>
2922
      <command
2923
            categoryId="org.txm.rcp.categories.results"
2924
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2925
            id="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2926
            name="%command.name.33">
2927
      </command>
2928
            <command
2929
            categoryId="org.txm.rcp.categories.results"
2930
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultLockState"
2931
            id="org.txm.rcp.handlers.results.SetTXMResultLockState"
2932
            name="%command.name.44">
2933
      </command>
2934
      <command
2935
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResult"
2936
            id="org.txm.rcp.handlers.results.CloneTXMResult"
2937
            name="%command.name.45">
2938
      </command>
2939
            <command
2940
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResultTree"
2941
            id="org.txm.rcp.handlers.results.CloneTXMResultTree"
2942
            name="%command.name.46">
2943
      </command>
2944
            <command
2945
                  defaultHandler="org.txm.rcp.handlers.results.ShowHiddenParents"
2946
                  id="org.txm.rcp.handlers.results.ShowHiddenParents"
2947
                  name="%command.name.49">
2948
            </command>
2949
            <command
2950
                  defaultHandler="org.txm.rcp.handlers.results.HideIntermediateParents"
2951
                  id="org.txm.rcp.handlers.results.HideIntermediateParents"
2952
                  name="%command.name.53">
2953
            </command>
2954
            <command
2955
                  categoryId="org.txm.rcp.categories.results"
2956
                  defaultHandler="org.txm.rcp.handlers.results.OpenPreferences"
2957
                  description="%command.description.7"
2958
                  id="org.txm.rcp.handlers.results.OpenPreferences"
2959
                  name="%command.name.57">
2960
            </command>
2961
            <command
2962
                  categoryId="org.txm.rcp.categories.results"
2963
                  defaultHandler="org.txm.rcp.commands.workspace.OpenCorpus"
2964
                  description="%command.description.2"
2965
                  id="org.txm.rcp.commands.workspace.OpenCorpus"
2966
                  name="%command.name.77">
2967
            </command>
2968
            <command
2969
                  categoryId="org.txm.rcp.categories.results"
2970
                  defaultHandler="org.txm.rcp.commands.workspace.CloseCorpus"
2971
                  description="%command.description.8"
2972
                  id="org.txm.rcp.commands.workspace.CloseCorpus"
2973
                  name="%command.name.85">
2974
            </command>
2975
   </extension>
2976
   <extension
2977
         id="scripts"
2978
         name="%extension.name.6"
2979
         point="org.eclipse.ui.commands">
2980
      <category
2981
            id="org.txm.rcp.categories.scripts"
2982
            name="%category.name.6">
2983
      </category>
2984
      <command
2985
            categoryId="org.txm.rcp.categories.scripts"
2986
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScript"
2987
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2988
            name="%command.name.0">
2989
      </command>
2990
      <command
2991
            categoryId="org.txm.rcp.categories.scripts"
2992
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteLastGroovyScript"
2993
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2994
            name="%command.name.89">
2995
      </command>
2996
      <command
2997
            categoryId="org.txm.rcp.categories.scripts"
2998
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyText"
2999
            id="org.txm.rcp.commands.ExecuteGroovyText"
3000
            name="%command.name.10">
3001
      </command>
3002
      <command
3003
            categoryId="org.txm.rcp.categories.scripts"
3004
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScriptFromFile"
3005
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
3006
            name="%command.name.66">
3007
      </command>
3008
      <command
3009
            categoryId="org.txm.rcp.categories.scripts"
3010
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyMacro"
3011
            id="org.txm.rcp.commands.ExecuteMacro"
3012
            name="%command.name.79">
3013
         <commandParameter
3014
               id="org.txm.rcp.command.parameter.file"
3015
               name="%commandParameter.name.5"
3016
               optional="true">
3017
         </commandParameter>
3018
         <commandParameter
3019
               id="args"
3020
               name="string args"
3021
               optional="true">
3022
         </commandParameter>
3023
      </command>
3024
      <command
3025
            categoryId="org.txm.rcp.categories.scripts"
3026
            defaultHandler="org.txm.rcp.handlers.scripts.CreateMacro"
3027
            id="org.txm.rcp.commands.CreateMacro"
3028
            name="%command.name.80">
3029
      </command>
3030
      <command
3031
            categoryId="org.txm.rcp.categories.scripts"
3032
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteScript"
3033
            id="org.txm.rcp.commands.ExecuteScript"
3034
            name="%command.name.21">
3035
         <commandParameter
3036
               id="org.txm.rcp.command.parameter.file"
3037
               name="%commandParameter.name.6"
3038
               optional="true">
3039
         </commandParameter>
3040
         <commandParameter
3041
               id="args"
3042
               name="string args"
3043
               optional="true">
3044
         </commandParameter>
3045
      </command>
3046
      <command
3047
            categoryId="org.txm.rcp.categories.scripts"
3048
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteText"
3049
            id="org.txm.rcp.commands.ExecuteText"
3050
            name="%command.name.50">
3051
      </command>
3052
      <command
3053
            defaultHandler="org.txm.rcp.commands.workspace.RebuildCorpus"
3054
            id="org.txm.rcp.commands.workspace.RebuildCorpus"
3055
            name="%command.name.59">
3056
      </command>
3057
      <command
3058
            categoryId="org.txm.rcp.category.txm"
3059
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
3060
            id="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
3061
            name="%command.name.61">
3062
         <commandParameter
3063
               id="url"
3064
               name="URL"
3065
               optional="true">
3066
         </commandParameter>
3067
      </command>
3068
   </extension>
3069
   <extension
3070
         point="org.eclipse.core.expressions.definitions">
3071
      <definition
3072
            id="OneFileSelected">
3073
         <with
3074
               variable="selection">
3075
            <iterate
3076
                  ifEmpty="false"
3077
                  operator="and">
3078
               <instanceof
3079
                     value="java.io.File">
3080
               </instanceof>
3081
            </iterate>
3082
         </with>
3083
      </definition>
3084
      <definition
3085
            id="OneDirSelected">
3086
         <and>
3087
            <instanceof
3088
                  value="java.io.File">
3089
            </instanceof>
3090
            <test
3091
                  args="isDirectory()"
3092
                  property="org.txm.rcp.test2"
3093
                  value="true">
3094
            </test>
3095
         </and>
3096
      </definition>
3097
            <definition
3098
                  id="OneProjectSelected">
3099
               <with
3100
                     variable="corporaSelection">
3101
                  <iterate
3102
                        ifEmpty="false"
3103
                        operator="and">
3104
                     <instanceof
3105
                           value="org.txm.objects.Project">
3106
                     </instanceof>
3107
                  </iterate>
3108
               </with>
3109
            </definition>
3110
            <definition
3111
                  id="OneIProjectSelected">
3112
               <with
3113
                     variable="corporaSelection">
3114
                  <iterate
3115
                        ifEmpty="false"
3116
                        operator="and">
3117
                     <instanceof
3118
                           value="org.eclipse.core.resources.IProject">
3119
                     </instanceof>
3120
                  </iterate>
3121
               </with>
3122
            </definition>
3123
            <definition
3124
                  id="OneTextSelected">
3125
               <with
3126
                     variable="corporaSelection">
3127
                  <iterate
3128
                        ifEmpty="false"
3129
                        operator="and">
3130
                     <instanceof
3131
                           value="org.txm.objects.Text">
3132
                     </instanceof>
3133
                  </iterate>
3134
               </with>
3135
            </definition>
3136
           
3137
            <definition
3138
                  id="OneResultSelected">
3139
               <visibleWhen
3140
                     checkEnabled="false">
3141
                  <or>
3142
                     <reference
3143
                           definitionId="OneSpecificitiesResultSelected">
3144
                     </reference>
3145
                     <reference
3146
                           definitionId="OneCASelected">
3147
                     </reference>
3148
                     <reference
3149
                           definitionId="OneLexiconSelected">
3150
                     </reference>
3151
                     <reference
3152
                           definitionId="OneConcordanceSelected">
3153
                     </reference>
3154
                     <reference
3155
                           definitionId="OneIndexSelected">
3156
                     </reference>
3157
                     <reference
3158
                           definitionId="OneReferencerSelected">
3159
                     </reference>
3160
                  </or>
3161
               </visibleWhen>
3162
            </definition>
3163
            <definition
3164
                  id="SVGEditorActive">
3165
               <with
3166
                     variable="activeEditorId">
3167
                  <equals
3168
                        value="org.txm.rcp.editors.SVGGraphicEditor">
3169
                  </equals>
3170
               </with>
3171
            </definition>
3172
            <definition
3173
                  id="StatEngineReady">
3174
               <test
3175
                     forcePluginActivation="true"
3176
                     property="org.txm.rcp.testers.ToolboxTester"
3177
                     value="StateEngineReady">
3178
               </test>
3179
            </definition>
3180
            <definition
3181
                  id="LabPerspectiveSelected">
3182
               <with
3183
                     variable="activeWorkbenchWindow.activePerspective">
3184
                  <equals
3185
                        value="org.txm.rcp.perspective.LabPerspective">
3186
                  </equals>
3187
               </with>
3188
            </definition>
3189
            <definition
3190
                  id="OneLexicalTableAbleSelected">
3191
               <with
3192
                     variable="corporaSelection">
3193
                  <iterate
3194
                        ifEmpty="false"
3195
                        operator="and">
3196
                     <instanceof
3197
                           value="org.txm.functions.LexicalTableAble">
3198
                     </instanceof>
3199
                  </iterate>
3200
               </with>
3201
            </definition>
3202
            <definition
3203
                  id="NeedToSaveAnnotations">
3204
               <test
3205
                     forcePluginActivation="true"
3206
                     property="org.txm.rcp.testers.annotate.canSave">
3207
               </test>
3208
            </definition>
3209
            <definition
3210
                  id="ExpertEnabled">
3211
               <test
3212
                     forcePluginActivation="true"
3213
                     property="org.txm.rcp.testers.ExpertEnabled">
3214
               </test>
3215
            </definition>
3216
            <definition
3217
                  id="IsXTZCorpus">
3218
               <test
3219
                     forcePluginActivation="true"
3220
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
3221
               </test>
3222
            </definition>
3223
            <definition
3224
                  id="TextEditorActive">
3225
               <or>
3226
               <with
3227
                     variable="activePartId">
3228
                  <equals
3229
                        value="org.txm.rcp.editors.TxtEditor">
3230
                  </equals>
3231
               </with>
3232
               <with
3233
                     variable="activePartId">
3234
                  <equals
3235
                        value=" org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
3236
                  </equals>
3237
               </with></or>
3238
            </definition>
3239
            <definition
3240
                  id="OneTXMResultSelected">
3241
               <with
3242
                     variable="corporaSelection">
3243
                  <iterate
3244
                        ifEmpty="false"
3245
                        operator="and">
3246
                     <instanceof
3247
                           value="org.txm.core.results.TXMResult">
3248
                     </instanceof>
3249
                  </iterate>
3250
               </with>
3251
            </definition>
3252
            <definition
3253
                  id="OneOrMoreElementSelected">
3254
               <with
3255
                     variable="activeMenuSelection">
3256
                  <count
3257
                        value="+">
3258
                  </count>
3259
               </with>
3260
            </definition>
3261
            <definition
3262
                  id="IscorpusProject">
3263
               <adapt
3264
                     type="org.eclipse.core.resources.IProject">
3265
                  <test
3266
                        property="org.eclipse.core.resources.projectNature"
3267
                        value="org.txm.core.project.corpus">
3268
                  </test>
3269
               </adapt>
3270
            </definition>
3271
            <definition
3272
                  id="TXMEditorActive">
3273
               <with
3274
                     variable="activePart">
3275
                  <instanceof
3276
                        value="org.txm.rcp.editors.TXMEditor">
3277
                  </instanceof>
3278
               </with>
3279
            </definition>
3280
            <definition
3281
                  id="OneProjectSelected">
3282
               <with
3283
                     variable="corporaSelection">
3284
                  <iterate
3285
                        ifEmpty="false"
3286
                        operator="and">
3287
                     <instanceof
3288
                           value="org.eclipse.core.resources.IProject">
3289
                     </instanceof>
3290
                  </iterate>
3291
               </with>
3292
            </definition>
3293
            <definition
3294
                  id="SelectionIsNotEmpty">
3295
               <with
3296
                     variable="selection">
3297
                  <iterate
3298
                        ifEmpty="false"
3299
                        operator="and">
3300
                     <instanceof
3301
                           value="java.lang.Object">
3302
                     </instanceof>
3303
                  </iterate>
3304
               </with>
3305
            </definition>
3306
   </extension>
3307
  
3308
   <extension
3309
         point="org.eclipse.ui.splashHandlers">
3310
      <splashHandler
3311
            class="org.txm.rcp.splashHandlers.TXMSplashHandler"
3312
            id="org.txm.rcp.splashHandlers.TXMSplashHandler">
3313
      </splashHandler>
3314
      <splashHandlerProductBinding
3315
            productId="org.txm.rcp.product"
3316
            splashId="org.txm.rcp.splashHandlers.TXMSplashHandler">
3317
      </splashHandlerProductBinding>
3318
   </extension>
3319
   <extension
3320
         point="org.eclipse.core.expressions.propertyTesters">
3321
      <propertyTester
3322
            class="org.txm.rcp.testers.ToolboxTester"
3323
            id="org.txm.rcp.testers.ToolboxTester"
3324
            namespace="org.txm.rcp.testers"
3325
            properties="StatEngineReady,SearchEngineReady,computable,persistable"
3326
            type="java.lang.Object">
3327
      </propertyTester>
3328
      <propertyTester
3329
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3330
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3331
            namespace="org.txm.rcp.testers.annotate"
3332
            properties="canSave"
3333
            type="java.lang.Object">
3334
      </propertyTester>
3335
      <propertyTester
3336
            class="org.txm.rcp.testers.ExpertEnabled"
3337
            id="org.txm.rcp.testers.ExpertEnabled"
3338
            namespace="org.txm.rcp.testers"
3339
            properties="ExpertEnabled"
3340
            type="java.lang.Object">
3341
      </propertyTester>
3342
      <propertyTester
3343
            class="org.txm.rcp.testers.IsXTZCorpus"
3344
            id="org.txm.rcp.testers.IsXTZCorpus"
3345
            namespace="org.txm.rcp.testers.corpus"
3346
            properties="xtzCorpus"
3347
            type="java.lang.Object">
3348
      </propertyTester>
3349
      <propertyTester
3350
            class="org.txm.rcp.testers.AutoPersistenceDisabled"
3351
            id="org.txm.rcp.testers.AutoPersistenceDisabled"
3352
            namespace="org.txm.rcp.testers"
3353
            properties="AutoPersistenceDisabled"
3354
            type="java.lang.Object">
3355
      </propertyTester>
3356
      <propertyTester
3357
            class="org.txm.rcp.testers.IsParentVisible"
3358
            id="org.txm.rcp.testers.IsParentVisible"
3359
            namespace="org.txm.rcp.testers"
3360
            properties="IsParentVisible"
3361
            type="java.lang.Object">
3362
      </propertyTester>
3363
      <propertyTester
3364
            class="org.txm.rcp.testers.IsParentHidden"
3365
            id="org.txm.rcp.testers.IsParentHidden"
3366
            namespace="org.txm.rcp.testers"
3367
            properties="IsParentHidden"
3368
            type="java.lang.Object">
3369
      </propertyTester>
3370
   </extension>
3371
   <extension
3372
         point="org.eclipse.ui.bindings">
3373
      <scheme
3374
            description="%scheme.description"
3375
            id="org.txm.rcp.scheme"
3376
            name="%scheme.name"
3377
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3378
      </scheme>
3379
      <key
3380
            commandId="org.txm.rcp.commands.ExecuteText"
3381
            contextId="org.eclipse.ui.contexts.window"
3382
            schemeId="org.txm.rcp.scheme"
3383
            sequence="F11">
3384
      </key>
3385
      <key
3386
            commandId="org.txm.rcp.commands.ExecuteScript"
3387
            contextId="org.eclipse.ui.contexts.window"
3388
            schemeId="org.txm.rcp.scheme"
3389
            sequence="M1+F11">
3390
      </key>
3391
      <key
3392
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3393
            contextId="org.eclipse.ui.contexts.window"
3394
            schemeId="org.txm.rcp.scheme"
3395
            sequence="F12">
3396
      </key>
3397
      <key
3398
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3399
            contextId="org.txm.rcp.views.corpora.CorporaView"
3400
            schemeId="org.txm.rcp.scheme"
3401
            sequence="F5">
3402
      </key>
3403
      <key
3404
            commandId="org.txm.rcp.commands.function.RenameResult"
3405
            contextId="org.txm.rcp.views.corpora.CorporaView"
3406
            schemeId="org.txm.rcp.scheme"
3407
            sequence="F2">
3408
      </key>
3409
      <key
3410
            commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3411
            contextId="org.txm.rcp.views.corpora.CorporaView"
3412
            schemeId="org.txm.rcp.scheme"
3413
            sequence="M1+S">
3414
      </key>
3415
   </extension>
3416
<!--   <extension
3417
         point="org.eclipse.e4.ui.css.swt.theme">
3418
      <theme
3419
            basestylesheeturi="css/default_linux.css"
3420
            id="org.txm.rcp.theme.default.linux"
3421
            label="TXM"
3422
            os="linux">
3423
      </theme>
3424
      <theme
3425
            basestylesheeturi="css/default_windows.css"
3426
            id="org.txm.rcp.theme.default.windows"
3427
            label="TXM"
3428
            os="win32">
3429
      </theme>
3430
      <theme
3431
            basestylesheeturi="css/default_mac.css"
3432
            id="org.txm.rcp.theme.default.mac"
3433
            label="TXM"
3434
            os="macosx">
3435
      </theme>
3436
   </extension>-->
3437
   <extension
3438
         point="org.eclipse.ui.contexts">
3439
      <context
3440
            description="%context.description.0"
3441
            id="org.txm.rcp.views.corpora.CorporaView"
3442
            name="%context.name.0">
3443
      </context>
3444
   </extension>
3445
   <extension
3446
         point="org.eclipse.ui.newWizards">
3447
      <category
3448
            id="org.txm.rcp.corpus"
3449
            name="%category.name.7">
3450
      </category>
3451
      <primaryWizard
3452
            id="org.txm.rcp.corpuswizard.TxtWizard">
3453
      </primaryWizard>
3454
      <primaryWizard
3455
            id="org.txm.rcp.corpuswizard.XMLXTZWizard">
3456
      </primaryWizard>
3457
      <primaryWizard
3458
            id="org.txm.rcp.corpuswizard.FactivaWizard">
3459
      </primaryWizard>
3460
      <wizard
3461
            category="org.txm.rcp.corpus"
3462
            class="org.txm.rcp.corpuswizard.ImportWizard"
3463
            descriptionImage="icons/wizard/txt.png"
3464
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3465
            icon="icons/objects/file.png"
3466
            id="org.txm.rcp.corpuswizard.TxtWizard"
3467
            name="%wizard.name.2"
3468
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3469
            project="true">
3470
      </wizard>
3471
      <wizard
3472
            category="org.txm.rcp.corpus"
3473
            class="org.txm.rcp.corpuswizard.ImportWizard"
3474
            descriptionImage="icons/wizard/factiva.png"
3475
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3476
            icon="icons/objects/xml.png"
3477
            id="org.txm.rcp.corpuswizard.FactivaWizard"
3478
            name="%wizard.name.3"
3479
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3480
            project="true">
3481
      </wizard>
3482
      <wizard
3483
            category="org.txm.rcp.corpus"
3484
            class="org.txm.rcp.corpuswizard.ImportWizard"
3485
            descriptionImage="icons/wizard/xtz.png"
3486
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3487
            icon="icons/objects/xml.png"
3488
            id="org.txm.rcp.corpuswizard.XMLXTZWizard"
3489
            name="%wizard.name.4"
3490
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3491
            project="true">
3492
      </wizard>
3493
   </extension>
3494
   <extension
3495
         point="org.eclipse.ui.ide.projectNatureImages">
3496
      <image
3497
            icon="icons/objects/project.png"
3498
            id="org.txm.rcp.image1"
3499
            natureId="org.txm.core.CorpusNature">
3500
      </image>
3501
   </extension>
3502
   <extension
3503
         id="id1"
3504
         point="org.eclipse.core.resources.natures">
3505
      <runtime>
3506
         <run
3507
               class="org.txm.core.CorpusNature">
3508
         </run>
3509
      </runtime>
3510
   </extension>
3511
   <extension
3512
         point="org.eclipse.ui.installationPages">
3513
      <page
3514
            class="org.txm.rcp.InstallationPage.PathsInstallationPage"
3515
            id="org.txm.rcp.installationPages.paths"
3516
            name="%page.name.3">
3517
      </page>
3518
   </extension>
3519
   <extension
3520
         point="org.eclipse.ui.services">
3521
      <sourceProvider
3522
            provider="org.txm.rcp.CorporaSourceProvider">
3523
         <variable
3524
               name="corporaSelection"
3525
               priorityLevel="workbench">
3526
         </variable>
3527
      </sourceProvider>
3528
   </extension>
3529

    
3530
</plugin>