Statistics
| Revision:

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

History | View | Annotate | Download (115 kB)

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

    
222

    
223

    
224

    
225

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

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

    
2060
      </menuContribution>
2061

    
2062
      <menuContribution
2063
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2064
         <command
2065
               commandId="org.txm.rcp.commands.function.ExportSVG"
2066
               label="%command.label.101"
2067
               style="push"
2068
               tooltip="%command.tooltip.60">
2069
            <visibleWhen
2070
                  checkEnabled="false">
2071
               <reference
2072
                     definitionId="SVGEditorActive">
2073
               </reference>
2074
            </visibleWhen>
2075
         </command>
2076
      </menuContribution>
2077
      <menuContribution
2078
            locationURI="popup:org.txm.rcp.views.QueriesView">
2079
         <command
2080
               commandId="org.txm.rcp.commands.queryview.Copy"
2081
               label="%command.label.129"
2082
               style="push"
2083
               tooltip="%command.tooltip.81">
2084
            <visibleWhen
2085
                  checkEnabled="false">
2086
               <reference
2087
                     definitionId="OneQueryLogSelected">
2088
               </reference>
2089
            </visibleWhen>
2090
         </command>
2091
         <command
2092
               commandId="org.txm.rcp.commands.queryview.Paste"
2093
               label="%command.label.130"
2094
               style="push"
2095
               tooltip="%command.tooltip.82">
2096
            <visibleWhen
2097
                  checkEnabled="false">
2098
               <reference
2099
                     definitionId="OneBaseSelected">
2100
               </reference>
2101
            </visibleWhen>
2102
         </command>
2103
         <command
2104
               commandId="org.txm.rcp.handlers.results.DeleteObject"
2105
               icon="icons/functions/Delete.png"
2106
               label="%command.label.65"
2107
               style="push"
2108
               tooltip="%command.tooltip.33">
2109
            <visibleWhen
2110
                  checkEnabled="false">
2111
               <reference
2112
                     definitionId="OneQueryLogSelected">
2113
               </reference>
2114
            </visibleWhen>
2115
         </command>
2116
      </menuContribution>
2117
      <menuContribution
2118
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2119
         <command
2120
               commandId="org.txm.rcp.commands.ExecuteMacro"
2121
               label="%command.label.23"
2122
               style="push"
2123
               tooltip="%command.tooltip.19">
2124
            <visibleWhen
2125
                  checkEnabled="false">
2126
               <reference
2127
                     definitionId="OneFileSelected">
2128
               </reference>
2129
            </visibleWhen>
2130
         </command>
2131
         <command
2132
               commandId="org.txm.rcp.commands.EditSelectedFile"
2133
               label="%command.label.186"
2134
               style="push"
2135
               tooltip="%command.tooltip.86">
2136
            <visibleWhen
2137
                  checkEnabled="false">
2138
               <reference
2139
                     definitionId="OneFileSelected">
2140
               </reference>
2141
            </visibleWhen>
2142
         </command>
2143
         <command
2144
               commandId="org.txm.rcp.commands.CreateMacro"
2145
               label="%command.label.187"
2146
               style="push"
2147
               tooltip="%command.tooltip.92">
2148
            <visibleWhen
2149
                  checkEnabled="false">
2150
               <reference
2151
                     definitionId="OneFileSelected">
2152
               </reference>
2153
            </visibleWhen>
2154
         </command>
2155
         <command
2156
               commandId="org.txm.rcp.commands.CreateFolder"
2157
               label="%command.label.123"
2158
               style="push"
2159
               tooltip="%command.tooltip.76">
2160
            <visibleWhen
2161
                  checkEnabled="false">
2162
               <reference
2163
                     definitionId="OneFileSelected">
2164
               </reference>
2165
            </visibleWhen>
2166
         </command>
2167
         <command
2168
               commandId="org.txm.rcp.commands.ShowSelected"
2169
               style="push">
2170
         </command>
2171
         <command
2172
               commandId="org.txm.rcp.commands.RenameFile"
2173
               style="push">
2174
            <visibleWhen
2175
                  checkEnabled="false">
2176
               <reference
