Statistics
| Revision:

root / tmp / org.txm.rcp / plugin.xml @ 1413

History | View | Annotate | Download (120.3 kB)

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
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               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">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE 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;&#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;">
56
         </property>
57
         <property
58
               name="startupProgressRect"
59
               value="13,332,290,15">
60
         </property>
61
         <property
62
               name="cssTheme"
63
               value="org.txm.rcp.theme.default.linux">
64
         </property>
65
         <property
66
               name="preferenceCustomization"
67
               value="plugin_customization.ini">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"
80
               showTitle="true"/>
81
         <view
82
               closeable="true"
83
               id="org.eclipse.ui.views.ProgressView"
84
               ratio="0.5"
85
               relationship="bottom"
86
               showTitle="true"
87
               visible="true">
88
         </view>
89
         <view
90
               closeable="true"
91
               id="org.txm.rcp.views.GroovyConsole"
92
               minimized="false"
93
               ratio="0.5"
94
               relationship="bottom"
95
               visible="true">
96
         </view>
97
         <view
98
               closeable="true"
99
               id="org.txm.rcp.views.QueriesView"
100
               ratio="0.5"
101
               relationship="right"
102
               relative="org.eclipse.ui.views.TaskList">
103
         </view>
104
      </perspectiveExtension>
105
   </extension>
106
   <extension
107
         point="org.eclipse.ui.views">
108
      <category
109
            id="org.txm.rcp"
110
            name="%category.name"/>
111
      <view
112
            category="org.txm.rcp"
113
            class="org.txm.rcp.views.corpora.CorporaView"
114
            icon="icons/objects/corpus.png"
115
            id="org.txm.rcp.views.corpora.CorporaView"
116
            name="%view.name"/>
117
      <view
118
            allowMultiple="false"
119
            category="org.eclipse.ui"
120
            class="org.eclipse.ui.ExtensionFactory:progressView"
121
            id="org.eclipse.ui.views.ProgressView"
122
            name="%view.name.0"
123
            restorable="true">
124
      </view>
125
      <view
126
            allowMultiple="false"
127
            category="org.txm.rcp"
128
            class="org.txm.rcp.views.fileexplorer.Explorer"
129
            icon="icons/objects/folder.png"
130
            id="org.txm.rcp.views.fileexplorer.Explorer"
131
            name="%view.name.1"
132
            restorable="true">
133
      </view>
134
      <view
135
            category="org.txm.rcp.debug"
136
            class="org.txm.rcp.views.BasesView"
137
            id="org.txm.rcp.views.BasesView"
138
            name="%view.name.3"
139
            restorable="true">
140
      </view>
141
      <view
142
            category="org.txm.rcp"
143
            class="org.txm.rcp.views.QueriesView"
144
            icon="icons/objects/query.png"
145
            id="org.txm.rcp.views.QueriesView"
146
            name="%view.name.4"
147
            restorable="true">
148
      </view>
149
      <view
150
            category="org.txm.rcp.debug"
151
            class="org.txm.rcp.views.SummaryView"
152
            id="org.txm.rcp.views.InternalCorpusView"
153
            name="%view.name.7"
154
            restorable="true">
155
      </view>
156
      <view
157
            allowMultiple="false"
158
            category="org.txm.rcp"
159
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
160
            icon="icons/objects/script.png"
161
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
162
            name="%view.name.8"
163
            restorable="true">
164
      </view>
165
      <view
166
            category="org.txm.rcp.debug"
167
            class="org.txm.rcp.views.cmdparameters.ParametersView"
168
            icon="icons/functions/Properties.png"
169
            id="org.txm.rcp.views.cmdparameters.ParametersView"
170
            name="%view.name.11"
171
            restorable="true">
172
      </view>
173
      <view
174
            category="org.txm.rcp.debug"
175
            class="org.txm.rcp.views.debug.TXMResultDebugView"
176
            icon="icons/functions/Properties.png"
177
            id="org.txm.rcp.views.debug.TXMResultDebugView"
178
            name="%view.name.12"
179
            restorable="true">
180
      </view>
181
      <view
182
            category="org.txm.rcp.debug"
183
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
184
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
185
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
186
            name="%view.name.13"
187
            restorable="true">
188
      </view>
189
      <view
190
            allowMultiple="false"
191
            category="org.txm.rcp.debug"
192
            class="org.txm.rcp.views.debug.EnginesDebugView"
193
            icon="icons/functions/parameters.png"
194
            id="org.txm.rcp.views.debug.EnginesDebugView"
195
            name="Engines"
196
            restorable="true">
197
      </view>
198
      <category
199
            id="org.txm.rcp.debug"
200
            name="Debug"
201
            parentCategory="org.txm.rcp">
202
      </category>
203
   </extension>
204
   <extension
205
         point="org.eclipse.core.runtime.adapters">
206
      <factory
207
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
208
            class="org.txm.rcp.AdapterFactory">
209
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
210
      </factory>
211
      <factory
212
            adaptableType="org.txm.core.results.TXMResult"
213
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
214
         <adapter
215
               type="org.eclipse.ui.model.IWorkbenchAdapter">
216
         </adapter>
217
         <adapter
218
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
219
         </adapter>
220
      </factory>
221

    
222

    
223

    
224

    
225

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

    
1403
            <command
1404
                  commandId="org.eclipse.ui.window.preferences"
1405
                  icon="icons/functions/prefs.png"
1406
                  label="%command.label.4"
1407
                  style="push"
1408
                  tooltip="%command.tooltip.0">
1409
            </command>
1410
            <separator
1411
                  name="org.txm.rcp.toolbars.tools.separators.extensions"
1412
                  visible="true">
1413
            </separator>
1414
         </toolbar>
1415
         <separator
1416
               name="org.txm.rcp.toolbar.separator2"
1417
               visible="true">
1418
         </separator>
1419
         <toolbar
1420
               id="org.txm.rcp.toolbartext">
1421
            <command
1422
                  commandId="org.txm.rcp.commands.CreateFile"
1423
                  icon="icons/functions/page_white_add.png"
1424
                  label="%command.label.158"
1425
                  tooltip="%command.tooltip.34">
1426
            </command>
1427
            <command
1428
                  commandId="org.txm.rcp.commands.EditFile"
1429
                  icon="icons/functions/open.png"
1430
                  label="%command.label.45"
1431
                  style="push">
1432
            </command>
1433
            <command
1434
                  commandId="org.eclipse.ui.file.save"
1435
                  icon="icons/functions/save.png"
1436
                  style="push">
1437
               <visibleWhen
1438
                     checkEnabled="false">
1439
                  <reference
1440
                        definitionId="TextEditorActive">
1441
                  </reference>
1442
               </visibleWhen>
1443
            </command>
1444
            <command
1445
                  commandId="org.txm.rcp.commands.editor.SaveAs"
1446
                  icon="icons/functions/saveas.png">
1447
               <visibleWhen
1448
                     checkEnabled="false">
1449
                  <reference
1450
                        definitionId="TextEditorActive">
1451
                  </reference>
1452
               </visibleWhen>
1453
            </command>
1454
            <separator
1455
                  name="org.txm.rcp.separator3"
1456
                  visible="true">
1457
            </separator>
1458
            <command
1459
                  commandId="org.eclipse.ui.edit.cut"
1460
                  label="%command.label.18">
1461
               <visibleWhen
1462
                     checkEnabled="false">
1463
                  <reference
1464
                        definitionId="TextEditorActive">
1465
                  </reference>
1466
               </visibleWhen>
1467
            </command>
1468
            <command
1469
                  commandId="org.eclipse.ui.edit.copy"
1470
                  label="%command.label.19">
1471
               <visibleWhen
1472
                     checkEnabled="false">
1473
                  <reference
1474
                        definitionId="TextEditorActive">
1475
                  </reference>
1476
               </visibleWhen>
1477
            </command>
1478
            <command
1479
                  commandId="org.eclipse.ui.edit.paste"
1480
                  label="%command.label.20">
1481
               <visibleWhen
1482
                     checkEnabled="false">
1483
                  <reference
1484
                        definitionId="TextEditorActive">
1485
                  </reference>
1486
               </visibleWhen>
1487
            </command>
1488
            <command
1489
                  commandId="org.eclipse.ui.edit.delete"
1490
                  label="%command.label.27">
1491
               <visibleWhen
