Statistics
| Revision:

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

History | View | Annotate | Download (115.5 kB)

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

    
199
        <factory 
200
                adaptableType="org.txm.searchengine.cqp.corpus.Corpus" 
201
                class="org.txm.rcp.adapters.CorpusAdapterFactory">
202
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
203
        </factory>
204

    
205

    
206

    
207

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

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

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

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

    
2551
      <command
2552
            categoryId="org.eclipse.ui.category.edit"
2553
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2554
            id="org.txm.rcp.commands.EditSelectedFile"
2555
            name="%command.name.106">
2556
      </command>
2557
      <command
2558
            categoryId="org.txm.rcp.category.txm"
2559
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2560
            id="org.txm.rcp.commands.ReloadCorporaView"
2561
            name="Reload">
2562
      </command>
2563
      <command
2564
            defaultHandler="org.txm.rcp.commands.ComputeTXMResult"
2565
            description="Compute/Update the TXMResult of a TXMEditor"
2566
            id="org.txm.rcp.commands.ComputeTXMResult"
2567
            name="Compute">
2568
      </command>
2569
   </extension>
2570
   <extension
2571
         id="commands"
2572
         name="commands"
2573
         point="org.eclipse.ui.commands">
2574

    
2575
      <command
2576
            categoryId="org.txm.rcp.category.txm"
2577
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2578
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2579
            name="%command.name.33">
2580
      </command>
2581
      <command
2582
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2583
            description="%command.description.2"
2584
            id="org.txm.rcp.commands.tests.NilsTest"
2585
            name="%command.name.85">
2586
      </command>
2587
      <command
2588
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2589
            id="org.txm.rcp.commands.function.ExportResult"
2590
            name="%command.name.24">
2591
      </command>
2592
      <command
2593
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2594
            id="org.txm.rcp.commands.function.ExportSVG"
2595
            name="%command.name.34">
2596
      </command>
2597
   </extension>
2598
   <extension
2599
         id="links"
2600
         name="links"
2601
         point="org.eclipse.ui.commands">
2602

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