Statistics
| Revision:

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

History | View | Annotate | Download (117.3 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="%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
                  style="toggle">
2079
               <visibleWhen
2080
                     checkEnabled="false">
2081
                  <and>
2082
                     <reference
2083
                           definitionId="OneTXMResultSelected">
2084
                     </reference>
2085
                     <and>
2086
                        <not>
2087
                           <reference
2088
                                 definitionId="OneTxmObjectSelected">
2089
                           </reference>
2090
                        </not>
2091
                     </and>
2092
                  </and>
2093
               </visibleWhen>
2094
            </command>
2095
            <command
2096
                  commandId="org.eclipse.ui.window.preferences"
2097
                  icon="icons/functions/prefs.png"
2098
                  label="%command.label.4"
2099
                  style="push">
2100
            </command>
2101
            <command
2102
                  commandId="org.txm.rcp.commands.workspace.RebuildCorpus"
2103
                  label="Reconstruire"
2104
                  style="push">
2105
               <visibleWhen
2106
                     checkEnabled="false">
2107
                  <or>
2108
                     <reference
2109
                           definitionId="OneProjectSelected">
2110
                     </reference>
2111
                     <reference
2112
                           definitionId="OneMainCorpusSelected">
2113
                     </reference>
2114
                  </or>
2115
               </visibleWhen>
2116
            </command>
2117

    
2118
      </menuContribution>
2119

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

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

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

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