1492
                     checkEnabled="false">
1493
                  <reference
1494
                        definitionId="TextEditorActive">
1495
                  </reference>
1496
               </visibleWhen>
1497
            </command>
1498
            <command
1499
                  commandId="org.eclipse.ui.edit.undo"
1500
                  label="%command.label.16">
1501
               <visibleWhen
1502
                     checkEnabled="false">
1503
                  <reference
1504
                        definitionId="TextEditorActive">
1505
                  </reference>
1506
               </visibleWhen>
1507
            </command>
1508
            <command
1509
                  commandId="org.eclipse.ui.edit.redo"
1510
                  label="%command.label.17">
1511
               <visibleWhen
1512
                     checkEnabled="false">
1513
                  <reference
1514
                        definitionId="TextEditorActive">
1515
                  </reference>
1516
               </visibleWhen>
1517
            </command>
1518
            <command
1519
                  commandId="org.eclipse.ui.edit.selectAll"
1520
                  icon="icons/functions/page_allgreen.png"
1521
                  label="%command.label.165">
1522
               <visibleWhen
1523
                     checkEnabled="false">
1524
                  <reference
1525
                        definitionId="TextEditorActive">
1526
                  </reference>
1527
               </visibleWhen>
1528
            </command>
1529
            <separator
1530
                  name="org.txm.rcp.separator1"
1531
                  visible="true">
1532
            </separator>
1533
            <command
1534
                  commandId="org.eclipse.ui.edit.findReplace"
1535
                  icon="icons/functions/find.png"
1536
                  label="%command.label.159">
1537
               <visibleWhen
1538
                     checkEnabled="false">
1539
                  <reference
1540
                        definitionId="TextEditorActive">
1541
                  </reference>
1542
               </visibleWhen>
1543
            </command>
1544
            <command
1545
                  commandId="org.eclipse.ui.edit.findPrevious"
1546
                  icon="icons/functions/find_previous.png"
1547
                  label="%command.label.160"
1548
                  style="push">
1549
               <visibleWhen
1550
                     checkEnabled="false">
1551
                  <reference
1552
                        definitionId="TextEditorActive">
1553
                  </reference>
1554
               </visibleWhen>
1555
            </command>
1556
            <command
1557
                  commandId="org.eclipse.ui.edit.findNext"
1558
                  icon="icons/functions/find_next.png"
1559
                  label="%command.label.161"
1560
                  style="push">
1561
               <visibleWhen
1562
                     checkEnabled="false">
1563
                  <reference
1564
                        definitionId="TextEditorActive">
1565
                  </reference>
1566
               </visibleWhen>
1567
            </command>
1568
            <command
1569
                  commandId="org.eclipse.ui.edit.findIncremental"
1570
                  icon="icons/functions/find_incremental.png"
1571
                  label="%command.label.162"
1572
                  style="push">
1573
               <visibleWhen
1574
                     checkEnabled="false">
1575
                  <reference
1576
                        definitionId="TextEditorActive">
1577
                  </reference>
1578
               </visibleWhen>
1579
            </command>
1580
            <command
1581
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
1582
                  icon="icons/functions/find_incremental_reverse.png"
1583
                  label="%command.label.163"
1584
                  style="push">
1585
               <visibleWhen
1586
                     checkEnabled="false">
1587
                  <reference
1588
                        definitionId="TextEditorActive">
1589
                  </reference>
1590
               </visibleWhen>
1591
            </command>
1592
            <separator
1593
                  name="org.txm.rcp.separator2"
1594
                  visible="true">
1595
            </separator>
1596
            <command
1597
                  commandId="org.eclipse.ui.edit.text.goto.line"
1598
                  icon="icons/functions/goto.png"
1599
                  label="%command.label.166"
1600
                  style="push">
1601
               <visibleWhen
1602
                     checkEnabled="false">
1603
                  <reference
1604
                        definitionId="TextEditorActive">
1605
                  </reference>
1606
               </visibleWhen>
1607
            </command>
1608
            <command
1609
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
1610
                  icon="icons/functions/lines_number.png"
1611
                  label="%command.label.168"
1612
                  style="push">
1613
               <visibleWhen
1614
                     checkEnabled="false">
1615
                  <reference
1616
                        definitionId="TextEditorActive">
1617
                  </reference>
1618
               </visibleWhen>
1619
            </command>
1620
            <command
1621
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
1622
                  icon="icons/functions/paragraph.png"
1623
                  label="%command.label.169"
1624
                  style="push"
1625
                  tooltip="%command.tooltip.35">
1626
               <visibleWhen
1627
                     checkEnabled="false">
1628
                  <reference
1629
                        definitionId="TextEditorActive">
1630
                  </reference>
1631
               </visibleWhen>
1632
            </command>
1633
            <command
1634
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
1635
                  icon="icons/functions/world.png"
1636
                  label="%command.label.167"
1637
                  style="push">
1638
               <visibleWhen
1639
                     checkEnabled="false">
1640
                  <reference
1641
                        definitionId="TextEditorActive">
1642
                  </reference>
1643
               </visibleWhen>
1644
            </command>
1645
            <command
1646
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
1647
                  icon="icons/functions/encoding.png"
1648
                  label="%command.label.30">
1649
               <visibleWhen
1650
                     checkEnabled="false">
1651
                  <reference
1652
                        definitionId="TextEditorActive">
1653
                  </reference>
1654
               </visibleWhen>
1655
            </command>
1656
            <command
1657
                  commandId="org.eclipse.ui.file.revert"
1658
                  icon="icons/functions/page_refresh.png"
1659
                  label="%command.label.164"
1660
                  style="push">
1661
               <visibleWhen
1662
                     checkEnabled="false">
1663
                  <reference
1664
                        definitionId="TextEditorActive">
1665
                  </reference>
1666
               </visibleWhen>
1667
            </command>
1668
         </toolbar>
1669
         <separator
1670
               name="org.txm.rcp.toolbar.separator3"
1671
               visible="true">
1672
         </separator>
1673
         <toolbar
1674
               id="org.txm.rcp.toolbarscript">
1675
            <command
1676
                  commandId="org.txm.rcp.commands.ExecuteScript"
1677
                  icon="icons/functions/run.png"
1678
                  label="%command.label.170"
1679
                  style="push"
1680
                  tooltip="%command.tooltip.14">
1681
               <visibleWhen
1682
                     checkEnabled="false">
1683
                  <reference
1684
                        definitionId="TextEditorActive">
1685
                  </reference>
1686
               </visibleWhen>
1687
            </command>
1688
            <command
1689
                  commandId="org.txm.rcp.commands.ExecuteText"
1690
                  icon="icons/functions/page_select_go.png"
1691
                  label="%command.label.171"
1692
                  style="push"
1693
                  tooltip="%command.tooltip.36">
1694
               <visibleWhen
1695
                     checkEnabled="false">
1696
                  <reference
1697
                        definitionId="TextEditorActive">
1698
                  </reference>
1699
               </visibleWhen>
1700
            </command>
1701
            <command
1702
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1703
                  icon="icons/functions/page_go.png"
1704
                  label="%command.label.172"
1705
                  style="push"
1706
                  tooltip="%command.tooltip.37">
1707
               <visibleWhen
1708
                     checkEnabled="false">
1709
                  <reference
1710
                        definitionId="TextEditorActive">
1711
                  </reference>
1712
               </visibleWhen>
1713
            </command>
1714
            <command
1715
                  commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
1716
                  icon="icons/functions/rerun.png"
1717
                  label="%command.label.40"
1718
                  style="push"
1719
                  tooltip="%command.tooltip.50">
1720
            </command>
1721
         </toolbar>
1722
         <separator
1723
               name="org.txm.rcp.toolbar.separator4"
1724
               visible="true">
1725
         </separator>
1726
          <toolbar
1727
               id="org.txm.rcp.toolbarfile">
1728
         </toolbar>
1729
      </menuContribution>
1730
      <menuContribution
1731
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
1732
         <command
1733
               commandId="org.txm.rcp.commands.CreateFile"
1734
               label="%command.label.122"
1735
               style="push"
1736
               tooltip="%command.tooltip.75">
1737
            <visibleWhen
1738
                  checkEnabled="false">
1739
               <reference
1740
                     definitionId="OneFileSelected">
1741
               </reference>
