Statistics
| Revision:

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

History | View | Annotate | Download (119.7 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.rcp.extentionpoint.command" name="%extension-point.name" schema="schema/org.txm.rcp.extentionpoint.command.exsd"/>
5
   <extension-point id="org.txm.rcp.editors.TXMEditorExtension" name="%extension-point.name.0" schema="schema/org.txm.rcp.editors.TXMEditorExtension.exsd"/>
6
 
7
   <extension
8
         id="Application"
9
         point="org.eclipse.core.runtime.applications">
10
      <application
11
            icon="icons/logo/TXM logo.png">
12
         <run
13
               class="org.txm.rcp.Application">
14
         </run>
15
      </application>
16
   </extension>
17
   <extension
18
         point="org.eclipse.ui.perspectives">
19
      <perspective
20
            class="org.txm.rcp.perspective.TXMPerspective"
21
            icon="icons/objects/corpus.png"
22
            id="org.txm.rcp.perspective.TXMPerspective"
23
            name="%perspective.name">
24
      </perspective>
25
   </extension>
26
   <extension
27
         id="product"
28
         point="org.eclipse.core.runtime.products">
29
      <product
30
            application="org.txm.rcp.Application"
31
            description="%product.description"
32
            name="TXM">
33
         <property
34
               name="appName"
35
               value="TXM">
36
         </property>
37
         <property
38
               name="windowImages"
39
               value="icons/logo/TXM logo 16x16.png,icons/logo/TXM logo.png,icons/logo/TXM logo 48x48.png,icons/logo/TXM logo 64x64.png,icons/logo/TXM logo 128x128.png,icons/logo/TXM logo 256x256.png">
40
         </property>
41
         <property
42
               name="startupForegroundColor"
43
               value="000000">
44
         </property>
45
         <property
46
               name="startupMessageRect"
47
               value="13,312,290,20">
48
         </property>
49
         <property
50
               name="aboutImage"
51
               value="icons/logo/about TXM.png">
52
         </property>
53
         <property
54
               name="aboutText"
55
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
56
         </property>
57
         <property
58
               name="startupProgressRect"
59
               value="13,332,290,15">
60
         </property>
61
         <property
62
               name="cssTheme"
63
               value="org.txm.rcp.theme.default.linux">
64
         </property>
65
         <property
66
               name="preferenceCustomization"
67
               value="plugin_customization.ini">
68
         </property>
69
      </product>
70
   </extension>
71
   <extension
72
         point="org.eclipse.ui.perspectiveExtensions">
73
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
74
         <view
75
               closeable="false"
76
               id="org.txm.rcp.views.corpora.CorporaView"
77
               ratio="0.5"
78
               relationship="right"
79
               relative="org.eclipse.ui.views.TaskList"
80
               showTitle="true"/>
81
         <view
82
               closeable="true"
83
               id="org.eclipse.ui.views.ProgressView"
84
               ratio="0.5"
85
               relationship="bottom"
86
               showTitle="true"
87
               visible="true">
88
         </view>
89
         <view
90
               closeable="true"
91
               id="org.txm.rcp.views.GroovyConsole"
92
               minimized="false"
93
               ratio="0.5"
94
               relationship="bottom"
95
               visible="true">
96
         </view>
97
         <view
98
               closeable="true"
99
               id="org.txm.rcp.views.QueriesView"
100
               ratio="0.5"
101
               relationship="right"
102
               relative="org.eclipse.ui.views.TaskList">
103
         </view>
104
      </perspectiveExtension>
105
   </extension>
106
   <extension
107
         point="org.eclipse.ui.views">
108
      <category
109
            id="org.txm.rcp"
110
            name="%category.name"/>
111
      <view
112
            category="org.txm.rcp"
113
            class="org.txm.rcp.views.corpora.CorporaView"
114
            icon="icons/objects/corpus.png"
115
            id="org.txm.rcp.views.corpora.CorporaView"
116
            name="%view.name"/>
117
      <view
118
            allowMultiple="false"
119
            category="org.eclipse.ui"
120
            class="org.eclipse.ui.ExtensionFactory:progressView"
121
            id="org.eclipse.ui.views.ProgressView"
122
            name="%view.name.0"
123
            restorable="true">
124
      </view>
125
      <view
126
            allowMultiple="false"
127
            category="org.txm.rcp"
128
            class="org.txm.rcp.views.fileexplorer.Explorer"
129
            icon="icons/objects/folder.png"
130
            id="org.txm.rcp.views.fileexplorer.Explorer"
131
            name="%view.name.1"
132
            restorable="true">
133
      </view>
134
      <view
135
            allowMultiple="false"
136
            category="org.txm.rcp"
137
            class="org.txm.rcp.views.GroovyConsole"
138
            id="org.txm.rcp.views.GroovyConsole"
139
            name="%view.name.2"
140
            restorable="true">
141
      </view>
142
      <view
143
            category="org.txm.rcp"
144
            class="org.txm.rcp.views.BasesView"
145
            id="org.txm.rcp.views.BasesView"
146
            name="%view.name.3"
147
            restorable="true">
148
      </view>
149
      <view
150
            category="org.txm.rcp"
151
            class="org.txm.rcp.views.QueriesView"
152
            icon="icons/objects/query.png"
153
            id="org.txm.rcp.views.QueriesView"
154
            name="%view.name.4"
155
            restorable="true">
156
      </view>
157
      <view
158
            category="org.txm.rcp"
159
            class="org.txm.rcp.views.SummaryView"
160
            id="org.txm.rcp.views.InternalCorpusView"
161
            name="%view.name.7"
162
            restorable="true">
163
      </view>
164
      <view
165
            allowMultiple="false"
166
            category="org.txm.rcp"
167
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
168
            icon="icons/objects/script.png"
169
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
170
            name="%view.name.8"
171
            restorable="true">
172
      </view>
173
      <view
174
            category="org.txm.rcp"
175
            class="org.txm.rcp.views.cmdparameters.ParametersView"
176
            icon="icons/functions/Properties.png"
177
            id="org.txm.rcp.views.cmdparameters.ParametersView"
178
            name="ParametersView"
179
            restorable="true">
180
      </view>
181
      <view
182
            category="org.txm.rcp"
183
            class="org.txm.rcp.views.debug.TXMResultDebugView"
184
            icon="icons/functions/Properties.png"
185
            id="org.txm.rcp.views.debug.TXMResultDebugView"
186
            name="TXMResultDebugView"
187
            restorable="true">
188
      </view>
189
      <view
190
            category="org.txm.rcp"
191
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
192
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
193
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
194
            name="TXMEditorSWTDebugView"
195
            restorable="true">
196
      </view>
197
   </extension>
198
   <extension
199
         point="org.eclipse.core.runtime.adapters">
200
      <factory
201
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
202
            class="org.txm.rcp.AdapterFactory">
203
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
204
      </factory>
205
      <factory
206
            adaptableType="org.txm.core.results.TXMResult"
207
            class="org.txm.rcp.adapters.DefaultAdapterFactory">
208
         <adapter
209
               type="org.eclipse.ui.model.IWorkbenchAdapter">
210
         </adapter>
211
         <adapter
212
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
213
         </adapter>
214
      </factory>
215

    
216

    
217

    
218

    
219

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

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

    
2094
      </menuContribution>
2095
      <menuContribution
2096
            locationURI="popup:org.txm.rcp.views.BasesView">
2097
         <separator
2098
               name="org.txm.rcp.separator1">
2099
         </separator>
2100
         <command
2101
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2102
               icon="icons/functions/Delete.png"
2103
               label="%command.label.65"
2104
               style="push"
2105
               tooltip="%command.tooltip.33">
2106
            <visibleWhen
2107
                  checkEnabled="false">
2108
               <or>
2109
                  <reference
2110
                        definitionId="OnePartitionSelected">
2111
                  </reference>
2112
                  <reference
2113
                        definitionId="OneSubCorpusSelected">
2114
                  </reference>
2115
                  <reference
2116
                        definitionId="OneBaseSelected">
2117
                  </reference>
2118
                  <reference
2119
                        definitionId="OneIndexSelected">
2120
                  </reference>
2121
                  <reference
2122
                        definitionId="OneLexiconSelected">
2123
                  </reference>
2124
                  <reference
2125
                        definitionId="OneConcordanceSelected">
2126
                  </reference>
2127
                  <reference
2128
                        definitionId="OneCASelected">
2129
                  </reference>
2130
                  <reference
2131
                        definitionId="OneSpecificitiesResultSelected">
2132
                  </reference>
2133
                  <reference
2134
                        definitionId="OneMainCorpusSelected">
2135
                  </reference>
2136
               </or>
2137
            </visibleWhen>
2138
         </command>
2139
        
2140
      </menuContribution>
2141

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

    
2476
      <command
2477
            categoryId="org.txm.rcp.category.txm"
2478
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2479
            id="org.txm.rcp.commands.ReloadCorporaView"
2480
            name="%command.name.2">
2481
      </command>
2482
      <command
2483
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2484
            id="org.txm.rcp.commands.function.RenameResult"
2485
            name="%command.name.4">
2486
      </command>
2487
   </extension>
2488
   <extension
2489
         id="commands"
2490
         name="%extension.name.1"
2491
         point="org.eclipse.ui.commands">
2492

    
2493
      <command
2494
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2495
            description="%command.description.2"
2496
            id="org.txm.rcp.commands.tests.NilsTest"
2497
            name="%command.name.85">
2498
      </command>
2499
      <command
2500
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2501
            id="org.txm.rcp.commands.function.ExportResult"
2502
            name="%command.name.24">
2503
      </command>
2504
      <command
2505
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2506
            id="org.txm.rcp.commands.function.ExportSVG"
2507
            name="%command.name.34">
2508
      </command>
2509
   </extension>
2510
   <extension
2511
         id="links"
2512
         name="%extension.name.2"
2513
         point="org.eclipse.ui.commands">
2514

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