Statistics
| Revision:

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

History | View | Annotate | Download (115.8 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
 
6
   <extension
7
         id="Application"
8
         point="org.eclipse.core.runtime.applications">
9
      <application
10
            icon="icons/logo/TXM logo.png">
11
         <run
12
               class="org.txm.rcp.Application">
13
         </run>
14
      </application>
15
   </extension>
16
   <extension
17
         point="org.eclipse.ui.perspectives">
18
      <perspective
19
            class="org.txm.rcp.perspective.TXMPerspective"
20
            icon="icons/objects/corpus.png"
21
            id="org.txm.rcp.perspective.TXMPerspective"
22
            name="%perspective.name">
23
      </perspective>
24
      <perspective
25
            class="org.txm.rcp.perspective.RPerspective"
26
            icon="icons/logo/Rcran.png"
27
            id="org.txm.rcp.perspective.RPerspective"
28
            name="%perspective.name.0">
29
      </perspective>
30
   </extension>
31
   <extension
32
         id="product"
33
         point="org.eclipse.core.runtime.products">
34
      <product
35
            application="org.txm.rcp.Application"
36
            description="TXM desktop application"
37
            name="TXM">
38
         <property
39
               name="appName"
40
               value="TXM">
41
         </property>
42
         <property
43
               name="preferenceCustomization"
44
               value="plugin_customization.ini">
45
         </property>
46
         <property
47
               name="windowImages"
48
               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">
49
         </property>
50
         <property
51
               name="startupForegroundColor"
52
               value="000000">
53
         </property>
54
         <property
55
               name="startupMessageRect"
56
               value="13,312,290,20">
57
         </property>
58
         <property
59
               name="aboutImage"
60
               value="icons/logo/about TXM.png">
61
         </property>
62
         <property
63
               name="aboutText"
64
               value="&lt;TXM Software User Agreement&gt;&#x0A;&#x0A;TXM 0.8.0 Copyright © 2010-2017 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;">
65
         </property>
66
         <property
67
               name="startupProgressRect"
68
               value="13,332,290,15">
69
         </property>
70
         <property
71
               name="cssTheme"
72
               value="org.txm.rcp.theme.default.linux">
73
         </property>
74
      </product>
75
   </extension>
76
   <extension
77
         point="org.eclipse.ui.perspectiveExtensions">
78
      <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
79
         <view
80
               closeable="false"
81
               id="org.txm.rcp.views.corpora.CorporaView"
82
               ratio="0.5"
83
               relationship="right"
84
               relative="org.eclipse.ui.views.TaskList"/>
85
         <view
86
               closeable="true"
87
               id="org.eclipse.ui.views.ProgressView"
88
               ratio="0.5"
89
               relationship="bottom"
90
               showTitle="true"
91
               visible="true">
92
         </view>
93
         <view
94
               closeable="true"
95
               id="org.txm.rcp.views.GroovyConsole"
96
               minimized="false"
97
               ratio="0.5"
98
               relationship="bottom"
99
               visible="true">
100
         </view>
101
         <view
102
               closeable="true"
103
               id="org.txm.rcp.views.QueriesView"
104
               ratio="0.5"
105
               relationship="right"
106
               relative="org.eclipse.ui.views.TaskList">
107
         </view>
108
      </perspectiveExtension>
109
   </extension>
110
   <extension
111
         point="org.eclipse.ui.views">
112
      <category
113
            id="org.txm.rcp"
114
            name="%category.name"/>
115
      <view
116
            category="org.txm.rcp"
117
            class="org.txm.rcp.views.corpora.CorporaView"
118
            icon="icons/objects/corpus.png"
119
            id="org.txm.rcp.views.corpora.CorporaView"
120
            name="%view.name"/>
121
      <view
122
            allowMultiple="false"
123
            category="org.eclipse.ui"
124
            class="org.eclipse.ui.ExtensionFactory:progressView"
125
            id="org.eclipse.ui.views.ProgressView"
126
            name="%view.name.0"
127
            restorable="true">
128
      </view>
129
      <view
130
            allowMultiple="false"
131
            category="org.txm.rcp"
132
            class="org.txm.rcp.views.fileexplorer.Explorer"
133
            icon="icons/objects/folder.png"
134
            id="org.txm.rcp.views.fileexplorer.Explorer"
135
            name="%view.name.1"
136
            restorable="true">
137
      </view>
138
      <view
139
            allowMultiple="false"
140
            category="org.txm.rcp"
141
            class="org.txm.rcp.views.GroovyConsole"
142
            id="org.txm.rcp.views.GroovyConsole"
143
            name="%view.name.2"
144
            restorable="true">
145
      </view>
146
      <view
147
            category="org.txm.rcp"
148
            class="org.txm.rcp.views.BasesView"
149
            id="org.txm.rcp.views.BasesView"
150
            name="%view.name.3"
151
            restorable="true">
152
      </view>
153
      <view
154
            category="org.txm.rcp"
155
            class="org.txm.rcp.views.QueriesView"
156
            icon="icons/objects/query.png"
157
            id="org.txm.rcp.views.QueriesView"
158
            name="%view.name.4"
159
            restorable="true">
160
      </view>
161
      <view
162
            category="org.txm.rcp"
163
            class="org.txm.rcp.views.SummaryView"
164
            id="org.txm.rcp.views.InternalCorpusView"
165
            name="%view.name.7"
166
            restorable="true">
167
      </view>
168
      <view
169
            allowMultiple="false"
170
            category="org.txm.rcp"
171
            class="org.txm.rcp.views.fileexplorer.MacroExplorer"
172
            icon="icons/objects/script.png"
173
            id="org.txm.rcp.views.fileexplorer.MacroExplorer"
174
            name="%view.name.8"
175
            restorable="true">
176
      </view>
177
      <view
178
            category="org.txm.rcp"
179
            class="org.txm.rcp.views.cmdparameters.ParametersView"
180
            icon="icons/functions/Properties.png"
181
            id="org.txm.rcp.views.cmdparameters.ParametersView"
182
            name="ParametersView"
183
            restorable="true">
184
      </view>
185
      <view
186
            category="org.txm.rcp"
187
            class="org.txm.rcp.views.cmdparameters.TXMResultDebugView"
188
            icon="icons/functions/Properties.png"
189
            id="org.txm.rcp.views.cmdparameters.TXMResultDebugView"
190
            name="TXMResultDebugView"
191
            restorable="true">
192
      </view>
193
   </extension>
194
   <extension
195
         point="org.eclipse.core.runtime.adapters">
196
      <factory
197
            adaptableType="org.txm.searchengine.cqp.corpus.CorpusManager"
198
            class="org.txm.rcp.AdapterFactory">
199
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
200
      </factory>
201
        <factory 
202
                adaptableType="org.txm.searchengine.cqp.corpus.Lexicon" 
203
                class="org.txm.rcp.AdapterFactory">
204
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
205
        </factory>
206

    
207
        <factory 
208
                adaptableType="org.txm.searchengine.cqp.corpus.Corpus" 
209
                class="org.txm.rcp.adapters.CorpusAdapterFactory">
210
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
211
        </factory>
212

    
213

    
214

    
215

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

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

    
2055
      </menuContribution>
2056
      <menuContribution
2057
            locationURI="popup:org.txm.rcp.views.BasesView">
2058
         <command
2059
               commandId="HIDEorg.txm.rcp2.commands.workspace.AddProject"
2060
               label="%command.label.36"
2061
               style="push">
2062
            <visibleWhen
2063
                  checkEnabled="false">
2064
               <reference
2065
                     definitionId="OneProjectSelected">
2066
               </reference>
2067
            </visibleWhen>
2068
         </command>
2069
         <command
2070
               commandId="org.txm.rcp.commands.workspace.AddBase"
2071
               label="%command.label.37"
2072
               style="push">
2073
            <visibleWhen
2074
                  checkEnabled="false">
2075
               <reference
2076
                     definitionId="OneProjectSelected">
2077
               </reference>
2078
            </visibleWhen>
2079
         </command>       
2080
         <separator
2081
               name="org.txm.rcp.separator1">
2082
         </separator>
2083
         <command
2084
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2085
               icon="icons/functions/Delete.png"
2086
               label="%command.label.65"
2087
               style="push"
2088
               tooltip="%command.tooltip.33">
2089
            <visibleWhen
2090
                  checkEnabled="false">
2091
               <or>
2092
                  <reference
2093
                        definitionId="OnePartitionSelected">
2094
                  </reference>
2095
                  <reference
2096
                        definitionId="OneSubCorpusSelected">
2097
                  </reference>
2098
                  <reference
2099
                        definitionId="OneBaseSelected">
2100
                  </reference>
2101
                  <reference
2102
                        definitionId="OneIndexSelected">
2103
                  </reference>
2104
                  <reference
2105
                        definitionId="OneLexiconSelected">
2106
                  </reference>
2107
                  <reference
2108
                        definitionId="OneConcordanceSelected">
2109
                  </reference>
2110
                  <reference
2111
                        definitionId="OneCASelected">
2112
                  </reference>
2113
                  <reference
2114
                        definitionId="OneSpecificitiesResultSelected">
2115
                  </reference>
2116
                  <reference
2117
                        definitionId="OneMainCorpusSelected">
2118
                  </reference>
2119
               </or>
2120
            </visibleWhen>
2121
         </command>
2122
        
2123
      </menuContribution>
2124

    
2125
      <menuContribution
2126
            locationURI="popup:org.txm.rcp.editors.SVGGraphicEditor">
2127
         <command
2128
               commandId="org.txm.rcp.commands.function.ExportSVG"
2129
               label="%command.label.101"
2130
               style="push"
2131
               tooltip="%command.tooltip.60">
2132
            <visibleWhen
2133
                  checkEnabled="false">
2134
               <reference
2135
                     definitionId="SVGEditorActive">
2136
               </reference>
2137
            </visibleWhen>
2138
         </command>
2139
      </menuContribution>
2140
      <menuContribution
2141
            locationURI="popup:org.txm.rcp.views.QueriesView">
2142
         <command
2143
               commandId="org.txm.rcp.commands.queryview.Copy"
2144
               label="%command.label.129"
2145
               style="push"
2146
               tooltip="%command.tooltip.81">
2147
            <visibleWhen
2148
                  checkEnabled="false">
2149
               <reference
2150
                     definitionId="OneQueryLogSelected">
2151
               </reference>
2152
            </visibleWhen>
2153
         </command>
2154
         <command
2155
               commandId="org.txm.rcp.commands.queryview.Paste"
2156
               label="%command.label.130"
2157
               style="push"
2158
               tooltip="%command.tooltip.82">
2159
            <visibleWhen
2160
                  checkEnabled="false">
2161
               <reference
2162
                     definitionId="OneBaseSelected">
2163
               </reference>
2164
            </visibleWhen>
2165
         </command>
2166
         <command
2167
               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
2168
               icon="icons/functions/Delete.png"
2169
               label="%command.label.65"
2170
               style="push"
2171
               tooltip="%command.tooltip.33">
2172
            <visibleWhen
2173
                  checkEnabled="false">
2174
               <reference
2175
                     definitionId="OneQueryLogSelected">
2176
               </reference>
2177
            </visibleWhen>
2178
         </command>
2179
      </menuContribution>
2180
      <menuContribution
2181
            locationURI="popup:org.txm.rcp.editors.internal.InternalViewEditor">
2182
         <command
2183
               commandId="org.txm.rcp.commands.link.ToConcordance"
2184
               label="%command.label.73"
2185
               style="push">
2186
         </command>
2187
         <command
2188
               commandId="org.txm.rcp.commands.link.ToIndex"
2189
               label="%command.label.77"
2190
               style="push">
2191
         </command>
2192
         <command
2193
               commandId="org.txm.rcp.commands.link.ToProgression"
2194
               label="%command.label.99"
2195
               style="push">
2196
         </command>
2197
      </menuContribution>
2198
      <menuContribution
2199
            locationURI="popup:org.txm.rcp.views.fileexplorer.MacroExplorer">
2200
         <command
2201
               commandId="org.txm.rcp.commands.ExecuteMacro"
2202
               label="%command.label.23"
2203
               style="push"
2204
               tooltip="%command.tooltip.19">
2205
            <visibleWhen
2206
                  checkEnabled="false">
2207
               <reference
2208
                     definitionId="OneFileSelected">
2209
               </reference>
2210
            </visibleWhen>
2211
         </command>
2212
         <command
2213
               commandId="org.txm.rcp.commands.EditSelectedFile"
2214
               label="%command.label.186"
2215
               style="push"
2216
               tooltip="%command.tooltip.86">
2217
            <visibleWhen
2218
                  checkEnabled="false">
2219
               <reference
2220
                     definitionId="OneFileSelected">
2221
               </reference>
2222
            </visibleWhen>
2223
         </command>
2224
         <command
2225
               commandId="org.txm.rcp.commands.CreateMacro"
2226
               label="%command.label.187"
2227
               style="push"
2228
               tooltip="%command.tooltip.92">
2229
            <visibleWhen
2230
                  checkEnabled="false">
2231
               <reference
2232
                     definitionId="OneFileSelected">
2233
               </reference>
2234
            </visibleWhen>
2235
         </command>
2236
         <command
2237
               commandId="org.txm.rcp.commands.CreateFolder"
2238
               label="%command.label.123"
2239
               style="push"
2240
               tooltip="%command.tooltip.76">
2241
            <visibleWhen
2242
                  checkEnabled="false">
2243
               <reference
2244
                     definitionId="OneFileSelected">
2245
               </reference>
2246
            </visibleWhen>
2247
         </command>
2248
         <command
2249
               commandId="org.txm.rcp.commands.ShowSelected"
2250
               style="push">
2251
         </command>
2252
         <command
2253
               commandId="org.txm.rcp.commands.RenameFile"
2254
               style="push">
2255
            <visibleWhen
2256
                  checkEnabled="false">
2257
               <reference
2258
                     definitionId="OneFileSelected">
2259
               </reference>
2260
            </visibleWhen>
2261
         </command>
2262
         <command
2263
               commandId="org.txm.rcp.commands.DeleteFile"
2264
               style="push"
2265
               tooltip="%command.tooltip.15">
2266
            <visibleWhen
2267
                  checkEnabled="false">
2268
               <reference
2269
                     definitionId="OneFileSelected">
2270
               </reference>
2271
            </visibleWhen>
2272
         </command>
2273
         <command
2274
               commandId="org.txm.rcp.commands.CopyFile"
2275
               style="push"
2276
               tooltip="%command.tooltip.16">
2277
            <visibleWhen
2278
                  checkEnabled="false">
2279
               <reference
2280
                     definitionId="OneFileSelected">
2281
               </reference>
2282
            </visibleWhen>
2283
         </command>
2284
         <command
2285
               commandId="org.txm.rcp.commands.CutFile"
2286
               style="push"
2287
               tooltip="%command.tooltip.20">
2288
            <visibleWhen
2289
                  checkEnabled="false">
2290
               <reference
2291
                     definitionId="OneFileSelected">
2292
               </reference>
2293
            </visibleWhen>
2294
         </command>
2295
         <command
2296
               commandId="org.txm.rcp.commands.PasteFile"
2297
               style="push"
2298
               tooltip="%command.tooltip.21">
2299
            <visibleWhen
2300
                  checkEnabled="false">
2301
               <reference
2302
                     definitionId="OneFileSelected">
2303
               </reference>
2304
            </visibleWhen>
2305
         </command>
2306
      </menuContribution>
2307
      <menuContribution
2308
            allPopups="true"
2309
            locationURI="toolbar:top">
2310
         <command
2311
               commandId="org.txm.rcp.commands.ComputeTXMResult"
2312
               icon="icons/functions/run.png"
2313
               label="Compute"
2314
               style="push">
2315
         </command>
2316
      </menuContribution>
2317
   </extension>
2318
   <extension
2319
         id="general"
2320
         name="general"
2321
         point="org.eclipse.ui.commands">
2322
      <category
2323
            description="%category.description"
2324
            id="org.txm.rcp.category.txm"
2325
            name="%category.name.0">
2326
      </category>
2327
      <command
2328
            categoryId="org.eclipse.ui.category.edit"
2329
            defaultHandler="org.txm.rcp.commands.EditFile"
2330
            id="org.txm.rcp.commands.EditFile"
2331
            name="%command.name">
2332
         <commandParameter
2333
               id="org.txm.rcp.commands.commandParameter2"
2334
               name="%commandParameter.name"
2335
               optional="true">
2336
         </commandParameter>
2337
      </command>
2338
      <command
2339
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyScript"
2340
            id="org.txm.rcp.commands.ExecuteScriptGroovy"
2341
            name="%command.name.0">
2342
      </command>
2343
      <command
2344
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyText"
2345
            id="org.txm.rcp.commands.ExecuteGroovyText"
2346
            name="%command.name.10">
2347
      </command>
2348
      <command
2349
            defaultHandler="org.txm.rcp.commands.ExecuteImportScript"
2350
            id="org.txm.rcp.commands.ExecuteScriptImport"
2351
            name="%command.name.22">
2352
         <commandParameter
2353
               id="org.txm.rcp.commands.commandParameter3"
2354
               name="%commandParameter.name.1"
2355
               optional="true">
2356
         </commandParameter>
2357
      </command>
2358
      
2359
      <command
2360
            categoryId="org.eclipse.ui.category.navigate"
2361
            defaultHandler="org.txm.rcp.commands.OpenBrowser"
2362
            id="org.txm.rcp.commands.OpenBrowser"
2363
            name="%command.name.8">
2364
         <commandParameter
2365
               id="org.txm.rcp.commands.commandParameter2"
2366
               name="%commandParameter.name"
2367
               optional="true">
2368
         </commandParameter>
2369
      </command>
2370
      <command
2371
            defaultHandler="org.txm.rcp.commands.ShowSelected"
2372
            id="org.txm.rcp.commands.ShowSelected"
2373
            name="%command.name.9">
2374
      </command>
2375
      <command
2376
            defaultHandler="org.txm.rcp.commands.RestartTXM"
2377
            description="%command.description"
2378
            id="org.txm.rcp.commands.RestartTXM"
2379
            name="%command.name.25">
2380
      </command>
2381
      <command
2382
            defaultHandler="org.txm.rcp.commands.base.DeleteObject"
2383
            id="org.txm.rcp.commands.base.DeleteInCorpora"
2384
            name="%command.name.26">
2385
      </command>
2386
      
2387
      <command
2388
            defaultHandler="org.txm.rcp.commands.ImportSelectedText"
2389
            id="org.txm.rcp.commands.ImportSelectedText"
2390
            name="%command.name.28">
2391
      </command>
2392
      <command
2393
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2394
            id="org.txm.rcp.commands.changelanguage"
2395
            name="%command.name.31">
2396
      </command>
2397
            
2398
      <command
2399
            defaultHandler="org.txm.rcp.commands.CreateFile"
2400
            id="org.txm.rcp.commands.CreateFile"
2401
            name="%command.name.47">
2402
      </command>
2403
      <command
2404
            defaultHandler="org.txm.rcp.commands.CreateFolder"
2405
            id="org.txm.rcp.commands.CreateFolder"
2406
            name="%command.name.48">
2407
      </command>
2408
      <command
2409
            categoryId="org.eclipse.ui.category.edit"
2410
            defaultHandler="org.txm.rcp.commands.OpenImportForm"
2411
            id="org.txm.rcp.commands.OpenImportForm"
2412
            name="%command.name.62">
2413
         <commandParameter
2414
               id="org.txm.rcp.commands.importscript"
2415
               name="%commandParameter.name.2"
2416
               optional="false">
2417
         </commandParameter>
2418
      </command>
2419
      <command
2420
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyScriptFromFile"
2421
            id="org.txm.rcp.commands.ExecuteScriptGroovyFromFile"
2422
            name="%command.name.66">
2423
      </command>
2424
      <command
2425
            defaultHandler="org.txm.rcp.commands.workspace.ConvertCorpus"
2426
            description="%command.description.0"
2427
            id="org.txm.rcp.commands.workspace.ConvertCorpus"
2428
            name="%command.name.3">
2429
      </command>
2430
      <command
2431
            defaultHandler="org.txm.rcp.commands.workspace.PurgeCorpora"
2432
            description="%command.description.1"
2433
            id="org.txm.rcp.commands.workspace.PurgeCorpora"
2434
            name="%command.name.18">
2435
      </command>
2436
      <command
2437
            categoryId="org.txm.rcp.category.txm"
2438
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2439
            id="org.txm.rcp.commands.OpenTestEditor"
2440
            name="%command.name.19">
2441
      </command>
2442
      <command
2443
            defaultHandler="org.txm.rcp.commands.ExecuteScript"
2444
            id="org.txm.rcp.commands.ExecuteScript"
2445
            name="%command.name.21">
2446
      </command>
2447
      <command
2448
            defaultHandler="org.txm.rcp.commands.ExecuteText"
2449
            id="org.txm.rcp.commands.ExecuteText"
2450
            name="%command.name.50">
2451
      </command>
2452
      <command
2453
            defaultHandler="org.txm.rcp.commands.editor.SaveAs"
2454
            id="org.txm.rcp.commands.editor.SaveAs"
2455
            name="%command.name.67">
2456
      </command>
2457
      <command
2458
            defaultHandler="org.txm.rcp.commands.DeleteFile"
2459
            id="org.txm.rcp.commands.DeleteFile"
2460
            name="%command.name.68">
2461
      </command>
2462
      <command
2463
            defaultHandler="org.txm.rcp.commands.CopyFile"
2464
            id="org.txm.rcp.commands.CopyFile"
2465
            name="%command.name.69">
2466
      </command>
2467
      <command
2468
            defaultHandler="org.txm.rcp.commands.PasteFile"
2469
            id="org.txm.rcp.commands.PasteFile"
2470
            name="%command.name.70">
2471
      </command>
2472
      <command
2473
            defaultHandler="org.txm.rcp.commands.CutFile"
2474
            id="org.txm.rcp.commands.CutFile"
2475
            name="%command.name.71">
2476
      </command>
2477
      <command
2478
            defaultHandler="org.txm.rcp.commands.RenameFile"
2479
            id="org.txm.rcp.commands.RenameFile"
2480
            name="%command.name.108">
2481
      </command>
2482
      <command
2483
            defaultHandler="org.txm.rcp.commands.editor.SetEncoding"
2484
            id="org.txm.rcp.commands.editor.SetEncoding"
2485
            name="%command.name.72">
2486
      </command>
2487
      <command
2488
            categoryId="org.eclipse.ui.category.navigate"
2489
            defaultHandler="org.txm.rcp.commands.OpenLocalizedWebPage"
2490
            id="org.txm.rcp.commands.OpenLocalizedWebPage"
2491
            name="%command.name.74">
2492
         <commandParameter
2493
               id="org.txm.rcp.commands.commandParameter3"
2494
               name="%commandParameter.name.3"
2495
               optional="true">
2496
         </commandParameter>
2497
      </command>
2498
      <command
2499
            categoryId="org.eclipse.ui.category.navigate"
2500
            defaultHandler="org.txm.rcp.commands.OpenWelcomePage"
2501
            id="org.txm.rcp.commands.OpenWelcomePage"
2502
            name="%command.name.8">
2503
         <commandParameter
2504
               id="org.txm.rcp.commands.commandParameter2"
2505
               name="%commandParameter.name"
2506
               optional="true">
2507
         </commandParameter>
2508
      </command>
2509
      <command
2510
            defaultHandler="org.txm.rcp.commands.ExecuteGroovyMacro"
2511
            id="org.txm.rcp.commands.ExecuteMacro"
2512
            name="%command.name.79">
2513
      </command>
2514
      <command
2515
            defaultHandler="org.txm.rcp.commands.CreateMacro"
2516
            id="org.txm.rcp.commands.CreateMacro"
2517
            name="%command.name.80">
2518
      </command>
2519
      <command
2520
            defaultHandler="org.txm.rcp.p2.plugins.InstallPluginHandler"
2521
            description="%command.label.182"
2522
            id="org.txm.rcp.p2.plugins.InstallPluginHandler"
2523
            name="%command.label.182">
2524
      </command>
2525
      <command
2526
            defaultHandler="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2527
            description="%command.description.3"
2528
            id="org.txm.rcp.p2.plugins.TXMUpdateHandler"
2529
            name="%command.name.87">
2530
      </command>
2531
      <command
2532
            defaultHandler="org.txm.rcp.p2.plugins.FixUpdateHandler"
2533
            description="%command.description.4"
2534
            id="org.txm.rcp.p2.plugins.FixUpdateHandler"
2535
            name="%command.name.88">
2536
      </command>
2537
      <command
2538
            defaultHandler="org.txm.rcp.commands.ExecuteLastGroovyScript"
2539
            id="org.txm.rcp.commands.ExecuteLastGroovyScript"
2540
            name="%command.name.89">
2541
      </command>
2542
      <command
2543
            defaultHandler="org.txm.rcp.commands.CleanPerspective"
2544
            id="org.txm.rcp.commands.CleanPerspective"
2545
            name="%command.name.94">
2546
      </command>
2547
      <command
2548
            defaultHandler="org.txm.rcp.commands.OpenManual"
2549
            id="org.txm.rcp.commands.OpenManual"
2550
            name="%command.name.95">
2551
      </command>
2552
      <command
2553
            categoryId="org.txm.rcp.category.txm"
2554
            defaultHandler="org.txm.rcp.commands.workspace.UpdateCorpus"
2555
            id="org.txm.rcp.commands.workspace.UpdateCorpus"
2556
            name="%command.name.98">
2557
      </command>
2558

    
2559
      <command
2560
            categoryId="org.eclipse.ui.category.edit"
2561
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2562
            id="org.txm.rcp.commands.EditSelectedFile"
2563
            name="%command.name.106">
2564
      </command>
2565
      <command
2566
            categoryId="org.txm.rcp.category.txm"
2567
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2568
            id="org.txm.rcp.commands.ReloadCorporaView"
2569
            name="Reload">
2570
      </command>
2571
      <command
2572
            defaultHandler="org.txm.rcp.commands.ComputeTXMResult"
2573
            description="Compute/Update the TXMResult of a TXMEditor"
2574
            id="org.txm.rcp.commands.ComputeTXMResult"
2575
            name="Compute">
2576
      </command>
2577
   </extension>
2578
   <extension
2579
         id="commands"
2580
         name="commands"
2581
         point="org.eclipse.ui.commands">
2582

    
2583
      <command
2584
            categoryId="org.txm.rcp.category.txm"
2585
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2586
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2587
            name="%command.name.33">
2588
      </command>
2589
      <command
2590
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2591
            description="%command.description.2"
2592
            id="org.txm.rcp.commands.tests.NilsTest"
2593
            name="%command.name.85">
2594
      </command>
2595
      <command
2596
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2597
            id="org.txm.rcp.commands.function.ExportResult"
2598
            name="%command.name.24">
2599
      </command>
2600
      <command
2601
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2602
            id="org.txm.rcp.commands.function.ExportSVG"
2603
            name="%command.name.34">
2604
      </command>
2605
   </extension>
2606
   <extension
2607
         id="links"
2608
         name="links"
2609
         point="org.eclipse.ui.commands">
2610

    
2611
      <command
2612
            defaultHandler="org.txm.rcp.commands.editor.Copy"
2613
            id="org.txm.rcp.commands.editor.Copy"
2614
            name="%command.name.55">
2615
      </command>
2616
   </extension>
2617
   <extension
2618
         id="views"
2619
         name="views"
2620
         point="org.eclipse.ui.commands">
2621
      <command
2622
            defaultHandler="org.txm.rcp.commands.workspace.AddProject"
2623
            id="org.txm.rcp.commands.workspace.AddProject"
2624
            name="%command.name.11">
2625
      </command>
2626
      <command
2627
            defaultHandler="org.txm.rcp.commands.workspace.RemoveProject"
2628
            id="org.txm.rcp.commands.workspace.RemoveProject"
2629
            name="%command.name.12">
2630
      </command>
2631
      <command
2632
            defaultHandler="org.txm.rcp.commands.workspace.LoadBinaryCorpus"
2633
            id="org.txm.rcp.commands.workspace.AddBase"
2634
            name="%command.name.13">
2635
      </command>
2636
      <command
2637
            defaultHandler="org.txm.rcp.commands.workspace.RemoveBase"
2638
            id="org.txm.rcp.commands.workspace.RemoveBase"
2639
            name="%command.name.14">
2640
      </command>
2641
      <command
2642
            defaultHandler="org.txm.rcp.commands.workspace.AddText"
2643
            id="org.txm.rcp.commands.workspace.AddText"
2644
            name="%command.name.15">
2645
      </command>
2646
      <command
2647
            defaultHandler="org.txm.rcp.commands.workspace.RemoveText"
2648
            id="org.txm.rcp.commands.workspace.RemoveText"
2649
            name="%command.name.16">
2650
      </command>
2651
      <command
2652
            defaultHandler="org.txm.rcp.commands.workspace.BuildCorpus"
2653
            id="org.txm.rcp.commands.workspace"
2654
            name="%command.name.17">
2655
      </command>
2656
      <command
2657
            defaultHandler="org.txm.rcp.commands.queryview.Copy"
2658
            id="org.txm.rcp.commands.queryview.Copy"
2659
            name="%command.name.55">
2660
      </command>
2661
      <command
2662
            defaultHandler="org.txm.rcp.commands.queryview.Paste"
2663
            id="org.txm.rcp.commands.queryview.Paste"
2664
            name="%command.name.56">
2665
      </command>
2666
      <command
2667
            defaultHandler="org.txm.rcp.commands.DownloadFile"
2668
            id="org.txm.rcp.commands.DownloadFile"
2669
            name="%command.name.91">
2670
      </command>
2671
      <command
2672
            defaultHandler="org.txm.rcp.handlers.CloneTXMResult"
2673
            id="CloneTXMResult"
2674
            name="Clone result">
2675
      </command>
2676
   </extension>
2677
   <extension
2678
         point="org.eclipse.core.expressions.definitions">
2679
      <definition
2680
            id="OneMainCorpusSelected">
2681
        <with variable="selection">
2682
            <iterate
2683
                  ifEmpty="false"
2684
                  operator="and">
2685
               <instanceof
2686
                     value="org.txm.searchengine.cqp.corpus.MainCorpus">
2687
               </instanceof>
2688
            </iterate>
2689
         </with>
2690
      </definition>
2691
      <definition
2692
            id="OneSubCorpusSelected">
2693
                 <with variable="selection">
2694
            <iterate
2695
                  ifEmpty="false"
2696
                  operator="and">
2697
               <instanceof
2698
                     value="org.txm.searchengine.cqp.corpus.Subcorpus">
2699
               </instanceof>
2700
            </iterate>
2701
         </with>
2702
      </definition>
2703
            <definition
2704
            id="OneCorpusSelected">
2705
                 <with variable="selection">
2706
            <iterate
2707
                  ifEmpty="false"
2708
                  operator="and">
2709
               <instanceof
2710
                     value="org.txm.searchengine.cqp.corpus.Corpus">
2711
               </instanceof>
2712
            </iterate>
2713
         </with>
2714
      </definition>
2715
      <definition
2716
            id="OnePartitionSelected">
2717
        <with variable="selection">
2718
            <iterate
2719
                  ifEmpty="false"
2720
                  operator="and">
2721
               <instanceof
2722
                     value="org.txm.searchengine.cqp.corpus.Partition">
2723
               </instanceof>
2724
            </iterate>
2725
         </with>
2726
      </definition>
2727
      <definition
2728
            id="OneFileSelected">
2729
         <with
2730
               variable="selection">
2731
            <iterate
2732
                  ifEmpty="false"
2733
                  operator="and">
2734
               <instanceof
2735
                     value="java.io.File">
2736
               </instanceof>
2737
            </iterate>
2738
         </with>
2739
      </definition>
2740
      <definition
2741
            id="OneDirSelected">
2742
         <and>
2743
            <instanceof
2744
                  value="java.io.File">
2745
            </instanceof>
2746
            <test
2747
                  args="isDirectory()"
2748
                  property="org.txm.rcp.test2"
2749
                  value="true">
2750
            </test>
2751
         </and>
2752
      </definition>
2753
            <definition
2754
                  id="OneProjectSelected">
2755
               <with
2756
                     variable="selection">
2757
                  <iterate
2758
                        ifEmpty="false"
2759
                        operator="and">
2760
                     <instanceof
2761
                           value="org.txm.objects.Project">
2762
                     </instanceof>
2763
                  </iterate>
2764
               </with>
2765
            </definition>
2766
            <definition
2767
                  id="OneBaseSelected">
2768
               <with
2769
                     variable="selection">
2770
                  <iterate
2771
                        ifEmpty="false"
2772
                        operator="and">
2773
                     <instanceof
2774
                           value="org.txm.objects.Base">
2775
                     </instanceof>
2776
                  </iterate>
2777
               </with>
2778
            </definition>
2779
            <definition
2780
                  id="OneTextSelected">
2781
               <with
2782
                     variable="selection">
2783
                  <iterate
2784
                        ifEmpty="false"
2785
                        operator="and">
2786
                     <instanceof
2787
                           value="org.txm.objects.Text">
2788
                     </instanceof>
2789
                  </iterate>
2790
               </with>
2791
            </definition>
2792
            <definition
2793
                  id="OneScriptSelected">
2794
               <with
2795
                     variable="selection">
2796
                  <iterate
2797
                        ifEmpty="false"
2798
                        operator="and">
2799
                     <instanceof
2800
                           value="org.txm.objects.Script">
2801
                     </instanceof>
2802
                  </iterate>
2803
               </with>
2804
            </definition>
2805
            <definition
2806
                  id="OneResultSelected">
2807
               <visibleWhen
2808
                     checkEnabled="false">
2809
                  <or>
2810
                     <reference
2811
                           definitionId="OneSpecificitiesResultSelected">
2812
                     </reference>
2813
                     <reference
2814
                           definitionId="OneCASelected">
2815
                     </reference>
2816
                     <reference
2817
                           definitionId="OneLexiconSelected">
2818
                     </reference>
2819
                     <reference
2820
                           definitionId="OneConcordanceSelected">
2821
                     </reference>
2822
                     <reference
2823
                           definitionId="OneIndexSelected">
2824
                     </reference>
2825
                     <reference
2826
                           definitionId="OneReferencerSelected">
2827
                     </reference>
2828
                  </or>
2829
               </visibleWhen>
2830
            </definition>
2831
            <definition
2832
                  id="SVGEditorActive">
2833
               <with
2834
                     variable="activeEditorId">
2835
                  <equals
2836
                        value="org.txm.rcp.editors.SVGGraphicEditor">
2837
                  </equals>
2838
               </with>
2839
            </definition>
2840
            <definition
2841
                  id="OneTxmObjectSelected">
2842
               <with
2843
                     variable="selection">
2844
                  <iterate
2845
                        ifEmpty="false"
2846
                        operator="and">
2847
                     <instanceof
2848
                           value="org.txm.objects.TxmObject">
2849
                     </instanceof>
2850
                  </iterate>
2851
               </with>
2852
            </definition>
2853
            <definition
2854
                  id="OneReferencerSelected">
2855
               <with
2856
                     variable="selection">
2857
                  <iterate
2858
                        ifEmpty="false"
2859
                        operator="and">
2860
                     <instanceof
2861
                           value="org.txm.functions.referencer.Referencer">
2862
                     </instanceof>
2863
                  </iterate>
2864
               </with>
2865
            </definition>
2866
            <definition
2867
                  id="OneQueryLogSelected">
2868
               <with
2869
                     variable="selection">
2870
                  <iterate
2871
                        ifEmpty="false"
2872
                        operator="and">
2873
                     <instanceof
2874
                           value="org.txm.objects.QueryLog">
2875
                     </instanceof>
2876
                  </iterate>
2877
               </with>
2878
            </definition>
2879
            <definition
2880
                  id="RPerspectiveSelected">
2881
               <with
2882
                     variable="activeWorkbenchWindow.activePerspective">
2883
                  <equals
2884
                        value="org.txm.rcp.perspective.RPerspective">
2885
                  </equals>
2886
               </with>
2887
            </definition>
2888
            <definition
2889
                  id="StatEngineReady">
2890
               <test
2891
                     forcePluginActivation="true"
2892
                     property="org.txm.rcp.testers.ToolboxTester"
2893
                     value="StateEngineReady">
2894
               </test>
2895
            </definition>
2896
            <definition
2897
                  id="LabPerspectiveSelected">
2898
               <with
2899
                     variable="activeWorkbenchWindow.activePerspective">
2900
                  <equals
2901
                        value="org.txm.rcp.perspective.LabPerspective">
2902
                  </equals>
2903
               </with>
2904
            </definition>
2905
            <definition
2906
                  id="WasNotFirstTXMRun">
2907
               <systemTest
2908
                     property="org.txm.rcp.wasfirstrun"
2909
                     value="false">
2910
               </systemTest>
2911
            </definition>
2912
            <definition
2913
                  id="OneLexicalTableAbleSelected">
2914
               <with
2915
                     variable="selection">
2916
                  <iterate
2917
                        ifEmpty="false"
2918
                        operator="and">
2919
                     <instanceof
2920
                           value="org.txm.functions.LexicalTableAble">
2921
                     </instanceof>
2922
                  </iterate>
2923
               </with>
2924
            </definition>
2925
            <definition
2926
                  id="NeedToSaveAnnotations">
2927
               <test
2928
                     forcePluginActivation="true"
2929
                     property="org.txm.rcp.testers.annotate.canSave">
2930
               </test>
2931
            </definition>
2932
            <definition
2933
                  id="ExpertEnabled">
2934
               <test
2935
                     forcePluginActivation="true"
2936
                     property="org.txm.rcp.testers.ExpertEnabled">
2937
               </test>
2938
            </definition>
2939
            <definition
2940
                  id="IsXTZCorpus">
2941
               <test
2942
                     forcePluginActivation="true"
2943
                     property="org.txm.rcp.testers.corpus.xtzCorpus">
2944
               </test>
2945
            </definition>
2946
            <definition
2947
                  id="TextEditorActive">
2948
               <with
2949
                     variable="activePartId">
2950
                  <equals
2951
                        value="org.txm.rcp.editors.TxtEditor">
2952
                  </equals>
2953
               </with>
2954
            </definition>
2955
            <definition
2956
                  id="OneTXMResultSelected">
2957
               <with
2958
                     variable="selection">
2959
                  <iterate
2960
                        ifEmpty="false"
2961
                        operator="and">
2962
                     <instanceof
2963
                           value="org.txm.core.results.TXMResult">
2964
                     </instanceof>
2965
                  </iterate>
2966
               </with>
2967
            </definition>
2968
   </extension>
2969
  
2970
   <extension
2971
         point="org.eclipse.ui.popupMenus">
2972
      <viewerContribution
2973
            id="projmenu"
2974
            targetID="org.txm.rcp.views.BasesView">
2975
      </viewerContribution>
2976
   </extension>
2977
   
2978
   <extension
2979
         point="org.eclipse.ui.splashHandlers">
2980
      <splashHandler
2981
            class="org.txm.rcp.AbstractSplashHandler2"
2982
            id="org.txm.rcp.splashHandler2">
2983
      </splashHandler>
2984
      <splashHandlerProductBinding
2985
            productId="org.txm.rcp.product"
2986
            splashId="org.txm.rcp.splash">
2987
      </splashHandlerProductBinding>
2988
   </extension>
2989
   <extension
2990
         point="org.eclipse.ui.decorators">
2991
      <decorator
2992
            class="org.txm.rcp.decorators.RDecorator"
2993
            icon="icons/decorators/R.png"
2994
            id="org.txm.rcp.decorators.RDecorator"
2995
            label="%decorator.label"
2996
            lightweight="false"
2997
            location="TOP_LEFT"
2998
            objectClass="java.lang.Object"
2999
            state="true">
3000
      </decorator>
3001
   </extension>
3002
   <extension
3003
         point="org.eclipse.core.expressions.propertyTesters">
3004
      <propertyTester
3005
            class="org.txm.rcp.testers.ToolboxTester"
3006
            id="org.txm.rcp.testers.ToolboxTester"
3007
            namespace="org.txm.rcp.testers"
3008
            properties="StatEngineReady,SearchEngineReady"
3009
            type="java.lang.Object">
3010
      </propertyTester>
3011
      <propertyTester
3012
            class="org.txm.rcp.testers.IsCorpusAnnotated"
3013
            id="org.txm.rcp.testers.IsCorpusAnnotated"
3014
            namespace="org.txm.rcp.testers.annotate"
3015
            properties="canSave"
3016
            type="java.lang.Object">
3017
      </propertyTester>
3018
      <propertyTester
3019
            class="org.txm.rcp.testers.ExpertEnabled"
3020
            id="org.txm.rcp.testers.ExpertEnabled"
3021
            namespace="org.txm.rcp.testers"
3022
            properties="ExpertEnabled"
3023
            type="java.lang.Object">
3024
      </propertyTester>
3025
      <propertyTester
3026
            class="org.txm.rcp.testers.IsXTZCorpus"
3027
            id="org.txm.rcp.testers.IsXTZCorpus"
3028
            namespace="org.txm.rcp.testers.corpus"
3029
            properties="xtzCorpus"
3030
            type="java.lang.Object">
3031
      </propertyTester>
3032
   </extension>
3033
   <extension
3034
         point="org.eclipse.ui.bindings">
3035
      <key
3036
            commandId="org.txm.rcp.commands.ExecuteText"
3037
            contextId="org.eclipse.ui.contexts.window"
3038
            schemeId="org.txm.rcp.scheme"
3039
            sequence="F11">
3040
      </key>
3041
      <key
3042
            commandId="org.txm.rcp.commands.ExecuteScript"
3043
            contextId="org.eclipse.ui.contexts.window"
3044
            schemeId="org.txm.rcp.scheme"
3045
            sequence="M1+F11">
3046
      </key>
3047
      <key
3048
            commandId="org.txm.rcp.commands.ExecuteLastGroovyScript"
3049
            contextId="org.eclipse.ui.contexts.window"
3050
            schemeId="org.txm.rcp.scheme"
3051
            sequence="F12">
3052
      </key>
3053
      <scheme
3054
            description="%scheme.description"
3055
            id="org.txm.rcp.scheme"
3056
            name="%scheme.name"
3057
            parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
3058
      </scheme>
3059
      <key
3060
            commandId="org.txm.rcp.commands.ReloadCorporaView"
3061
            contextId="org.txm.rcp.views.corpora.CorporaView"
3062
            schemeId="org.txm.rcp.scheme"
3063
            sequence="F5">
3064
      </key>
3065
   </extension>
3066
   <extension
3067
         point="org.eclipse.e4.ui.css.swt.theme">
3068
      <theme
3069
            basestylesheeturi="css/default_linux.css"
3070
            id="org.txm.rcp.theme.default.linux"
3071
            label="TXM"
3072
            os="linux">
3073
      </theme>
3074
      <theme
3075
            basestylesheeturi="css/default_windows.css"
3076
            id="org.txm.rcp.theme.default.windows"
3077
            label="TXM"
3078
            os="win32">
3079
      </theme>
3080
      <theme
3081
            basestylesheeturi="css/default_mac.css"
3082
            id="org.txm.rcp.theme.default.mac"
3083
            label="TXM"
3084
            os="macosx">
3085
      </theme>
3086
   </extension>
3087
   <extension
3088
         point="org.eclipse.ui.contexts">
3089
      <context
3090
            description="Corpora view"
3091
            id="org.txm.rcp.views.corpora.CorporaView"
3092
            name="Corpora view">
3093
      </context>
3094
   </extension>
3095
</plugin>