1742
            </visibleWhen>
1743
         </command>
1744
         <command
1745
               commandId="org.txm.rcp.commands.CreateFolder"
1746
               label="%command.label.123"
1747
               style="push"
1748
               tooltip="%command.tooltip.76">
1749
            <visibleWhen
1750
                  checkEnabled="false">
1751
               <reference
1752
                     definitionId="OneFileSelected">
1753
               </reference>
1754
            </visibleWhen>
1755
         </command>
1756
         <command
1757
               commandId="org.txm.rcp.commands.EditSelectedFile"
1758
               label="%command.label.186"
1759
               style="push"
1760
               tooltip="%command.tooltip.17">
1761
            <visibleWhen
1762
                  checkEnabled="false">
1763
               <reference
1764
                     definitionId="OneFileSelected">
1765
               </reference>
1766
            </visibleWhen>
1767
         </command>
1768
         <command
1769
               commandId="org.txm.rcp.commands.OpenBrowser"
1770
               label="%command.label.22"
1771
               style="push"
1772
               tooltip="%command.tooltip.18">
1773
            <visibleWhen
1774
                  checkEnabled="false">
1775
               <reference
1776
                     definitionId="OneFileSelected">
1777
               </reference>
1778
            </visibleWhen>
1779
         </command>
1780
         <command
1781
               commandId="org.txm.rcp.commands.ExecuteScript"
1782
               label="%command.label.23"
1783
               style="push"
1784
               tooltip="%command.tooltip.19">
1785
            <visibleWhen
1786
                  checkEnabled="false">
1787
               <reference
1788
                     definitionId="OneFileSelected">
1789
               </reference>
1790
            </visibleWhen>
1791
         </command>
1792
         <command
1793
               commandId="org.txm.rcp.commands.ShowSelected"
1794
               style="push">
1795
         </command>
1796
         <command
1797
               commandId="org.txm.rcp.commands.RenameFile"
1798
               style="push">
1799
            <visibleWhen
1800
                  checkEnabled="false">
1801
               <reference
1802
                     definitionId="OneFileSelected">
1803
               </reference>
1804
            </visibleWhen>
1805
         </command>
1806
         <command
1807
               commandId="org.txm.rcp.commands.DeleteFile"
1808
               style="push"
1809
               tooltip="%command.tooltip.15">
1810
            <visibleWhen
1811
                  checkEnabled="false">
1812
               <reference
1813
                     definitionId="OneFileSelected">
1814
               </reference>
1815
            </visibleWhen>
1816
         </command>
1817
         <command
1818
               commandId="org.txm.rcp.commands.CopyFile"
1819
               style="push"
1820
               tooltip="%command.tooltip.16">
1821
            <visibleWhen
1822
                  checkEnabled="false">
1823
               <reference
1824
                     definitionId="OneFileSelected">
1825
               </reference>
1826
            </visibleWhen>
1827
         </command>
1828
         <command
1829
               commandId="org.txm.rcp.commands.CutFile"
1830
               style="push"
1831
               tooltip="%command.tooltip.20">
1832
            <visibleWhen
1833
                  checkEnabled="false">
1834
               <reference
1835
                     definitionId="OneFileSelected">
1836
               </reference>
1837
            </visibleWhen>
1838
         </command>
1839
         <command
1840
               commandId="org.txm.rcp.commands.PasteFile"
1841
               style="push"
1842
               tooltip="%command.tooltip.21">
1843
            <visibleWhen
1844
                  checkEnabled="false">
1845
               <reference
1846
                     definitionId="OneFileSelected">
1847
               </reference>
1848
            </visibleWhen>
1849
         </command>
1850
      </menuContribution>
1851
      <menuContribution
1852
            locationURI="popup:#TextEditorContext">
1853
         <menu
1854
               label="%menu.label.10">
1855
            <command
1856
                  commandId="org.txm.rcp.commands.ExecuteGroovyText"
1857
                  label="%command.label.25"
1858
                  style="push">
1859
            </command>
1860
            <command
1861
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovy"
1862
                  label="%command.label.26"
1863
                  style="push">
1864
            </command>
1865
            <command
1866
                  commandId="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
1867
                  label="%command.label.156"
1868
                  style="push">
1869
            </command>
1870
         </menu>
1871
      </menuContribution>
1872
      <menuContribution
1873
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
1874
         <separator
1875
               name="org.txm.rcp.corporaview.begin"
1876
               visible="true"/>
1877
               <menu
1878
                     icon="icons/functions/export.png"
1879
                     id="org.txm.rcp.corporaview.export"
1880
                     label="%menu.label.13">
1881
                     <command
1882
                  commandId="org.txm.rcp.commands.function.ExportResult"
1883
                  icon="icons/functions/export_data.png"
1884
                  label="%command.label.51"
1885
                  style="push">
1886
               <visibleWhen
1887
                     checkEnabled="false">
1888
                  <or>
1889
                     <reference
1890
                           definitionId="OneLexiconSelected">
1891
                     </reference>
1892
                     <reference
1893
                           definitionId="OneConcordanceSelected">
1894
                     </reference>
1895
                     <reference
1896
                           definitionId="OneSpecificitiesResultSelected">
1897
                     </reference>
1898
                     <reference
1899
                           definitionId="OneIndexSelected">
1900
                     </reference>
1901
                     <reference
1902
                           definitionId="OneReferencerSelected">
1903
                     </reference>
1904
                     <reference
1905
                           definitionId="OneProgressionSelected">
1906
                     </reference>
1907
                     <reference
1908
                           definitionId="OneCooccurrenceSelected">
1909
                     </reference>
1910
                     <reference
1911
                           definitionId="OneLexicalTableSelected">
1912
                     </reference>
1913
                     <reference
1914
                           definitionId="OneCASelected">
1915
                     </reference>
1916
                     <reference
1917
                           definitionId="OneCAHSelected">
1918
                     </reference>
1919
                     <reference
1920
                           definitionId="OneTXMResultSelected">
1921
                     </reference>
1922
                  </or>
1923
               </visibleWhen>
1924
            </command>
1925
            <command
1926
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1927
                  icon="icons/functions/exportSVG.png"
1928
                  label="%command.label.101"
1929
                  style="push"
1930
                  tooltip="%command.tooltip.54">
1931
               <visibleWhen
1932
                     checkEnabled="false">
1933
                  <or>
1934
                     <reference
1935
                           definitionId="SVGEditorActive">
1936
                     </reference>
1937
                     <reference
1938
                           definitionId="OneCAHSelected">
1939
                     </reference>
1940
                     <reference
1941
                           definitionId="OneProgressionSelected">
1942
                     </reference>
1943
                     <reference
1944
                           definitionId="OneWordCloudSelected">
1945
                     </reference>
1946
                  </or>
1947
               </visibleWhen>
1948
            </command>
1949
               </menu>
1950
            
1951
            <separator
1952
                  name="org.txm.rcp.corporaview.corpus"
1953
                  visible="true">
1954
            </separator>
1955
            <separator
1956
                  name="org.txm.rcp.corporaview.corpus.read"
1957
                  visible="true">
1958
            </separator>
1959
            <separator
1960
                  name="org.txm.rcp.corporaview.corpus.manage"
1961
                  visible="true">
1962
            </separator>
1963
            <separator
1964
                  name="org.txm.rcp.corporaview.annotation"
1965
                  visible="true">
1966
            </separator>
1967
            <separator
1968
                  name="org.txm.rcp.corporaview.tools"
1969
                  visible="true">
1970
            </separator>
1971
            <separator
1972
                  name="org.txm.rcp.corporaview.tools.doc"
1973
                  visible="true">
1974
            </separator>
1975
            <separator
1976
                  name="org.txm.rcp.corporaview.tools.stat"
1977
                  visible="true">
1978
            </separator>
1979
            <separator
1980
                  name="org.txm.rcp.corporaview.tools.misc"
1981
                  visible="true">
1982
            </separator>
1983
         <separator
1984
               name="org.txm.rcp.corporaview.text"
1985
               visible="true">
1986
         </separator>
1987
         <separator
1988
               name="org.txm.rcp.corporaview.file"
1989
               visible="true">
1990
         </separator>
1991
            <command
1992
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
1993
                  mode="FORCE_TEXT"
1994
                  style="toggle">
1995
               <visibleWhen
1996
                     checkEnabled="false">
