Statistics
| Revision:

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

History | View | Annotate | Download (119.5 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
               id="compute"
2305
               label="%command.label.36"
2306
               style="push">
2307
         </command>
2308
      </menuContribution>
2309
      <menuContribution
2310
            allPopups="false"
2311
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2312
         <command
2313
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2314
               icon="icons/refresh.png"
2315
               style="push">
2316
         </command>
2317
      </menuContribution>
2318
   </extension>
2319
   <extension
2320
         id="general"
2321
         name="%extension.name.0"
2322
         point="org.eclipse.ui.commands">
2323
      <category
2324
            description="%category.description"
2325
            id="org.txm.rcp.category.txm"
2326
            name="%category.name.0">
2327
      </category>
2328
      <command
2329
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2330
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2331
            name="%command.name.22">
2332
         <commandParameter
2333
               id="org.txm.rcp.commands.commandParameter3"
2334
               name="%commandParameter.name.1"
2335
               optional="true">
2336
         </commandParameter>
2337
      </command>
2338
      
2339
      <command
2340
            categoryId="org.eclipse.ui.category.navigate"
2341
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2342
            id="org.txm.rcp.commands.OpenBrowser"
2343
            name="%command.name.8">
2344
         <commandParameter
2345
               id="org.txm.rcp.commands.commandParameter2"
2346
               name="%commandParameter.name"
2347
               optional="true">
2348
         </commandParameter>
2349
      </command>
2350
      <command
2351
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2352
            id="org.txm.rcp.commands.ShowSelected"
2353
            name="%command.name.9">
2354
      </command>
2355
      <command
2356
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2357
            description="%command.description"
2358
            id="org.txm.rcp.commands.RestartTXM"
2359
            name="%command.name.25">
2360
      </command>
2361
      
2362
      <command
2363
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2364
            id="org.txm.rcp.commands.ImportSelectedText"
2365
            name="%command.name.28">
2366
      </command>
2367
      <command
2368
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2369
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2370
            name="%command.name.31">
2371
      </command>
2372
            
2373
      <command
2374
            categoryId="org.eclipse.ui.category.edit"
2375
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2376
            id="org.txm.rcp.commands.OpenImportForm"
2377
            name="%command.name.62">
2378
         <commandParameter
2379
               id="org.txm.rcp.commands.importscript"
2380
               name="%commandParameter.name.2"
2381
               optional="false">
2382
         </commandParameter>
2383
      </command>
2384
      <command
2385
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2386
            description="%command.description.0"
2387
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2388
            name="%command.name.3">
2389
      </command>
2390
      <command
2391
            categoryId="org.txm.rcp.category.txm"
2392
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2393
            id="org.txm.rcp.commands.OpenTestEditor"
2394
            name="%command.name.19">
2395
      </command>
2396
      <command
2397
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2398
            id="org.txm.rcp.commands.editor.SetEncoding"
2399
            name="%command.name.72">
2400
      </command>
2401
      <command
2402
            categoryId="org.eclipse.ui.category.navigate"
2403
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2404
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2405
            name="%command.name.74">
2406
         <commandParameter
2407
               id="org.txm.rcp.commands.commandParameter3"
2408
               name="%commandParameter.name.3"
2409
               optional="true">
2410
         </commandParameter>
2411
      </command>
2412
      <command
2413
            categoryId="org.eclipse.ui.category.navigate"
2414
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2415
            id="org.txm.rcp.commands.OpenWelcomePage"
2416
            name="%command.name.8">
2417
         <commandParameter
2418
               id="org.txm.rcp.commands.commandParameter2"
2419
               name="%commandParameter.name"
2420
               optional="true">
2421
         </commandParameter>
2422
      </command>
2423
      <command
2424
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2425
            description="%command.label.182"
2426
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2427
            name="%command.label.182">
2428
      </command>
2429
      <command
2430
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2431
            description="%command.description.3"
2432
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2433
            name="%command.name.87">
2434
                     <commandParameter
2435
               id="org.txm.rcp.parameters.update"
2436
               name="%commandParameter.name.4"
2437
               optional="true">
2438
         </commandParameter>
2439
      </command>
2440
      <command
2441
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2442
            description="%command.description.4"
2443
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2444
            name="%command.name.88">
2445
      </command>
2446
      <command
2447
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2448
            id="org.txm.rcp.commands.CleanPerspective"
2449
            name="%command.name.94">
2450
      </command>
2451
      <command
2452
            defaultHandler="org.txm.rcp.commands.OpenManual"
2453
            id="org.txm.rcp.commands.OpenManual"
2454
            name="%command.name.95">
2455
      </command>
2456
      <command
2457
            categoryId="org.txm.rcp.category.txm"
2458
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2459
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2460
            name="%command.name.98">
2461
      </command>
2462

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

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

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