2177
                     definitionId="OneFileSelected">
2178
               </reference>
2179
            </visibleWhen>
2180
         </command>
2181
         <command
2182
               commandId="org.txm.rcp.commands.DeleteFile"
2183
               style="push"
2184
               tooltip="%command.tooltip.15">
2185
            <visibleWhen
2186
                  checkEnabled="false">
2187
               <reference
2188
                     definitionId="OneFileSelected">
2189
               </reference>
2190
            </visibleWhen>
2191
         </command>
2192
         <command
2193
               commandId="org.txm.rcp.commands.CopyFile"
2194
               style="push"
2195
               tooltip="%command.tooltip.16">
2196
            <visibleWhen
2197
                  checkEnabled="false">
2198
               <reference
2199
                     definitionId="OneFileSelected">
2200
               </reference>
2201
            </visibleWhen>
2202
         </command>
2203
         <command
2204
               commandId="org.txm.rcp.commands.CutFile"
2205
               style="push"
2206
               tooltip="%command.tooltip.20">
2207
            <visibleWhen
2208
                  checkEnabled="false">
2209
               <reference
2210
                     definitionId="OneFileSelected">
2211
               </reference>
2212
            </visibleWhen>
2213
         </command>
2214
         <command
2215
               commandId="org.txm.rcp.commands.PasteFile"
2216
               style="push"
2217
               tooltip="%command.tooltip.21">
2218
            <visibleWhen
2219
                  checkEnabled="false">
2220
               <reference
2221
                     definitionId="OneFileSelected">
2222
               </reference>
2223
            </visibleWhen>
2224
         </command>
2225
      </menuContribution>
2226
      <menuContribution
2227
            allPopups="true"
2228
            locationURI="toolbar:TXMEditorTopToolBar">
2229
         <command
2230
               commandId="org.txm.rcp.handlers.ComputeTXMResult"
2231
               icon="icons/functions/run.png"
2232
               label="%command.label.36"
2233
               style="push">
2234
         </command>
2235
      </menuContribution>
2236
      <menuContribution
2237
            allPopups="false"
2238
            locationURI="toolbar:org.txm.rcp.views.debug.TXMEditorSWTDebugView">
2239
         <command
2240
               commandId="org.txm.rcp.views.debug.RefreshDebugView"
2241
               icon="icons/refresh.png"
2242
               style="push">
2243
         </command>
2244
      </menuContribution>
2245
   </extension>
2246
   <extension
2247
         id="general"
2248
         name="%extension.name.0"
2249
         point="org.eclipse.ui.commands">
2250
      <category
2251
            description="%category.description"
2252
            id="org.txm.rcp.category.txm"
2253
            name="%category.name.0">
2254
      </category>
2255
      <command
2256
            defaultHandler="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2257
            id="org.txm.rcp.handlers.scripts.ExecuteImportScript"
2258
            name="%command.name.22">
2259
         <commandParameter
2260
               id="org.txm.rcp.commands.commandParameter3"
2261
               name="%commandParameter.name.1"
2262
               optional="true">
2263
         </commandParameter>
2264
      </command>
2265
      
2266
      <command
2267
            categoryId="org.eclipse.ui.category.navigate"
2268
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2269
            id="org.txm.rcp.commands.OpenBrowser"
2270
            name="%command.name.8">
2271
         <commandParameter
2272
               id="org.txm.rcp.commands.commandParameter2"
2273
               name="%commandParameter.name"
2274
               optional="true">
2275
         </commandParameter>
2276
      </command>
2277
      <command
2278
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2279
            id="org.txm.rcp.commands.ShowSelected"
2280
            name="%command.name.9">
2281
      </command>
2282
      <command
2283
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2284
            description="%command.description"
2285
            id="org.txm.rcp.commands.RestartTXM"
2286
            name="%command.name.25">
2287
      </command>
2288
      
2289
      <command
2290
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2291
            id="org.txm.rcp.commands.ImportSelectedText"
2292
            name="%command.name.28">
2293
      </command>
2294
      <command
2295
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2296
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2297
            name="%command.name.31">
2298
      </command>
2299
            
2300
      <command