1997
                  <and>
1998
                     <reference
1999
                           definitionId="OneTXMResultSelected">
2000
                     </reference>
2001
                     <test
2002
                           property="org.txm.rcp.testers.persistable"
2003
                           value="true">
2004
                     </test>
2005
                     <test
2006
                           property="org.txm.rcp.testers.AutoPersistenceDisabled">
2007
                     </test>
2008
                  </and>
2009
               </visibleWhen>
2010
            </command>
2011
            <command
2012
                  commandId="org.txm.rcp.commands.function.RenameResult"
2013
                  label="%command.label.26"
2014
                  style="push">
2015
               <visibleWhen
2016
                     checkEnabled="false">
2017
                  <reference
2018
                        definitionId="OneTXMResultSelected">
2019
                  </reference>
2020
               </visibleWhen>
2021
            </command>
2022
            
2023
            <command
2024
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
2025
                  icon="icons/functions/Delete.png"
2026
                  style="push">
2027
               <visibleWhen
2028
                     checkEnabled="false">
2029
                  <or>
2030
                     <reference
2031
                           definitionId="OneTXMResultSelected">
2032
                     </reference>
2033
                  </or>
2034
               </visibleWhen>
2035
            </command>
2036
            <command
2037
                  commandId="org.txm.rcp.handlers.results.CloneTXMResult"
2038
                  label="Clone"
2039
                  style="push">
2040
               <visibleWhen
2041
                     checkEnabled="false">
2042
                  <and>
2043
                     <reference
2044
                           definitionId="OneTXMResultSelected">
2045
                     </reference>
2046
                     <not>
2047
                        <reference
2048
                              definitionId="OneMainCorpusSelected">
2049
                        </reference>
2050
                     </not>
2051
                  </and>
2052
               </visibleWhen>
2053
            </command>
2054
            <command
2055
                  commandId="org.txm.rcp.handlers.results.CloneTXMResultTree"
2056
                  label="Clone all"
2057
                  style="push">
2058
               <visibleWhen
2059
                     checkEnabled="false">
2060
                  <and>
2061
                     <reference
2062
                           definitionId="OneTXMResultSelected">
2063
                     </reference>
2064
                     <not>
2065
                        <reference
2066
                              definitionId="OneMainCorpusSelected">
2067
                        </reference>
2068
                     </not>
2069
                  </and>
2070
               </visibleWhen>
2071
            </command>
2072
            <command
2073
                  commandId="org.txm.rcp.handlers.results.ShowHiddenParents"
2074
                  label="Show hidden parents"
2075
                  style="push">
2076
               <visibleWhen
2077
                     checkEnabled="false">
2078
                  <and>
2079
                     <reference
2080
                           definitionId="OneTXMResultSelected">
2081
                     </reference>
2082
                     <test
2083
                           property="org.txm.rcp.testers.IsParentHidden">
2084
                     </test>
2085
                  </and>
2086
               </visibleWhen>
2087
            </command>
2088
            <command
2089
                  commandId="org.txm.rcp.handlers.results.HideIntermediateParents"
2090
                  label="Hide intermediate parents"
2091
                  style="push">
2092
               <visibleWhen
2093
                     checkEnabled="false">
2094
                  <and>
2095
                     <reference
2096
                           definitionId="OneTXMResultSelected">
2097
                     </reference>
2098
                     <test
2099
                           property="org.txm.rcp.testers.IsParentVisible"
2100
                           value="true">
2101
                     </test>
2102
                  </and>
2103
               </visibleWhen>
2104
            </command>
2105
            <separator
2106
                  name="org.txm.rcp.corporaview.preferences"
2107
                  visible="true">
2108
            </separator>
2109
            <command
2110
                  commandId="org.eclipse.ui.window.preferences"
2111
                  icon="icons/functions/prefs.png"
2112
                  label="%command.label.4"
2113
                  style="push">
2114
            </command>
2115
            <command
2116
                  commandId="org.txm.rcp.commands.workspace.RebuildCorpus"
2117
                  label="Reconstruire"
2118
                  style="push">
2119
               <visibleWhen
2120
                     checkEnabled="false">
2121
                  <or>
2122
                     <reference
2123
                           definitionId="OneProjectSelected">
2124
                     </reference>
2125
                     <reference
2126
                           definitionId="OneMainCorpusSelected">
2127
                     </reference>
2128
                  </or>
2129
               </visibleWhen>
2130
            </command>
2131

    
2132
      </menuContribution>
2133

    
2134
      <menuContribution
2135
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2136
         <command
2137
               commandId="org.txm.rcp.commands.function.ExportSVG"
2138
               label="%command.label.101"
2139
               style="push"
2140
               tooltip="%command.tooltip.60">
2141
            <visibleWhen
2142
                  checkEnabled="false">
2143
               <reference
2144
                     definitionId="SVGEditorActive">
2145
               </reference>
2146
            </visibleWhen>
2147
         </command>
2148
      </menuContribution>
2149
      <menuContribution
2150
            locationURI="popup:org.txm.rcp.views.QueriesView">
2151
         <command
2152
               commandId="org.txm.rcp.commands.queryview.Copy"
2153
               label="%command.label.129"
2154
               style="push"
2155
               tooltip="%command.tooltip.81">
2156
            <visibleWhen
2157
                  checkEnabled="false">
2158
               <reference
2159
                     definitionId="OneQueryLogSelected">
2160
               </reference>
2161
            </visibleWhen>
2162
         </command>
2163
         <command
2164
               commandId="org.txm.rcp.commands.queryview.Paste"
2165
               label="%command.label.130"
2166
               style="push"
2167
               tooltip="%command.tooltip.82">
2168
            <visibleWhen
2169
                  checkEnabled="false">
2170
               <reference
2171
                     definitionId="OneBaseSelected">
2172
               </reference>
2173
            </visibleWhen>
2174
         </command>
2175
         <command
2176
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2177
               icon="icons/functions/Delete.png"
2178
               label="%command.label.65"
2179
               style="push"
2180
               tooltip="%command.tooltip.33">
2181
            <visibleWhen
2182
                  checkEnabled="false">
2183
               <reference
2184
                     definitionId="OneQueryLogSelected">
2185
               </reference>
2186
            </visibleWhen>
2187
         </command>
2188
      </menuContribution>
2189
      <menuContribution
2190
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2191
         <command
2192
               commandId="org.txm.rcp.commands.ExecuteMacro"
2193
               label="%command.label.23"
2194
               style="push"
2195
               tooltip="%command.tooltip.19">
2196
            <visibleWhen
2197
                  checkEnabled="false">
2198
               <reference
2199
                     definitionId="OneFileSelected">
2200
               </reference>
2201
            </visibleWhen>
2202
         </command>
2203
         <command
2204
               commandId="org.txm.rcp.commands.EditSelectedFile"
2205
               label="%command.label.186"
2206
               style="push"
2207
               tooltip="%command.tooltip.86">
2208
            <visibleWhen
2209
                  checkEnabled="false">
2210
               <reference
2211
                     definitionId="OneFileSelected">
2212
               </reference>
2213
            </visibleWhen>
2214
         </command>
2215
         <command
2216
               commandId="org.txm.rcp.commands.CreateMacro"
2217
               label="%command.label.187"
2218
               style="push"
2219
               tooltip="%command.tooltip.92">
2220
            <visibleWhen
2221
                  checkEnabled="false">
2222
               <reference
2223
                     definitionId="OneFileSelected">
2224
               </reference>
2225
            </visibleWhen>
2226
         </command>
2227
         <command
2228
               commandId="org.txm.rcp.commands.CreateFolder"
2229
               label="%command.label.123"
2230
               style="push"
2231
               tooltip="%command.tooltip.76">
2232
            <visibleWhen
2233
                  checkEnabled="false">
2234
               <reference
2235
                     definitionId="OneFileSelected">
2236
               </reference>
2237
            </visibleWhen>
2238
         </command>
2239
         <command
2240
               commandId="org.txm.rcp.commands.ShowSelected"
2241
               style="push">
2242
         </command>
2243
         <command
2244
               commandId="org.txm.rcp.commands.RenameFile"
2245
               style="push">
2246
            <visibleWhen
2247
                  checkEnabled="false">
2248
               <reference
2249
                     definitionId="OneFileSelected">
2250
               </reference>
