Statistiques
| Révision :

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

Historique | Voir | Annoter | Télécharger (117,29 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
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="%product.name.3">
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="OneBaseSelected">
959
                     </reference>
960
                     <reference
961
                           definitionId="OneConcordanceSelected">
962
                     </reference>
963
                     <reference
964
                           definitionId="OneCorpusSelected">
965
                     </reference>
966
                     <reference
967
                           definitionId="OneLexicalTableSelected">
968
                     </reference>
969
                     <reference
970
                           definitionId="OneLexiconSelected">
971
                     </reference>
972
                     <reference
973
                           definitionId="OnePartitionSelected">
974
                     </reference>
975
                     <reference
976
                           definitionId="OneTxmObjectSelected">
977
                     </reference>
978
                     <reference
979
                           definitionId="OneTXMResultSelected">
980
                     </reference>
981
                  </or>
982
               </visibleWhen>
983
            </command>
984
            
985
            <separator
986
                  name="menu.corpus.build"
987
                  visible="true">
988
            </separator>
989
            
990
         </menu>
991
         <menu
992
               id="menu.tools"
993
               label="%menu.label.6">
994
            <separator
995
                  name="menu.tools.separator.doc"
996
                  visible="true">
997
            </separator>
998
            
999
            <separator
1000
                  name="menu.tools.separator.stats"
1001
                  visible="true">
1002
            </separator>
1003
            <separator
1004
                  name="menu.tools.separator.misc"
1005
                  visible="true">
1006
            </separator>
1007
            <separator
1008
                  name="menu.tools.separator.end"
1009
                  visible="true">
1010
            </separator>
1011
            <command
1012
                  commandId="org.eclipse.ui.window.preferences"
1013
                  icon="icons/functions/prefs.png"
1014
                  label="%command.label.4"
1015
                  style="push"
1016
                  tooltip="%command.tooltip.0">
1017
            </command>
1018
         </menu>
1019
         <menu
1020
               id="menu.display"
1021
               label="%menu.label.7"
1022
               tooltip="%menu.tooltip.0">
1023
            <menu
1024
                  id="menu.display.views"
1025
                  label="%menu.label.9">
1026
               <command
1027
                     commandId="org.eclipse.ui.views.showView"
1028
                     label="%command.label.134"
1029
                     style="push">
1030
                  <parameter
1031
                        name="org.eclipse.ui.views.showView.viewId"
1032
                        value="org.txm.rcp.views.corpora.CorporaView">
1033
                  </parameter>
1034
               </command>
1035
               <command
1036
                     commandId="org.eclipse.ui.views.showView"
1037
                     label="%command.label.135"
1038
                     style="push">
1039
                  <parameter
1040
                        name="org.eclipse.ui.views.showView.viewId"
1041
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1042
                  </parameter>
1043
               </command>
1044
               <command
1045
                     commandId="org.eclipse.ui.views.showView"
1046
                     label="%command.label.177"
1047
                     style="push">
1048
                  <parameter
1049
                        name="org.eclipse.ui.views.showView.viewId"
1050
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1051
                  </parameter>
1052
               </command>
1053
               <command
1054
                     commandId="org.eclipse.ui.views.showView"
1055
                     label="%command.label.136"
1056
                     style="push">
1057
                  <parameter
1058
                        name="org.eclipse.ui.views.showView.viewId"
1059
                        value="org.txm.rcp.views.QueriesView">
1060
                  </parameter>
1061
               </command>
1062
               <command
1063
                     commandId="org.eclipse.ui.views.showView"
1064
                     label="%command.label.43"
1065
                     style="push">
1066
                  <parameter
1067
                        name="org.eclipse.ui.views.showView.viewId"
1068
                        value="org.eclipse.ui.console.ConsoleView">
1069
                  </parameter>
1070
               </command>
1071
               <command
1072
                     commandId="org.eclipse.ui.views.showView"
1073
                     label="%command.label.139"
1074
                     style="push">
1075
               </command>
1076
            </menu>
1077
            <menu
1078
                  label="%menu.label.8">
1079
               <command
1080
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1081
                     label="%command.label.131"
1082
                     style="push">
1083
                  <parameter
1084
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1085
                        value="org.txm.rcp.perspective.TXMPerspective">
1086
                  </parameter>
1087
               </command>
1088
               <command
1089
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1090
                     label="%command.label.132"
1091
                     style="push">
1092
                  <parameter
1093
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1094
                        value="org.txm.rcp.perspective.RPerspective">
1095
                  </parameter>
1096
               </command>
1097
            </menu>
1098
            <command
1099
                  commandId="org.txm.rcp.commands.CleanPerspective"
1100
                  style="push">
1101
            </command>
1102
            <command
1103
                  commandId="org.eclipse.ui.window.newWindow"
1104
                  label="%command.label.157">
1105
            </command>
1106
            <command
1107
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1108
                  label="%command.label.75"
1109
                  style="push"
1110
                  tooltip="%command.tooltip.42">
1111
            </command>
1112
         </menu>
1113
         <menu
1114
               id="menu.help"
1115
               label="%menu.label.2"
1116
               tooltip="%menu.tooltip">
1117
            <command
1118
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1119
                  label="%command.label.173"
1120
                  style="push">
1121
            </command>
1122
            <separator
1123
                  name="org.txm.rcp.separator1"
1124
                  visible="true">
1125
            </separator>
1126
            <command
1127
                  commandId="org.eclipse.ui.window.showKeyAssist"
1128
                  label="%command.label.52"
1129
                  style="push">
1130
            </command>
1131
            <command
1132
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1133
                  label="%command.label.68"
1134
                  style="push"
1135
                  tooltip="%command.tooltip.23">
1136
               <parameter
1137
                     name="org.txm.rcp.commands.commandParameter3"
1138
                     value="refman">
1139
               </parameter>
1140
            </command>
1141
            <command
1142
                  commandId="org.txm.rcp.commands.OpenManual"
1143
                  label="%command.label.63"
1144
                  style="push"
1145
                  tooltip="%command.tooltip.64">
1146
            </command>
1147
            <command
1148
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1149
                  label="%command.label.33"
1150
                  style="push"
1151
                  tooltip="%command.tooltip.13">
1152
               <parameter
1153
                     name="org.txm.rcp.commands.commandParameter3"
1154
                     value="macros">
1155
               </parameter>
1156
            </command>
1157
            <menu
1158
                  id="menu.help.plugins"
1159
                  label="%menu.label.4">
1160
            </menu>
1161
            <command
1162
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1163
                  label="%command.label.70"
1164
                  style="push">
1165
               <parameter
1166
                     name="org.txm.rcp.commands.commandParameter3"
1167
                     value="sf_docs">
1168
               </parameter>
1169
            </command>
1170
            <command
1171
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1172
                  label="%command.label.178"
1173
                  style="push"
1174
                  tooltip="%command.tooltip.41">
1175
               <parameter
1176
                     name="org.txm.rcp.commands.commandParameter3"
1177
                     value="faq">
1178
               </parameter>
1179
            </command>
1180
            <command
1181
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1182
                  label="%command.label.35"
1183
                  style="push"
1184
                  tooltip="%command.tooltip.43">
1185
               <parameter
1186
                     name="org.txm.rcp.commands.commandParameter3"
1187
                     value="txm-users wiki">
1188
               </parameter>
1189
            </command>
1190
            <command
1191
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1192
                  label="%command.label.55"
1193
                  style="push"
1194
                  tooltip="%command.tooltip">
1195
               <parameter
1196
                     name="org.txm.rcp.commands.commandParameter3"
1197
                     value="mailinglist">
1198
               </parameter>
1199
            </command>
1200
            <command
1201
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1202
                  label="%command.label.76"
1203
                  style="push"
1204
                  tooltip="%command.tooltip.65">
1205
               <parameter
1206
                     name="org.txm.rcp.commands.commandParameter3"
1207
                     value="http://webchat.freenode.net/?channels=txm">
1208
               </parameter>
1209
            </command>
1210
            <separator
1211
                  name="helpSeparator1"
1212
                  visible="true">
1213
            </separator>
1214
            <command
1215
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1216
                  label="%command.label.56"
1217
                  style="push"
1218
                  tooltip="%command.tooltip">
1219
               <parameter
1220
                     name="org.txm.rcp.commands.commandParameter3"
1221
                     value="sf">
1222
               </parameter>
1223
            </command>
1224
            <command
1225
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1226
                  label="%command.label.69"
1227
                  style="push">
1228
               <parameter
1229
                     name="org.txm.rcp.commands.commandParameter3"
1230
                     value="textometrie">
1231
               </parameter>
1232
            </command>
1233
            <command
1234
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1235
                  label="%command.label.72"
1236
                  style="push">
1237
               <parameter
1238
                     name="org.txm.rcp.commands.commandParameter3"
1239
                     value="textometrie_docs">
1240
               </parameter>
1241
            </command>
1242
            <separator
1243
                  name="helpSeparator3"
1244
                  visible="true">
1245
            </separator>
1246
            <command
1247
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1248
                  label="%command.label.67"
1249
                  style="push"
1250
                  tooltip="%command.tooltip">
1251
               <parameter
1252
                     name="org.txm.rcp.commands.commandParameter3"
1253
                     value="treetagger">
1254
               </parameter>
1255
            </command>
1256
            <command
1257
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1258
                  label="%command.label.53"
1259
                  style="push"
1260
                  tooltip="%command.tooltip">
1261
               <parameter
1262
                     name="org.txm.rcp.commands.commandParameter3"
1263
                     value="bug">
1264
               </parameter>
1265
            </command>
1266
            <command
1267
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1268
                  label="%command.label.54"
1269
                  style="push"
1270
                  tooltip="%command.tooltip">
1271
               <parameter
1272
                     name="org.txm.rcp.commands.commandParameter3"
1273
                     value="feature">
1274
               </parameter>
1275
            </command>
1276
            <command
1277
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1278
                  label="%command.label.179"
1279
                  style="push"
1280
                  tooltip="%command.tooltip.47">
1281
               <parameter
1282
                     name="org.txm.rcp.commands.commandParameter3"
1283
                     value="contrib">
1284
               </parameter>
1285
            </command>
1286
            <separator
1287
                  name="org.txm.rcp.separator4"
1288
                  visible="true">
1289
            </separator>
1290
            <command
1291
                  commandId="org.eclipse.ui.help.aboutAction"
1292
                  label="%command.label.14"
1293
                  style="push"
1294
                  tooltip="%command.tooltip.10">
1295
            </command>
1296
         </menu>
1297
         <menu
1298
               id="menu.recettes"
1299
               label="%menu.label.12"
1300
               tooltip="%menu.tooltip.1">
1301
            <visibleWhen
1302
                  checkEnabled="false">
1303
               <or>
1304
                  <reference
1305
                        definitionId="ExpertEnabled">
1306
                  </reference>
1307
               </or>
1308
            </visibleWhen>
1309
         </menu>
1310
      </menuContribution>
1311
      <menuContribution
1312
            allPopups="true"
1313
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1314
         <separator
1315
               name="org.txm.rcp.toolbars.begin"
1316
               visible="false">
1317
         </separator>
1318
         <toolbar
1319
               id="org.txm.rcp.toolbars.result">
1320
            <command
1321
                  commandId="org.txm.rcp.commands.function.ExportResult"
1322
                  icon="icons/functions/export_data.png"
1323
                  style="push">
1324
               <visibleWhen
1325
                     checkEnabled="false">
1326
                  <or>
1327
                     <reference
1328
                           definitionId="OneLexiconSelected">
1329
                     </reference>
1330
                     <reference
1331
                           definitionId="OneIndexSelected">
1332
                     </reference>
1333
                     <reference
1334
                           definitionId="OneConcordanceSelected">
1335
                     </reference>
1336
                     <reference
1337
                           definitionId="OneSpecificitiesResultSelected">
1338
                     </reference>
1339
                     <reference
1340
                           definitionId="OneReferencerSelected">
1341
                     </reference>
1342
                     <reference
1343
                           definitionId="OneProgressionSelected">
1344
                     </reference>
1345
                     <reference
1346
                           definitionId="OneCooccurrenceSelected">
1347
                     </reference>
1348
                     <reference
1349
                           definitionId="OneLexicalTableSelected">
1350
                     </reference>
1351
                     <reference
1352
                           definitionId="OneCASelected">
1353
                     </reference>
1354
                     <reference
1355
                           definitionId="OneCAHSelected">
1356
                     </reference>
1357
                  </or>
1358
               </visibleWhen>
1359
            </command>
1360
            <command
1361
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1362
                  icon="icons/functions/exportSVG.png"
1363
                  style="push"
1364
                  tooltip="%command.tooltip.54">
1365
               <visibleWhen
1366
                     checkEnabled="false">
1367
                  <or>
1368
                     <reference
1369
                           definitionId="SVGEditorActive">
1370
                     </reference>
1371
                  </or>
1372
               </visibleWhen>
1373
            </command>
1374
         </toolbar>
1375
         <separator
1376
               name="org.txm.rcp.toolbar.separator1"
1377
               visible="false">
1378
         </separator>
1379
         <toolbar
1380
               id="org.txm.rcp.toolbarcorpus">
1381
            <separator
1382
                  name="org.txm.rcp.toolbarcorpus.read"
1383
                  visible="false">
1384
            </separator>
1385
            <command
1386
                  commandId="org.txm.rcp.handlers.results.DeleteObject"
1387
                  icon="icons/functions/Delete.png"
1388
                  style="push"
1389
                  tooltip="%command.tooltip.33">
1390
               <visibleWhen
1391
                     checkEnabled="false">
1392
                  <or>
1393
                     <reference
1394
                           definitionId="OneBaseSelected">
1395
                     </reference>
1396
                     <reference
1397
                           definitionId="OneConcordanceSelected">
1398
                     </reference>
1399
                     <reference
1400
                           definitionId="OneCorpusSelected">
1401
                     </reference>
1402
                     <reference
1403
                           definitionId="OneLexicalTableSelected">
1404
                     </reference>
1405
                     <reference
1406
                           definitionId="OneLexiconSelected">
1407
                     </reference>
1408
                     <reference
1409
                           definitionId="OnePartitionSelected">
1410
                     </reference>
1411
                     <reference
1412
                           definitionId="OneTxmObjectSelected">
1413
                     </reference>
1414
                     <reference
1415
                           definitionId="OneTXMResultSelected">
1416
                     </reference>
1417
                  </or>
1418
               </visibleWhen>
1419
            </command>
1420
            
1421
            <separator
1422
                  name="org.txm.rcp.toolbarcorpus.corpus"
1423
                  visible="false">
1424
            </separator>
1425
            <separator
1426
                  name="org.txm.rcp.toolbarcorpus.annotation"
1427
                  visible="false">
1428
            </separator>
1429
         </toolbar>
1430
         <separator
1431
               name="org.txm.rcp.toolbar.separator1"
1432
               visible="true">
1433
         </separator>
1434
         <toolbar
1435
               id="org.txm.rcp.toolbartools">
1436
            <separator
1437
                  name="org.txm.rcp.separator1"
1438
                  visible="true">
1439
            </separator>
1440

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

    
2119
      </menuContribution>
2120

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

    
2449
      <command
2450
            categoryId="org.txm.rcp.category.txm"
2451
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2452
            id="org.txm.rcp.commands.ReloadCorporaView"
2453
            name="%command.name.2">
2454
      </command>
2455
      <command
2456
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2457
            id="org.txm.rcp.commands.function.RenameResult"
2458
            name="%command.name.4">
2459
      </command>
2460
   </extension>
2461
   <extension
2462
         id="commands"
2463
         name="%extension.name.1"
2464
         point="org.eclipse.ui.commands">
2465

    
2466
      <command
2467
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2468
            description="%command.description.2"
2469
            id="org.txm.rcp.commands.tests.NilsTest"
2470
            name="%command.name.85">
2471
      </command>
2472
      <command
2473
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2474
            id="org.txm.rcp.commands.function.ExportResult"
2475
            name="%command.name.24">
2476
      </command>
2477
      <command
2478
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2479
            id="org.txm.rcp.commands.function.ExportSVG"
2480
            name="%command.name.34">
2481
      </command>
2482
   </extension>
2483
   <extension
2484
         id="links"
2485
         name="%extension.name.2"
2486
         point="org.eclipse.ui.commands">
2487

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