Statistics
| Revision:

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

History | View | Annotate | Download (116.1 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-2018 ENS de Lyon, University of Franche-Comté, CNRS&#x0A;&#x0A;&lt;English version below&gt;&#x0A;&#x0A;EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.&#x0A;&#x0A;Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.&#x0A;&#x0A;Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.&#x0A;&#x0A;Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.&#x0A;TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.&#x0A;Edizioni Universitarie di Lettere Economia Diritto, 2 (3), pp.1021-1032, 2010. &lt;halshs-00549779&gt;&#x0A;&#x0A;&#x0A;ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH ENGLISH&#x0A;&#x0A;&#x0A;By accepting this update and by using TXM, you agree to cite the TXM platform reference article** in your publications of results obtained from it. That is essential for us to justify the need for sustainability of this instrument for the scientific community.&#x0A;&#x0A;The TXM platform is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.&#x0A;&#x0A;The TXM platform is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&#x0A;&#x0A;You should have received a copy of the GNU General Public License along with the TXM platform. If not, see http://www.gnu.org/licenses/gpl-2.0.html&#x0A;_______________&#x0A;** Serge Heiden. The TXM Platform: Building Open-Source Textual&#x0A;Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;">
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.debug.TXMResultDebugView"
188
            icon="icons/functions/Properties.png"
189
            id="org.txm.rcp.views.debug.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
               <parameter
682
                     name="org.txm.rcp.parameters.update"
683
                     value="true">
684
               </parameter>
685
            </command>
686
            <command
687
                  commandId="org.txm.rcp.p2.plugins.InstallPluginHandler"
688
                  label="%command.label.182"
689
                  style="push">
690
               <visibleWhen
691
                     checkEnabled="false">
692
                  <reference
693
                        definitionId="WasNotFirstTXMRun">
694
                  </reference>
695
               </visibleWhen>
696
            </command>
697
            <command
698
                  commandId="org.eclipse.equinox.p2.ui.sdk.install"
699
                  label="%command.label.34"
700
                  style="push">
701
               <visibleWhen
702
                     checkEnabled="false">
703
                  <reference
704
                        definitionId="WasNotFirstTXMRun">
705
                  </reference>
706
               </visibleWhen>
707
            </command>
708
            <separator
709
                  name="org.txm.rcp.separator1"
710
                  visible="true">
711
            </separator>
712
            <command
713
                  commandId="org.txm.rcp.commands.RestartTXM"
714
                  label="%command.label.59"
715
                  style="push"
716
                  tooltip="%command.tooltip.26">
717
            </command>
718
            <command
719
                  commandId="org.eclipse.ui.file.exit"
720
                  label="%command.label.6"
721
                  style="push"
722
                  tooltip="%command.tooltip.2">
723
            </command>
724
         </menu>
725
         <menu
726
               id="menu.edit"
727
               label="%menu.label.3">
728
            <command
729
                  commandId="org.eclipse.ui.edit.findReplace"
730
                  label="%command.label.15">
731
               <visibleWhen
732
                     checkEnabled="false">
733
                  <reference
734
                        definitionId="TextEditorActive">
735
                  </reference>
736
               </visibleWhen>
737
            </command>
738
            <command
739
                  commandId="org.eclipse.ui.edit.findNext"
740
                  label="%command.label.98"
741
                  style="push">
742
               <visibleWhen
743
                     checkEnabled="false">
744
                  <reference
745
                        definitionId="TextEditorActive">
746
                  </reference>
747
               </visibleWhen>
748
            </command>
749
            <command
750
                  commandId="org.eclipse.ui.edit.findPrevious"
751
                  label="%command.label.100"
752
                  style="push">
753
               <visibleWhen
754
                     checkEnabled="false">
755
                  <reference
756
                        definitionId="TextEditorActive">
757
                  </reference>
758
               </visibleWhen>
759
            </command>
760
            <command
761
                  commandId="org.eclipse.ui.edit.findIncremental"
762
                  label="%command.label.109"
763
                  style="push">
764
               <visibleWhen
765
                     checkEnabled="false">
766
                  <reference
767
                        definitionId="TextEditorActive">
768
                  </reference>
769
               </visibleWhen>
770
            </command>
771
            <command
772
                  commandId="org.eclipse.ui.edit.findIncrementalReverse"
773
                  label="%command.label.110"
774
                  style="push">
775
               <visibleWhen
776
                     checkEnabled="false">
777
                  <reference
778
                        definitionId="TextEditorActive">
779
                  </reference>
780
               </visibleWhen>
781
            </command>
782
            <separator
783
                  name="org.txm.rcp.separator1"
784
                  visible="true">
785
            </separator>
786
            <command
787
                  commandId="org.eclipse.ui.edit.undo"
788
                  label="%command.label.16">
789
               <visibleWhen
790
                     checkEnabled="false">
791
                  <reference
792
                        definitionId="TextEditorActive">
793
                  </reference>
794
               </visibleWhen>
795
            </command>
796
            <command
797
                  commandId="org.eclipse.ui.edit.redo"
798
                  label="%command.label.17">
799
               <visibleWhen
800
                     checkEnabled="false">
801
                  <reference
802
                        definitionId="TextEditorActive">
803
                  </reference>
804
               </visibleWhen>
805
            </command>
806
            <separator
807
                  name="org.txm.rcp.separator2"
808
                  visible="true">
809
            </separator>
810
            <command
811
                  commandId="org.eclipse.ui.edit.cut"
812
                  label="%command.label.18">
813
               <visibleWhen
814
                     checkEnabled="false">
815
                  <reference
816
                        definitionId="TextEditorActive">
817
                  </reference>
818
               </visibleWhen>
819
            </command>
820
            <command
821
                  commandId="org.eclipse.ui.edit.copy"
822
                  label="%command.label.19">
823
               <visibleWhen
824
                     checkEnabled="false">
825
                  <reference
826
                        definitionId="TextEditorActive">
827
                  </reference>
828
               </visibleWhen>
829
            </command>
830
            <command
831
                  commandId="org.eclipse.ui.edit.paste"
832
                  label="%command.label.20">
833
               <visibleWhen
834
                     checkEnabled="false">
835
                  <reference
836
                        definitionId="TextEditorActive">
837
                  </reference>
838
               </visibleWhen>
839
            </command>
840
            <command
841
                  commandId="org.eclipse.ui.edit.delete"
842
                  label="%command.label.27">
843
               <visibleWhen
844
                     checkEnabled="false">
845
                  <reference
846
                        definitionId="TextEditorActive">
847
                  </reference>
848
               </visibleWhen>
849
            </command>
850
            <command
851
                  commandId="org.eclipse.ui.edit.selectAll"
852
                  label="%command.label.28">
853
               <visibleWhen
854
                     checkEnabled="false">
855
                  <reference
856
                        definitionId="TextEditorActive">
857
                  </reference>
858
               </visibleWhen>
859
            </command>
860
            <separator
861
                  name="org.txm.rcp.separator3"
862
                  visible="true">
863
            </separator>
864
            <command
865
                  commandId="org.eclipse.ui.edit.text.goto.line"
866
                  icon="icons/functions/goto.png"
867
                  label="%command.label.113"
868
                  style="push">
869
               <visibleWhen
870
                     checkEnabled="false">
871
                  <reference
872
                        definitionId="TextEditorActive">
873
                  </reference>
874
               </visibleWhen>
875
            </command>
876
            <command
877
                  commandId="org.eclipse.ui.edit.text.open.hyperlink"
878
                  icon="icons/functions/world.png"
879
                  label="%command.label.133"
880
                  style="push">
881
               <visibleWhen
882
                     checkEnabled="false">
883
                  <reference
884
                        definitionId="TextEditorActive">
885
                  </reference>
886
               </visibleWhen>
887
            </command>
888
            <command
889
                  commandId="org.txm.rcp.commands.editor.SetEncoding"
890
                  icon="icons/functions/encoding.png"
891
                  label="%command.label.30">
892
               <visibleWhen
893
                     checkEnabled="false">
894
                  <reference
895
                        definitionId="TextEditorActive">
896
                  </reference>
897
               </visibleWhen>
898
            </command>
899
            <separator
900
                  name="org.txm.rcp.separator3"
901
                  visible="true">
902
            </separator>
903
            <command
904
                  commandId="org.eclipse.ui.editors.lineNumberToggle"
905
                  icon="icons/functions/lines_number.png"
906
                  label="%command.label.140"
907
                  style="push">
908
               <visibleWhen
909
                     checkEnabled="false">
910
                  <reference
911
                        definitionId="TextEditorActive">
912
                  </reference>
913
               </visibleWhen>
914
            </command>
915
            <command
916
                  commandId="org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters"
917
                  icon="icons/functions/paragraph.png"
918
                  label="%command.label.144"
919
                  style="push"
920
                  tooltip="%command.tooltip.31">
921
               <visibleWhen
922
                     checkEnabled="false">
923
                  <reference
924
                        definitionId="TextEditorActive">
925
                  </reference>
926
               </visibleWhen>
927
            </command>
928
            <command
929
                  commandId="org.eclipse.ui.file.revert"
930
                  icon="icons/functions/page_refresh.png"
931
                  label="%command.label.145"
932
                  style="push">
933
               <visibleWhen
934
                     checkEnabled="false">
935
                  <reference
936
                        definitionId="TextEditorActive">
937
                  </reference>
938
               </visibleWhen>
939
            </command>
940
         </menu>
941
         <menu
942
               id="menu.corpus"
943
               label="%menu.label.1"
944
               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;">
945
            
946
            <command
947
                  commandId="org.txm.rcp.commands.base.DeleteInCorpora"
948
                  icon="icons/functions/Delete.png"
949
                  label="%command.label.65"
950
                  style="push"
951
                  tooltip="%command.tooltip.33">
952
               <visibleWhen
953
                     checkEnabled="false">
954
                 
955
                     <or>
956
                        <reference
957
                              definitionId="OneBaseSelected">
958
                        </reference>
959
                        <reference
960
                              definitionId="OneCASelected">
961
                        </reference>
962
                        <reference
963
                              definitionId="OneConcordanceSelected">
964
                        </reference>
965
                        <reference
966
                              definitionId="OneCorpusSelected">
967
                        </reference>
968
                        <reference
969
                              definitionId="OneLexicalTableSelected">
970
                        </reference>
971
                        <reference
972
                              definitionId="OneLexiconSelected">
973
                        </reference>
974
                        <reference
975
                              definitionId="OnePartitionSelected">
976
                        </reference>
977
                        <reference
978
                              definitionId="OneSpecificitiesResultSelected">
979
                        </reference>
980
                        <reference
981
                              definitionId="OneTxmObjectSelected">
982
                        </reference>
983
                        <reference
984
                              definitionId="OneIndexSelected">
985
                        </reference>
986
                        <reference
987
                              definitionId="OneCooccurrenceSelected">
988
                        </reference>
989
                        <reference
990
                              definitionId="OneReferencerSelected">
991
                        </reference>
992
                        <reference
993
                              definitionId="OneProgressionSelected">
994
                        </reference>
995
                        <reference
996
                              definitionId="OneCAHSelected">
997
                        </reference>
998
                     </or>
999
                 
1000
               </visibleWhen>
1001
            </command>
1002
            <separator
1003
                  name="menu.corpus.build"
1004
                  visible="true">
1005
            </separator>
1006
            
1007
         </menu>
1008
         <menu
1009
               id="menu.tools"
1010
               label="%menu.label.6">
1011
            
1012
            <separator
1013
                  name="menu.tools.stats"
1014
                  visible="true">
1015
            </separator>
1016
            <separator
1017
                  name="menu.tools.misc"
1018
                  visible="true">
1019
            </separator>
1020
            <command
1021
                  commandId="org.eclipse.ui.window.preferences"
1022
                  icon="icons/functions/prefs.png"
1023
                  label="%command.label.4"
1024
                  style="push"
1025
                  tooltip="%command.tooltip.0">
1026
            </command>
1027
         </menu>
1028
         <menu
1029
               id="menu.display"
1030
               label="%menu.label.7"
1031
               tooltip="%menu.tooltip.0">
1032
            <menu
1033
                  id="menu.display.views"
1034
                  label="%menu.label.9">
1035
               <command
1036
                     commandId="org.eclipse.ui.views.showView"
1037
                     label="%command.label.134"
1038
                     style="push">
1039
                  <parameter
1040
                        name="org.eclipse.ui.views.showView.viewId"
1041
                        value="org.txm.rcp.views.corpora.CorporaView">
1042
                  </parameter>
1043
               </command>
1044
               <command
1045
                     commandId="org.eclipse.ui.views.showView"
1046
                     label="%command.label.135"
1047
                     style="push">
1048
                  <parameter
1049
                        name="org.eclipse.ui.views.showView.viewId"
1050
                        value="org.txm.rcp.views.fileexplorer.Explorer">
1051
                  </parameter>
1052
               </command>
1053
               <command
1054
                     commandId="org.eclipse.ui.views.showView"
1055
                     label="%command.label.177"
1056
                     style="push">
1057
                  <parameter
1058
                        name="org.eclipse.ui.views.showView.viewId"
1059
                        value="org.txm.rcp.views.fileexplorer.MacroExplorer">
1060
                  </parameter>
1061
               </command>
1062
               <command
1063
                     commandId="org.eclipse.ui.views.showView"
1064
                     label="%command.label.136"
1065
                     style="push">
1066
                  <parameter
1067
                        name="org.eclipse.ui.views.showView.viewId"
1068
                        value="org.txm.rcp.views.QueriesView">
1069
                  </parameter>
1070
               </command>
1071
               <command
1072
                     commandId="org.eclipse.ui.views.showView"
1073
                     label="%command.label.43"
1074
                     style="push">
1075
                  <parameter
1076
                        name="org.eclipse.ui.views.showView.viewId"
1077
                        value="org.eclipse.ui.console.ConsoleView">
1078
                  </parameter>
1079
               </command>
1080
               <command
1081
                     commandId="org.eclipse.ui.views.showView"
1082
                     label="%command.label.139"
1083
                     style="push">
1084
               </command>
1085
            </menu>
1086
            <menu
1087
                  label="%menu.label.8">
1088
               <command
1089
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1090
                     label="%command.label.131"
1091
                     style="push">
1092
                  <parameter
1093
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1094
                        value="org.txm.rcp.perspective.TXMPerspective">
1095
                  </parameter>
1096
               </command>
1097
               <command
1098
                     commandId="org.eclipse.ui.perspectives.showPerspective"
1099
                     label="%command.label.132"
1100
                     style="push">
1101
                  <parameter
1102
                        name="org.eclipse.ui.perspectives.showPerspective.perspectiveId"
1103
                        value="org.txm.rcp.perspective.RPerspective">
1104
                  </parameter>
1105
               </command>
1106
            </menu>
1107
            <command
1108
                  commandId="org.txm.rcp.commands.CleanPerspective"
1109
                  style="push">
1110
            </command>
1111
            <command
1112
                  commandId="org.eclipse.ui.window.newWindow"
1113
                  label="%command.label.157">
1114
            </command>
1115
         </menu>
1116
         <menu
1117
               id="menu.help"
1118
               label="%menu.label.2"
1119
               tooltip="%menu.tooltip">
1120
            <command
1121
                  commandId="org.txm.rcp.commands.OpenWelcomePage"
1122
                  label="%command.label.173"
1123
                  style="push">
1124
            </command>
1125
            <separator
1126
                  name="org.txm.rcp.separator1"
1127
                  visible="true">
1128
            </separator>
1129
            <command
1130
                  commandId="org.eclipse.ui.window.showKeyAssist"
1131
                  label="%command.label.52"
1132
                  style="push">
1133
            </command>
1134
            <command
1135
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1136
                  label="%command.label.68"
1137
                  style="push"
1138
                  tooltip="%command.tooltip.23">
1139
               <parameter
1140
                     name="org.txm.rcp.commands.commandParameter3"
1141
                     value="refman">
1142
               </parameter>
1143
            </command>
1144
            <command
1145
                  commandId="org.txm.rcp.commands.OpenManual"
1146
                  label="%command.label.63"
1147
                  style="push"
1148
                  tooltip="%command.tooltip.64">
1149
            </command>
1150
            <command
1151
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1152
                  label="%command.label.33"
1153
                  style="push"
1154
                  tooltip="%command.tooltip.13">
1155
               <parameter
1156
                     name="org.txm.rcp.commands.commandParameter3"
1157
                     value="macros">
1158
               </parameter>
1159
            </command>
1160
            <menu
1161
                  id="menu.help.plugins"
1162
                  label="%menu.label.4">
1163
            </menu>
1164
            <command
1165
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1166
                  label="%command.label.70"
1167
                  style="push">
1168
               <parameter
1169
                     name="org.txm.rcp.commands.commandParameter3"
1170
                     value="sf_docs">
1171
               </parameter>
1172
            </command>
1173
            <command
1174
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1175
                  label="%command.label.178"
1176
                  style="push"
1177
                  tooltip="%command.tooltip.41">
1178
               <parameter
1179
                     name="org.txm.rcp.commands.commandParameter3"
1180
                     value="faq">
1181
               </parameter>
1182
            </command>
1183
            <command
1184
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1185
                  label="%command.label.35"
1186
                  style="push"
1187
                  tooltip="%command.tooltip.43">
1188
               <parameter
1189
                     name="org.txm.rcp.commands.commandParameter3"
1190
                     value="txm-users wiki">
1191
               </parameter>
1192
            </command>
1193
            <command
1194
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1195
                  label="%command.label.55"
1196
                  style="push"
1197
                  tooltip="%command.tooltip">
1198
               <parameter
1199
                     name="org.txm.rcp.commands.commandParameter3"
1200
                     value="mailinglist">
1201
               </parameter>
1202
            </command>
1203
            <command
1204
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1205
                  label="%command.label.76"
1206
                  style="push"
1207
                  tooltip="%command.tooltip.65">
1208
               <parameter
1209
                     name="org.txm.rcp.commands.commandParameter3"
1210
                     value="http://webchat.freenode.net/?channels=txm">
1211
               </parameter>
1212
            </command>
1213
            <separator
1214
                  name="helpSeparator1"
1215
                  visible="true">
1216
            </separator>
1217
            <command
1218
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1219
                  label="%command.label.56"
1220
                  style="push"
1221
                  tooltip="%command.tooltip">
1222
               <parameter
1223
                     name="org.txm.rcp.commands.commandParameter3"
1224
                     value="sf">
1225
               </parameter>
1226
            </command>
1227
            <command
1228
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1229
                  label="%command.label.69"
1230
                  style="push">
1231
               <parameter
1232
                     name="org.txm.rcp.commands.commandParameter3"
1233
                     value="textometrie">
1234
               </parameter>
1235
            </command>
1236
            <command
1237
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1238
                  label="%command.label.72"
1239
                  style="push">
1240
               <parameter
1241
                     name="org.txm.rcp.commands.commandParameter3"
1242
                     value="textometrie_docs">
1243
               </parameter>
1244
            </command>
1245
            <separator
1246
                  name="helpSeparator3"
1247
                  visible="true">
1248
            </separator>
1249
            <command
1250
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1251
                  label="%command.label.67"
1252
                  style="push"
1253
                  tooltip="%command.tooltip">
1254
               <parameter
1255
                     name="org.txm.rcp.commands.commandParameter3"
1256
                     value="treetagger">
1257
               </parameter>
1258
            </command>
1259
            <command
1260
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1261
                  label="%command.label.53"
1262
                  style="push"
1263
                  tooltip="%command.tooltip">
1264
               <parameter
1265
                     name="org.txm.rcp.commands.commandParameter3"
1266
                     value="bug">
1267
               </parameter>
1268
            </command>
1269
            <command
1270
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1271
                  label="%command.label.54"
1272
                  style="push"
1273
                  tooltip="%command.tooltip">
1274
               <parameter
1275
                     name="org.txm.rcp.commands.commandParameter3"
1276
                     value="feature">
1277
               </parameter>
1278
            </command>
1279
            <command
1280
                  commandId="org.txm.rcp.commands.OpenLocalizedWebPage"
1281
                  label="%command.label.179"
1282
                  style="push"
1283
                  tooltip="%command.tooltip.47">
1284
               <parameter
1285
                     name="org.txm.rcp.commands.commandParameter3"
1286
                     value="contrib">
1287
               </parameter>
1288
            </command>
1289
            <separator
1290
                  name="org.txm.rcp.separator4"
1291
                  visible="true">
1292
            </separator>
1293
            <command
1294
                  commandId="org.eclipse.ui.help.aboutAction"
1295
                  label="%command.label.14"
1296
                  style="push"
1297
                  tooltip="%command.tooltip.10">
1298
            </command>
1299
         </menu>
1300
         <menu
1301
               id="menu.recettes"
1302
               label="%menu.label.12"
1303
               tooltip="%menu.tooltip.1">
1304
            <visibleWhen
1305
                  checkEnabled="false">
1306
               <or>
1307
                  <reference
1308
                        definitionId="ExpertEnabled">
1309
                  </reference>
1310
               </or>
1311
            </visibleWhen>
1312
         </menu>
1313
      </menuContribution>
1314
      <menuContribution
1315
            allPopups="true"
1316
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
1317
         <toolbar
1318
               id="org.txm.rcp.toolbarcorpus">
1319
            <command
1320
                  commandId="org.txm.rcp.commands.function.ExportResult"
1321
                  icon="icons/functions/export_data.png"
1322
                  label="%command.label.51"
1323
                  style="push">
1324
               <visibleWhen
1325
                     checkEnabled="false">
1326
                  <or>
1327
                     <reference
1328
                           definitionId="OneLexiconSelected">
1329
                     </reference>
1330
                     <reference
1331
                           definitionId="OneConcordanceSelected">
1332
                     </reference>
1333
                     <reference
1334
                           definitionId="OneSpecificitiesResultSelected">
1335
                     </reference>
1336
                     <reference
1337
                           definitionId="OneIndexSelected">
1338
                     </reference>
1339
                     <reference
1340
                           definitionId="OneReferencerSelected">
1341
                     </reference>
1342
                     <reference
1343
                           definitionId="OneProgressionSelected">
1344
                     </reference>
1345
                     <reference
1346
                           definitionId="OneCooccurrenceSelected">
1347
                     </reference>
1348
                     <reference
1349
                           definitionId="OneLexicalTableSelected">
1350
                     </reference>
1351
                     <reference
1352
                           definitionId="OneCASelected">
1353
                     </reference>
1354
                     <reference
1355
                           definitionId="OneCAHSelected">
1356
                     </reference>
1357
                     <reference
1358
                           definitionId="OneTXMResultSelected">
1359
                     </reference>
1360
                  </or>
1361
               </visibleWhen>
1362
            </command>
1363
            <command
1364
                  commandId="org.txm.rcp.commands.function.ExportSVG"
1365
                  icon="icons/functions/exportSVG.png"
1366
                  label="%command.label.101"
1367
                  style="push"
1368
                  tooltip="%command.tooltip.54">
1369
               <visibleWhen
1370
                     checkEnabled="false">
1371
                  <or>
1372
                     <reference
1373
                           definitionId="SVGEditorActive">
1374
                     </reference>
1375
                     <reference
1376
                           definitionId="OneCAHSelected">
1377
                     </reference>
1378
                     <reference
1379
                           definitionId="OneProgressionSelected">
1380
                     </reference>
1381
                     <reference
1382
                           definitionId="OneWordCloudSelected">
1383
                     </reference>
1384
                  </or>
1385
               </visibleWhen>
1386
            </command>
1387
            <separator
1388
                  name="org.txm.rcp.toolbarcorpus.corpus"
1389
                  visible="true">
1390
            </separator>
1391
            
1392
            <command
1393
                  commandId="org.txm.rcp.commands.base.DeleteInCorpora"
1394
                  icon="icons/functions/Delete.png"
1395
                  label="%command.label.65"
1396
                  style="push"
1397
                  tooltip="%command.tooltip.33">
1398
               <visibleWhen
1399
                     checkEnabled="false">
1400
                  <or>
1401
                     <reference
1402
                           definitionId="OneBaseSelected">
1403
                     </reference>
1404
                     <reference
1405
                           definitionId="OneConcordanceSelected">
1406
                     </reference>
1407
                     <reference
1408
                           definitionId="OneCorpusSelected">
1409
                     </reference>
1410
                     <reference
1411
                           definitionId="OneLexicalTableSelected">
1412
                     </reference>
1413
                     <reference
1414
                           definitionId="OneLexiconSelected">
1415
                     </reference>
1416
                     <reference
1417
                           definitionId="OnePartitionSelected">
1418
                     </reference>
1419
                     <reference
1420
                           definitionId="OneTxmObjectSelected">
1421
                     </reference>
1422
                     <reference
1423
                           definitionId="OneTXMResultSelected">
1424
                     </reference>
1425
                  </or>
1426
               </visibleWhen>
1427
            </command>
1428
            <separator
1429
                  name="org.txm.rcp.toolbarcorpus.annotation"
1430
                  visible="true">
1431
            </separator>
1432
         </toolbar>
1433
         <separator
1434
               name="org.txm.rcp.toolbar.separator1"
1435
               visible="true">
1436
         </separator>
1437
         <toolbar
1438
               id="org.txm.rcp.toolbartools">
1439

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

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

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

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

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

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