2251
            </visibleWhen>
2252
         </command>
2253
         <command
2254
               commandId="org.txm.rcp.commands.DeleteFile"
2255
               style="push"
2256
               tooltip="%command.tooltip.15">
2257
            <visibleWhen
2258
                  checkEnabled="false">
2259
               <reference
2260
                     definitionId="OneFileSelected">
2261
               </reference>
2262
            </visibleWhen>
2263
         </command>
2264
         <command
2265
               commandId="org.txm.rcp.commands.CopyFile"
2266
               style="push"
2267
               tooltip="%command.tooltip.16">
2268
            <visibleWhen
2269
                  checkEnabled="false">
2270
               <reference
2271
                     definitionId="OneFileSelected">
2272
               </reference>
2273
            </visibleWhen>
2274
         </command>
2275
         <command
2276
               commandId="org.txm.rcp.commands.CutFile"
2277
               style="push"
2278
               tooltip="%command.tooltip.20">
2279
            <visibleWhen
2280
                  checkEnabled="false">
2281
               <reference
2282
                     definitionId="OneFileSelected">
2283
               </reference>
2284
            </visibleWhen>
2285
         </command>
2286
         <command
2287
               commandId="org.txm.rcp.commands.PasteFile"
2288
               style="push"
2289
               tooltip="%command.tooltip.21">
2290
            <visibleWhen
2291
                  checkEnabled="false">
2292
               <reference
2293
                     definitionId="OneFileSelected">
2294
               </reference>
2295
            </visibleWhen>
2296
         </command>
2297
      </menuContribution>
2298
      <menuContribution
2299
            allPopups="true"
2300
            locationURI="toolbar:TXMEditorTopToolBar">
2301
         <command
2302
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2303
               icon="icons/functions/run.png"
2304
               label="%command.label.36"
2305
               style="push">
2306
         </command>
2307
      </menuContribution>
2308
      <menuContribution
2309
            allPopups="false"
2310
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2311
         <command
2312
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2313
               icon="icons/refresh.png"
2314
               style="push">
2315
         </command>
2316
      </menuContribution>
2317
   </extension>
2318
   <extension
2319
         id="general"
2320
         name="%extension.name.0"
2321
         point="org.eclipse.ui.commands">
2322
      <category
2323
            description="%category.description"
2324
            id="org.txm.rcp.category.txm"
2325
            name="%category.name.0">
2326
      </category>
2327
      <command
2328
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2329
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2330
            name="%command.name.22">
2331
         <commandParameter
2332
               id="org.txm.rcp.commands.commandParameter3"
2333
               name="%commandParameter.name.1"
2334
               optional="true">
2335
         </commandParameter>
2336
      </command>
2337
      
2338
      <command
2339
            categoryId="org.eclipse.ui.category.navigate"
2340
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2341
            id="org.txm.rcp.commands.OpenBrowser"
2342
            name="%command.name.8">
2343
         <commandParameter
2344
               id="org.txm.rcp.commands.commandParameter2"
2345
               name="%commandParameter.name"
2346
               optional="true">
2347
         </commandParameter>
2348
      </command>
2349
      <command
2350
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2351
            id="org.txm.rcp.commands.ShowSelected"
2352
            name="%command.name.9">
2353
      </command>
2354
      <command
2355
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2356
            description="%command.description"
2357
            id="org.txm.rcp.commands.RestartTXM"
2358
            name="%command.name.25">
2359
      </command>
2360
      
2361
      <command
2362
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2363
            id="org.txm.rcp.commands.ImportSelectedText"
2364
            name="%command.name.28">
2365
      </command>
2366
      <command
2367
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2368
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2369
            name="%command.name.31">
2370
      </command>
2371
            
2372
      <command
2373
            categoryId="org.eclipse.ui.category.edit"
2374
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2375
            id="org.txm.rcp.commands.OpenImportForm"
2376
            name="%command.name.62">
2377
         <commandParameter
2378
               id="org.txm.rcp.commands.importscript"
2379
               name="%commandParameter.name.2"
2380
               optional="false">
2381
         </commandParameter>
2382
      </command>
2383
      <command
2384
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2385
            description="%command.description.0"
2386
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2387
            name="%command.name.3">
2388
      </command>
2389
      <command
2390
            categoryId="org.txm.rcp.category.txm"
2391
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2392
            id="org.txm.rcp.commands.OpenTestEditor"
2393
            name="%command.name.19">
2394
      </command>
2395
      <command
2396
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2397
            id="org.txm.rcp.commands.editor.SetEncoding"
2398
            name="%command.name.72">
2399
      </command>
2400
      <command
2401
            categoryId="org.eclipse.ui.category.navigate"
2402
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2403
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2404
            name="%command.name.74">
2405
         <commandParameter
2406
               id="org.txm.rcp.commands.commandParameter3"
2407
               name="%commandParameter.name.3"
2408
               optional="true">
2409
         </commandParameter>
2410
      </command>
2411
      <command
2412
            categoryId="org.eclipse.ui.category.navigate"
2413
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2414
            id="org.txm.rcp.commands.OpenWelcomePage"
2415
            name="%command.name.8">
2416
         <commandParameter
2417
               id="org.txm.rcp.commands.commandParameter2"
2418
               name="%commandParameter.name"
2419
               optional="true">
2420
         </commandParameter>
2421
      </command>
2422
      <command
2423
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2424
            description="%command.label.182"
2425
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2426
            name="%command.label.182">
2427
      </command>
2428
      <command
2429
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2430
            description="%command.description.3"
2431
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2432
            name="%command.name.87">
2433
                     <commandParameter
2434
               id="org.txm.rcp.parameters.update"
2435
               name="%commandParameter.name.4"
2436
               optional="true">
2437
         </commandParameter>
2438
      </command>
2439
      <command
2440
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2441
            description="%command.description.4"
2442
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2443
            name="%command.name.88">
2444
      </command>
2445
      <command
2446
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2447
            id="org.txm.rcp.commands.CleanPerspective"
2448
            name="%command.name.94">
2449
      </command>
2450
      <command
2451
            defaultHandler="org.txm.rcp.commands.OpenManual"
2452
            id="org.txm.rcp.commands.OpenManual"
2453
            name="%command.name.95">
2454
      </command>
2455
      <command
2456
            categoryId="org.txm.rcp.category.txm"
2457
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2458
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2459
            name="%command.name.98">
2460
      </command>
2461

    
2462
      <command
2463
            categoryId="org.txm.rcp.category.txm"
2464
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2465
            id="org.txm.rcp.commands.ReloadCorporaView"
2466
            name="%command.name.2">
2467
      </command>
2468
      <command
2469
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2470
            id="org.txm.rcp.commands.function.RenameResult"
2471
            name="%command.name.4">
2472
      </command>
2473
   </extension>
2474
   <extension
2475
         id="commands"
2476
         name="%extension.name.1"
2477
         point="org.eclipse.ui.commands">
2478

    
2479
      <command
2480
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2481
            description="%command.description.2"
2482
            id="org.txm.rcp.commands.tests.NilsTest"
2483
            name="%command.name.85">
2484
      </command>
2485
      <command
2486
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2487
            id="org.txm.rcp.commands.function.ExportResult"
2488
            name="%command.name.24">
2489
      </command>
2490
      <command
2491
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2492
            id="org.txm.rcp.commands.function.ExportSVG"
2493
            name="%command.name.34">
2494
      </command>
2495
   </extension>
2496
   <extension
2497
         id="links"
2498
         name="%extension.name.2"
2499
         point="org.eclipse.ui.commands">
2500

    
2501
      <command
2502
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2503
            id="org.txm.rcp.commands.editor.Copy"
2504
            name="%command.name.55">
2505
      </command>
2506
   </extension>
2507
   <extension
2508
         id="views"
2509
         name="%extension.name.3"
2510
         point="org.eclipse.ui.commands">
2511
      <command
2512
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2513
            id="org.txm.rcp.commands.workspace.LoadBinaryCorporaDirectory"
2514
            name="%command.name.5">
2515
      </command>
2516
      <command
2517
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2518
            id="org.txm.rcp.commands.queryview.Copy"
2519
            name="%command.name.55">
2520
      </command>
2521
      <command
2522
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2523
            id="org.txm.rcp.commands.queryview.Paste"
2524
            name="%command.name.56">