2301
            categoryId="org.eclipse.ui.category.edit"
2302
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2303
            id="org.txm.rcp.commands.OpenImportForm"
2304
            name="%command.name.62">
2305
         <commandParameter
2306
               id="org.txm.rcp.commands.importscript"
2307
               name="%commandParameter.name.2"
2308
               optional="false">
2309
         </commandParameter>
2310
      </command>
2311
      <command
2312
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2313
            description="%command.description.0"
2314
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2315
            name="%command.name.3">
2316
      </command>
2317
      <command
2318
            categoryId="org.txm.rcp.category.txm"
2319
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2320
            id="org.txm.rcp.commands.OpenTestEditor"
2321
            name="%command.name.19">
2322
      </command>
2323
      <command
2324
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2325
            id="org.txm.rcp.commands.editor.SetEncoding"
2326
            name="%command.name.72">
2327
      </command>
2328
      <command
2329
            categoryId="org.eclipse.ui.category.navigate"
2330
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2331
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2332
            name="%command.name.74">
2333
         <commandParameter
2334
               id="org.txm.rcp.commands.commandParameter3"
2335
               name="%commandParameter.name.3"
2336
               optional="true">
2337
         </commandParameter>
2338
      </command>
2339
      <command
2340
            categoryId="org.eclipse.ui.category.navigate"
2341
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2342
            id="org.txm.rcp.commands.OpenWelcomePage"
2343
            name="%command.name.8">
2344
         <commandParameter
2345
               id="org.txm.rcp.commands.commandParameter2"
2346
               name="%commandParameter.name"
2347
               optional="true">
2348
         </commandParameter>
2349
      </command>
2350
      <command
2351
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2352
            description="%command.label.182"
2353
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2354
            name="%command.label.182">
2355
      </command>
2356
      <command
2357
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2358
            description="%command.description.3"
2359
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2360
            name="%command.name.87">
2361
                     <commandParameter
2362
               id="org.txm.rcp.parameters.update"
2363
               name="%commandParameter.name.4"
2364
               optional="true">
2365
         </commandParameter>
2366
      </command>
2367
      <command
2368
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2369
            description="%command.description.4"
2370
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2371
            name="%command.name.88">
2372
      </command>
2373
      <command
2374
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2375
            id="org.txm.rcp.commands.CleanPerspective"
2376
            name="%command.name.94">
2377
      </command>
2378
      <command
2379
            defaultHandler="org.txm.rcp.commands.OpenManual"
2380
            id="org.txm.rcp.commands.OpenManual"
2381
            name="%command.name.95">
2382
      </command>
2383
      <command
2384
            categoryId="org.txm.rcp.category.txm"
2385
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2386
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2387
            name="%command.name.98">
2388
      </command>
2389

    
2390
      <command
2391
            categoryId="org.txm.rcp.category.txm"
2392
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2393
            id="org.txm.rcp.commands.ReloadCorporaView"
2394
            name="%command.name.2">
2395
      </command>
2396
      <command
2397
            defaultHandler="org.txm.rcp.commands.function.RenameResult"
2398
            id="org.txm.rcp.commands.function.RenameResult"
2399
            name="%command.name.4">
2400
      </command>
2401
   </extension>
2402
   <extension
2403
         id="commands"
2404
         name="%extension.name.1"
2405
         point="org.eclipse.ui.commands">
2406

    
2407
      <command
2408
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2409
            description="%command.description.2"
2410
            id="org.txm.rcp.commands.tests.NilsTest"
2411
            name="%command.name.85">
2412
      </command>
2413
      <command
2414
            defaultHandler="org.txm.rcp.handlers.export.ExportResult"
2415
            id="org.txm.rcp.commands.function.ExportResult"
2416
            name="%command.name.24">
2417
      </command>
2418
      <command
2419
            defaultHandler="org.txm.rcp.handlers.export.ExportSVG"
2420
            id="org.txm.rcp.commands.function.ExportSVG"
2421
            name="%command.name.34">
2422
      </command>
2423
   </extension>
2424
   <extension
2425
         id="links"
2426
         name="%extension.name.2"
2427
         point="org.eclipse.ui.commands">
2428

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