Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (133,16 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.AdvancePreferencePage"
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
         <toolbar
1588
               id="org.txm.rcp.toolbarcorpus">
1589
            <separator
1590
                  name="org.txm.rcp.toolbarcorpus.read"
1591
                  visible="false">
1592
            </separator>
1593
            <command
1594
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1595
                  icon="icons/functions/Delete.png"
1596
                  style="push"
1597
                  tooltip="%command.tooltip.33">
1598
               <visibleWhen
1599
                     checkEnabled="false">
1600
                  <or>
1601
                     <reference
1602
                           definitionId="OneTXMResultSelected">
1603
                     </reference>
1604
                  </or>
1605
               </visibleWhen>
1606
            </command>
1607
            
1608
            <separator
1609
                  name="org.txm.rcp.toolbarcorpus.corpus"
1610
                  visible="false">
1611
            </separator>
1612
            <separator
1613
                  name="org.txm.rcp.toolbarcorpus.annotation"
1614
                  visible="false">
1615
            </separator>
1616
         </toolbar>
1617
         <separator
1618
               name="org.txm.rcp.toolbar.separator1"
1619
               visible="true">
1620
         </separator>
1621
         <toolbar
1622
               id="org.txm.rcp.toolbartools">
1623
            <separator
1624
                  name="org.txm.rcp.separator1"
1625
                  visible="true">
1626
            </separator>
1627
            <separator
1628
                  name="org.txm.rcp.toolbartools.stats"
1629
                  visible="true">
1630
            </separator>
1631

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

    
2347
      </menuContribution>
2348

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

    
2703
      <command
2704
            categoryId="org.txm.rcp.category.txm"
2705
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2706
            id="org.txm.rcp.commands.ReloadCorporaView"
2707
            name="%command.name.2">
2708
      </command>
2709
      <command
2710
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2711
            id="org.txm.rcp.commands.function.RenameResult"
2712
            name="%command.name.4">
2713
      </command>
2714
      <command
2715
            categoryId="org.txm.rcp.category.txm"
2716
            defaultHandler="org.txm.rcp.commands.ChangeTXMWorkspace"
2717
            id="org.txm.rcp.commands.ChangeTXMWorkspace"
2718
            name="%command.name.64">
2719
      </command>
2720
      <command
2721
            defaultHandler="org.txm.rcp.commands.editor.PrintHexacode"
2722
            id="org.txm.rcp.commands.editor.PrintHexacode"
2723
            name="Hexadecimal code">
2724
      </command>
2725
   </extension>
2726
   <extension
2727
         id="commands"
2728
         name="%extension.name.1"
2729
         point="org.eclipse.ui.commands">
2730

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

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

    
3520
</plugin>