2525
      </command>
2526
      <command
2527
            defaultHandler="org.txm.rcp.handlers.files.DownloadFile"
2528
            id="org.txm.rcp.commands.DownloadFile"
2529
            name="%command.name.91">
2530
      </command>
2531
      <command
2532
            defaultHandler="org.txm.rcp.views.debug.RefreshDebugView"
2533
            id="org.txm.rcp.views.debug.RefreshDebugView"
2534
            name="%command.name.27">
2535
      </command>
2536
   </extension>
2537
   <extension
2538
         id="file"
2539
         name="%extension.name.4"
2540
         point="org.eclipse.ui.commands">
2541
      <category
2542
            description="%category.description.0"
2543
            id="org.txm.rcp.categories.file"
2544
            name="%category.name.4">
2545
      </category>
2546
      <command
2547
            categoryId="org.txm.rcp.categories.file"
2548
            defaultHandler="org.txm.rcp.handlers.files.CutFile"
2549
            id="org.txm.rcp.commands.CutFile"
2550
            name="%command.name.71">
2551
      </command>
2552
      <command
2553
            categoryId="org.txm.rcp.categories.file"
2554
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2555
            id="org.txm.rcp.commands.editor.SaveAs"
2556
            name="%command.name.67">
2557
      </command>
2558
      <command
2559
            categoryId="org.txm.rcp.categories.file"
2560
            defaultHandler="org.txm.rcp.handlers.files.DeleteFile"
2561
            id="org.txm.rcp.commands.DeleteFile"
2562
            name="%command.name.68">
2563
      </command>
2564
      <command
2565
            categoryId="org.txm.rcp.categories.file"
2566
            defaultHandler="org.txm.rcp.handlers.files.CopyFile"
2567
            id="org.txm.rcp.commands.CopyFile"
2568
            name="%command.name.69">
2569
      </command>
2570
      <command
2571
            categoryId="org.txm.rcp.categories.file"
2572
            defaultHandler="org.txm.rcp.handlers.files.PasteFile"
2573
            id="org.txm.rcp.commands.PasteFile"
2574
            name="%command.name.70">
2575
      </command>
2576
      <command
2577
            categoryId="org.txm.rcp.categories.file"
2578
            defaultHandler="org.txm.rcp.handlers.files.RenameFile"
2579
            id="org.txm.rcp.commands.RenameFile"
2580
            name="%command.name.108">
2581
      </command>
2582
      <command
2583
            categoryId="org.txm.rcp.categories.file"
2584
            defaultHandler="org.txm.rcp.handlers.files.CreateFile"
2585
            id="org.txm.rcp.commands.CreateFile"
2586
            name="%command.name.47">
2587
      </command>
2588
      <command
2589
            categoryId="org.txm.rcp.categories.file"
2590
            defaultHandler="org.txm.rcp.handlers.files.CreateFolder"
2591
            id="org.txm.rcp.commands.CreateFolder"
2592
            name="%command.name.48">
2593
      </command>
2594
      <command
2595
            categoryId="org.txm.rcp.categories.file"
2596
            defaultHandler="org.txm.rcp.handlers.files.EditSelectedFile"
2597
            id="org.txm.rcp.commands.EditSelectedFile"
2598
            name="%command.name.106">
2599
      </command>
2600
      <command
2601
            categoryId="org.txm.rcp.categories.file"
2602
            defaultHandler="org.txm.rcp.handlers.files.EditFile"
2603
            id="org.txm.rcp.commands.EditFile"
2604
            name="%command.name">
2605
         <commandParameter
2606
               id="org.txm.rcp.commands.commandParameter2"
2607
               name="%commandParameter.name"
2608
               optional="true">
2609
         </commandParameter>
2610
      </command>
2611
   </extension>
2612
   <extension
2613
         id="results"
2614
         name="%extension.name.5"
2615
         point="org.eclipse.ui.commands">
2616
      <category
2617
            id="org.txm.rcp.categories.results"
2618
            name="%category.name.5">
2619
      </category>
2620
      <command
2621
            categoryId="org.txm.rcp.categories.results"
2622
            defaultHandler="org.txm.rcp.handlers.results.DeleteObject"
2623
            description="%command.description.5"
2624
            id="org.txm.rcp.handlers.results.DeleteObject"
2625
            name="%command.name.26">
2626
      </command>
2627
      <command
2628
            categoryId="org.txm.rcp.categories.results"
2629
            defaultHandler="org.txm.rcp.handlers.results.ComputeTXMResult"
2630
            description="%command.description.6"
2631
            id="org.txm.rcp.handlers.ComputeTXMResult"
2632
            name="%command.name.32">
2633
      </command>
2634
      <command
2635
            categoryId="org.txm.rcp.categories.results"
2636
            defaultHandler="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2637
            id="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2638
            name="%command.name.33">
2639
      </command>
2640
      <command
2641
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResult"
2642
            id="org.txm.rcp.handlers.results.CloneTXMResult"
2643
            name="Clone">
2644
      </command>
2645
            <command
2646
            defaultHandler="org.txm.rcp.handlers.results.CloneTXMResultTree"
2647
            id="org.txm.rcp.handlers.results.CloneTXMResultTree"
2648
            name="Clone all">
2649
      </command>
2650
            <command
2651
                  defaultHandler="org.txm.rcp.handlers.results.ShowHiddenParents"
2652
                  id="org.txm.rcp.handlers.results.ShowHiddenParents"
2653
                  name="ShowHiddenParents">
2654
            </command>
2655
            <command
2656
                  defaultHandler="org.txm.rcp.handlers.results.HideIntermediateParents"
2657
                  id="org.txm.rcp.handlers.results.HideIntermediateParents"
2658
                  name="Hide intermediate parents">
2659
            </command>
2660
   </extension>
2661
   <extension
2662
         id="scripts"
2663
         name="%extension.name.6"
2664
         point="org.eclipse.ui.commands">
2665
      <category
2666
            id="org.txm.rcp.categories.scripts"
2667
            name="%category.name.6">
2668
      </category>
2669
      <command
2670
            categoryId="org.txm.rcp.categories.scripts"
2671
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScript"
2672
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2673
            name="%command.name.0">
2674
      </command>
2675
      <command
2676
            categoryId="org.txm.rcp.categories.scripts"
2677
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteLastGroovyScript"
2678
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2679
            name="%command.name.89">
2680
      </command>
2681
      <command
2682
            categoryId="org.txm.rcp.categories.scripts"
2683
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyText"
2684
            id="org.txm.rcp.commands.ExecuteGroovyText"
2685
            name="%command.name.10">
2686
      </command>
2687
      <command
2688
            categoryId="org.txm.rcp.categories.scripts"
2689
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyScriptFromFile"
2690
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2691
            name="%command.name.66">
2692
      </command>
2693
      <command
2694
            categoryId="org.txm.rcp.categories.scripts"
2695
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteGroovyMacro"
2696
            id="org.txm.rcp.commands.ExecuteMacro"
2697
            name="%command.name.79">
2698
         <commandParameter
2699
               id="org.txm.rcp.command.parameter.file"
2700
               name="%commandParameter.name.5"
2701
               optional="true">
2702
         </commandParameter>
2703
      </command>
2704
      <command
2705
            categoryId="org.txm.rcp.categories.scripts"
2706
            defaultHandler="org.txm.rcp.handlers.scripts.CreateMacro"
2707
            id="org.txm.rcp.commands.CreateMacro"
2708
            name="%command.name.80">
2709
      </command>
2710
      <command
2711
            categoryId="org.txm.rcp.categories.scripts"
2712
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteScript"
2713
            id="org.txm.rcp.commands.ExecuteScript"
2714
            name="%command.name.21">
2715
         <commandParameter
2716
               id="org.txm.rcp.command.parameter.file"
2717
               name="%commandParameter.name.6"
2718
               optional="true">
2719
         </commandParameter>
2720
      </command>
2721
      <command
2722
            categoryId="org.txm.rcp.categories.scripts"
2723
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteText"
2724
            id="org.txm.rcp.commands.ExecuteText"
2725
            name="%command.name.50">
2726
      </command>
2727
      <command
2728
            defaultHandler="org.txm.rcp.commands.workspace.RebuildCorpus"
2729
            id="org.txm.rcp.commands.workspace.RebuildCorpus"
