Statistics
| Revision:

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

History | View | Annotate | Download (120 kB)

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

    
222

    
223

    
224

    
225

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

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

    
2118
      </menuContribution>
2119
      <menuContribution
2120
            locationURI="popup:org.txm.rcp.views.BasesView">
2121
         <separator
2122
               name="org.txm.rcp.separator1">
2123
         </separator>
2124
         <command
2125
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2126
               icon="icons/functions/Delete.png"
2127
               label="%command.label.65"
2128
               style="push"
2129
               tooltip="%command.tooltip.33">
2130
            <visibleWhen
2131
                  checkEnabled="false">
2132
               <or>
2133
                  <reference
2134
                        definitionId="OnePartitionSelected">
2135
                  </reference>
2136
                  <reference
2137
                        definitionId="OneSubCorpusSelected">
2138
                  </reference>
2139
                  <reference
2140
                        definitionId="OneBaseSelected">
2141
                  </reference>
2142
                  <reference
2143
                        definitionId="OneIndexSelected">
2144
                  </reference>
2145
                  <reference
2146
                        definitionId="OneLexiconSelected">
2147
                  </reference>
2148
                  <reference
2149
                        definitionId="OneConcordanceSelected">
2150
                  </reference>
2151
                  <reference
2152
                        definitionId="OneCASelected">
2153
                  </reference>
2154
                  <reference
2155
                        definitionId="OneSpecificitiesResultSelected">
2156
                  </reference>
2157
                  <reference
2158
                        definitionId="OneMainCorpusSelected">
2159
                  </reference>
2160
               </or>
2161
            </visibleWhen>
2162
         </command>
2163
        
2164
      </menuContribution>
2165

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

    
2494
      <command
2495
            categoryId="org.txm.rcp.category.txm"
2496
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2497
            id="org.txm.rcp.commands.ReloadCorporaView"
2498
            name="%command.name.2">
2499
      </command>
2500
      <command
2501
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2502
            id="org.txm.rcp.commands.function.RenameResult"
2503
            name="%command.name.4">
2504
      </command>
2505
   </extension>
2506
   <extension
2507
         id="commands"
2508
         name="%extension.name.1"
2509
         point="org.eclipse.ui.commands">
2510

    
2511
      <command
2512
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2513
            description="%command.description.2"
2514
            id="org.txm.rcp.commands.tests.NilsTest"
2515
            name="%command.name.85">
2516
      </command>
2517
      <command
2518
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2519
            id="org.txm.rcp.commands.function.ExportResult"
2520
            name="%command.name.24">
2521
      </command>
2522
      <command
2523
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2524
            id="org.txm.rcp.commands.function.ExportSVG"
2525
            name="%command.name.34">
2526
      </command>
2527
   </extension>
2528
   <extension
2529
         id="links"
2530
         name="%extension.name.2"
2531
         point="org.eclipse.ui.commands">
2532

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