2730
            name="Reconstruire">
2731
      </command>
2732
      <command
2733
            categoryId="org.txm.rcp.category.txm"
2734
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2735
            id="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2736
            name="LoadBinaryCorpus">
2737
      </command>
2738
   </extension>
2739
   <extension
2740
         point="org.eclipse.core.expressions.definitions">
2741
      <definition
2742
            id="OneFileSelected">
2743
         <with
2744
               variable="selection">
2745
            <iterate
2746
                  ifEmpty="false"
2747
                  operator="and">
2748
               <instanceof
2749
                     value="java.io.File">
2750
               </instanceof>
2751
            </iterate>
2752
         </with>
2753
      </definition>
2754
      <definition
2755
            id="OneDirSelected">
2756
         <and>
2757
            <instanceof
2758
                  value="java.io.File">
2759
            </instanceof>
2760
            <test
2761
                  args="isDirectory()"
2762
                  property="org.txm.rcp.test2"
2763
                  value="true">
2764
            </test>
2765
         </and>
2766
      </definition>
2767
            <definition
2768
                  id="OneProjectSelected">
2769
               <with
2770
                     variable="selection">
2771
                  <iterate
2772
                        ifEmpty="false"
2773
                        operator="and">
2774
                     <instanceof
2775
                           value="org.txm.objects.Project">
2776
                     </instanceof>
2777
                  </iterate>
2778
               </with>
2779
            </definition>
2780
            <definition
2781
                  id="OneTextSelected">
2782
               <with
2783
                     variable="selection">
2784
                  <iterate
2785
                        ifEmpty="false"
2786
                        operator="and">
2787
                     <instanceof
2788
                           value="org.txm.objects.Text">
2789
                     </instanceof>
2790
                  </iterate>
2791
               </with>
2792
            </definition>
2793
            <definition
2794
                  id="OneScriptSelected">
2795
               <with
2796
                     variable="selection">
2797
                  <iterate
2798
                        ifEmpty="false"
2799
                        operator="and">
2800
                     <instanceof
2801
                           value="org.txm.objects.Script">
2802
                     </instanceof>
2803
                  </iterate>
2804
               </with>
2805
            </definition>
2806
            <definition
2807
                  id="OneResultSelected">
2808
               <visibleWhen
2809
                     checkEnabled="false">
2810
                  <or>
2811
                     <reference
2812
                           definitionId="OneSpecificitiesResultSelected">
2813
                     </reference>
2814
                     <reference
2815
                           definitionId="OneCASelected">
2816
                     </reference>
2817
                     <reference
2818
                           definitionId="OneLexiconSelected">
2819
                     </reference>
2820
                     <reference
2821
                           definitionId="OneConcordanceSelected">
2822
                     </reference>
2823
                     <reference
2824
                           definitionId="OneIndexSelected">
2825
                     </reference>
2826
                     <reference
2827
                           definitionId="OneReferencerSelected">
2828
                     </reference>
2829
                  </or>
2830
               </visibleWhen>
2831
            </definition>
2832
            <definition
2833
                  id="SVGEditorActive">
2834
               <with
2835
                     variable="activeEditorId">
2836
                  <equals
2837
                        value="org.txm.rcp.editors.SVGGraphicEditor">
2838
                  </equals>
2839
               </with>
2840
            </definition>
2841
            <definition
2842
                  id="OneTxmObjectSelected">
2843
               <with
2844
                     variable="selection">
2845
                  <iterate
2846
                        ifEmpty="false"
2847
                        operator="and">
2848
                     <instanceof
2849
                           value="org.txm.objects.TxmObject">
2850
                     </instanceof>
2851
                  </iterate>
2852
               </with>
2853
            </definition>
2854
            <definition
2855
                  id="OneQueryLogSelected">
2856
               <with
2857
                     variable="selection">
2858
                  <iterate
2859
                        ifEmpty="false"
2860
                        operator="and">
2861
                     <instanceof
2862
                           value="org.txm.objects.QueryLog">
2863
                     </instanceof>
2864
                  </iterate>
2865
               </with>
2866
            </definition>
2867
            <definition
2868
                  id="StatEngineReady">
2869
               <test
2870
                     forcePluginActivation="true"
2871
                     property="org.txm.rcp.testers.ToolboxTester"
2872
                     value="StateEngineReady">
2873
               </test>
2874
            </definition>
2875
            <definition
2876
                  id="LabPerspectiveSelected">
2877
               <with
2878
                     variable="activeWorkbenchWindow.activePerspective">
2879
                  <equals
2880
                        value="org.txm.rcp.perspective.LabPerspective">
2881
                  </equals>
2882
               </with>
2883
            </definition>
2884
            <definition
2885
                  id="OneLexicalTableAbleSelected">
2886
               <with
2887
                     variable="selection">
2888
                  <iterate
2889
                        ifEmpty="false"
2890
                        operator="and">
2891
                     <instanceof
2892
                           value="org.txm.functions.LexicalTableAble">
2893
                     </instanceof>
2894
                  </iterate>
2895
               </with>
2896
            </definition>
2897
            <definition
2898
                  id="NeedToSaveAnnotations">
2899
               <test
2900
                     forcePluginActivation="true"
2901
                     property="org.txm.rcp.testers.annotate.canSave">
2902
               </test>
2903
            </definition>
2904
            <definition
2905
                  id="ExpertEnabled">
2906
               <test
2907
                     forcePluginActivation="true"
2908
                     property="org.txm.rcp.testers.ExpertEnabled">
2909
               </test>
2910
            </definition>
2911
            <definition
2912
                  id="IsXTZCorpus">
2913
               <test
2914
                     forcePluginActivation="true"
2915
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
2916
               </test>
2917
            </definition>
2918
            <definition
2919
                  id="TextEditorActive">
2920
               <or>
2921
               <with
2922
                     variable="activePartId">
2923
                  <equals
2924
                        value="org.txm.rcp.editors.TxtEditor">
2925
                  </equals>
2926
               </with>
2927
               <with
2928
                     variable="activePartId">
2929
                  <equals
2930
                        value=" org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart">
2931
                  </equals>
2932
               </with></or>
2933
            </definition>
2934
            <definition
2935
                  id="OneTXMResultSelected">
2936
               <with
2937
                     variable="selection">
2938
                  <iterate
2939
                        ifEmpty="false"
2940
                        operator="and">
2941
                     <instanceof
2942
                           value="org.txm.core.results.TXMResult">
2943
                     </instanceof>
2944
                  </iterate>
2945
               </with>
2946
            </definition>
2947
            <definition
2948
                  id="OneOrMoreElementSelected">
2949
               <with
2950
                     variable="activeMenuSelection">
2951
                  <count
2952
                        value="+">
2953
                  </count>
2954
               </with>
2955
            </definition>
2956
            <definition
2957
                  id="IscorpusProject">
2958
               <adapt
2959
                     type="org.eclipse.core.resources.IProject">
2960
                  <test
2961
                        property="org.eclipse.core.resources.projectNature"
2962
                        value="org.txm.core.project.corpus">
2963
                  </test>
2964
               </adapt>
2965
            </definition>
2966
            <definition
2967
                  id="TXMEditorActive">
2968
               <with
2969
                     variable="activePart">
2970
                  <instanceof
2971
                        value="org.txm.rcp.editors.TXMEditor">
2972
                  </instanceof>
2973
               </with>
2974
            </definition>
2975
   </extension>
2976
  
2977
   <extension
2978
         point="org.eclipse.ui.popupMenus">
2979
      <viewerContribution
2980
            id="projmenu"
2981
            targetID="org.txm.rcp.views.BasesView">
2982
      </viewerContribution>
2983
   </extension>
2984
   
2985
   <extension
2986
         point="org.eclipse.ui.splashHandlers">
2987
      <splashHandler
2988
            class="org.txm.rcp.AbstractSplashHandler2"
2989
            id="org.txm.rcp.splashHandler2">
2990
      </splashHandler>
2991
      <splashHandlerProductBinding
2992
            productId="org.txm.rcp.product"
2993
            splashId="org.txm.rcp.splash">
2994
      </splashHandlerProductBinding>
2995
   </extension>
2996
   <extension
2997
         point="org.eclipse.core.expressions.propertyTesters">
2998
      <propertyTester
2999
            class="org.txm.rcp.testers.ToolboxTester"
3000
            id="org.txm.rcp.testers.ToolboxTester"
3001
            namespace="org.txm.rcp.testers"
3002
            properties="StatEngineReady,SearchEngineReady,computable,persistable"
3003
            type="java.lang.Object">
3004
      </propertyTester>
3005
      <propertyTester
3006
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3007
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3008
            namespace="org.txm.rcp.testers.annotate"
3009
            properties="canSave"
3010
            type="java.lang.Object">
3011
      </propertyTester>
3012
      <propertyTester
3013
            class="org.txm.rcp.testers.ExpertEnabled"
3014
            id="org.txm.rcp.testers.ExpertEnabled"
3015
            namespace="org.txm.rcp.testers"
3016
            properties="ExpertEnabled"
3017
            type="java.lang.Object">
3018
      </propertyTester>
3019
      <propertyTester
3020
            class="org.txm.rcp.testers.IsXTZCorpus"
3021
            id="org.txm.rcp.testers.IsXTZCorpus"
3022
            namespace="org.txm.rcp.testers.corpus"
3023
            properties="xtzCorpus"
3024
            type="java.lang.Object">
3025
      </propertyTester>
3026
      <propertyTester
3027
            class="org.txm.rcp.testers.AutoPersistenceDisabled"
3028
            id="org.txm.rcp.testers.AutoPersistenceDisabled"
3029
            namespace="org.txm.rcp.testers"
3030
            properties="AutoPersistenceDisabled"
3031
            type="java.lang.Object">
3032
      </propertyTester>
3033
      <propertyTester
3034
            class="org.txm.rcp.testers.IsParentVisible"
3035
            id="org.txm.rcp.testers.IsParentVisible"
3036
            namespace="org.txm.rcp.testers"
3037
            properties="IsParentVisible"
3038
            type="java.lang.Object">
3039
      </propertyTester>
3040
      <propertyTester
3041
            class="org.txm.rcp.testers.IsParentHidden"
3042
            id="org.txm.rcp.testers.IsParentHidden"
3043
            namespace="org.txm.rcp.testers"
3044
            properties="IsParentHidden"
3045
            type="java.lang.Object">
3046
      </propertyTester>
3047
      <propertyTester
3048
            class="org.txm.rcp.testers.CurrentEditorIsDirty"
3049
            id="org.txm.rcp.testers.CurrentEditorIsDirty"
3050
            namespace="org.txm.rcp.testers"
3051
            properties="CurrentEditorIsDirty"
3052
            type="java.lang.Object">
3053
      </propertyTester>
3054
   </extension>
3055
   <extension
3056
         point="org.eclipse.ui.bindings">
3057
      <key
3058
            commandId="org.txm.rcp.commands.ExecuteText"
3059
            contextId="org.eclipse.ui.contexts.window"
3060
            schemeId="org.txm.rcp.scheme"
3061
            sequence="F11">
3062
      </key>
3063
      <key
3064
            commandId="org.txm.rcp.commands.ExecuteScript"
3065
            contextId="org.eclipse.ui.contexts.window"
3066
            schemeId="org.txm.rcp.scheme"
3067
            sequence="M1+F11">
3068
      </key>
3069
      <key
3070
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3071
            contextId="org.eclipse.ui.contexts.window"
3072
            schemeId="org.txm.rcp.scheme"
3073
            sequence="F12">
3074
      </key>
3075
      <scheme
3076
            description="%scheme.description"
3077
            id="org.txm.rcp.scheme"
3078
            name="%scheme.name"
3079
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3080
      </scheme>
3081
      <key
3082
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3083
            contextId="org.txm.rcp.views.corpora.CorporaView"
3084
            schemeId="org.txm.rcp.scheme"
3085
            sequence="F5">
3086
      </key>
3087
      <key
3088
            commandId="org.txm.rcp.commands.function.RenameResult"
3089
            contextId="org.txm.rcp.views.corpora.CorporaView"
3090
            schemeId="org.txm.rcp.scheme"
3091
            sequence="F2">
3092
      </key>
3093
      <key
3094
            commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
3095
            contextId="org.txm.rcp.views.corpora.CorporaView"
3096
            schemeId="org.txm.rcp.scheme"
3097
            sequence="M1+S">
3098
      </key>
3099
   </extension>
3100
   <extension
3101
         point="org.eclipse.e4.ui.css.swt.theme">
3102
      <theme
3103
            basestylesheeturi="css/default_linux.css"
3104
            id="org.txm.rcp.theme.default.linux"
3105
            label="TXM"
3106
            os="linux">
3107
      </theme>
3108
      <theme
3109
            basestylesheeturi="css/default_windows.css"
3110
            id="org.txm.rcp.theme.default.windows"
3111
            label="TXM"
3112
            os="win32">
3113
      </theme>
3114
      <theme
3115
            basestylesheeturi="css/default_mac.css"
3116
            id="org.txm.rcp.theme.default.mac"
3117
            label="TXM"
3118
            os="macosx">
3119
      </theme>
3120
   </extension>
3121
   <extension
3122
         point="org.eclipse.ui.contexts">
3123
      <context
3124
            description="%context.description.0"
3125
            id="org.txm.rcp.views.corpora.CorporaViewContext"
3126
            name="%context.name.0">
3127
      </context>
3128
   </extension>
3129
   <extension
3130
         point="org.eclipse.ui.newWizards">
3131
      <category
3132
            id="org.txm.rcp.corpus"
3133
            name="%category.name.7">
3134
      </category>
3135
      <primaryWizard
3136
            id="org.txm.rcp.corpuswizard.TxtWizard">
3137
      </primaryWizard>
3138
      <primaryWizard
3139
            id="org.txm.rcp.corpuswizard.XMLXTZWizard">
3140
      </primaryWizard>
3141
      <primaryWizard
3142
            id="org.txm.rcp.corpuswizard.FactivaWizard">
3143
      </primaryWizard>
3144
      <wizard
3145
            category="org.txm.rcp.corpus"
3146
            class="org.txm.rcp.corpuswizard.ImportWizard"
3147
            descriptionImage="icons/wizard/txt.png"
3148
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3149
            icon="icons/objects/file.png"
3150
            id="org.txm.rcp.corpuswizard.TxtWizard"
3151
            name="%wizard.name.2"
3152
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3153
            project="true">
3154
      </wizard>
3155
      <wizard
3156
            category="org.txm.rcp.corpus"
3157
            class="org.txm.rcp.corpuswizard.ImportWizard"
3158
            descriptionImage="icons/wizard/factiva.png"
3159
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3160
            icon="icons/objects/xml.png"
3161
            id="org.txm.rcp.corpuswizard.FactivaWizard"
3162
            name="%wizard.name.3"
3163
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3164
            project="true">
3165
      </wizard>
3166
      <wizard
3167
            category="org.txm.rcp.corpus"
3168
            class="org.txm.rcp.corpuswizard.ImportWizard"
3169
            descriptionImage="icons/wizard/xtz.png"
3170
            finalPerspective="org.txm.rcp.perspective.TXMPerspective"
3171
            icon="icons/objects/xml.png"
3172
            id="org.txm.rcp.corpuswizard.XMLXTZWizard"
3173
            name="%wizard.name.4"
3174
            preferredPerspectives="org.txm.rcp.perspective.TXMPerspective"
3175
            project="true">
3176
      </wizard>
3177
   </extension>
3178
   <extension
3179
         point="org.eclipse.ui.ide.projectNatureImages">
3180
      <image
3181
            icon="icons/objects/books.png"
3182
            id="org.txm.rcp.image1"
3183
            natureId="org.txm.core.CorpusNature">
3184
      </image>
3185
   </extension>
3186
   <extension
3187
         point="org.eclipse.ui.handlers">
3188
      <handler
3189
            class="org.txm.rcp.handlers.results.ComputeTXMResult"
3190
            commandId="org.txm.rcp.handlers.ComputeTXMResult">
3191
         <enabledWhen>
3192
            <test
3193
                  property="org.txm.rcp.testers.CurrentEditorIsDirty"
3194
                  value="false">
3195
            </test>
3196
         </enabledWhen>
3197
         <activeWhen>
3198
            <reference
3199
                  definitionId="TXMEditorActive">
3200
            </reference>
3201
         </activeWhen>
3202
      </handler>
3203
   </extension>
3204
</plugin>