Statistics
| Revision:

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

History | View | Annotate | Download (116.7 kB)

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

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

    
213

    
214

    
215

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

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

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

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

    
2578
      <command
2579
            categoryId="org.eclipse.ui.category.edit"
2580
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2581
            id="org.txm.rcp.commands.EditSelectedFile"
2582
            name="%command.name.106">
2583
      </command>
2584
      <command
2585
            categoryId="org.txm.rcp.category.txm"
2586
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2587
            id="org.txm.rcp.commands.ReloadCorporaView"
2588
            name="Reload">
2589
      </command>
2590
      <command
2591
            defaultHandler="org.txm.rcp.commands.ComputeTXMResult"
2592
            description="Compute/Update the TXMResult of a TXMEditor"
2593
            id="org.txm.rcp.commands.ComputeTXMResult"
2594
            name="Compute">
2595
      </command>
2596
   </extension>
2597
   <extension
2598
         id="commands"
2599
         name="commands"
2600
         point="org.eclipse.ui.commands">
2601

    
2602
      <command
2603
            categoryId="org.txm.rcp.category.txm"
2604
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2605
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2606
            name="%command.name.33">
2607
      </command>
2608
      <command
2609
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2610
            description="%command.description.2"
2611
            id="org.txm.rcp.commands.tests.NilsTest"
2612
            name="%command.name.85">
2613
      </command>
2614
      <command
2615
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2616
            id="org.txm.rcp.commands.function.ExportResult"
2617
            name="%command.name.24">
2618
      </command>
2619
      <command
2620
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2621
            id="org.txm.rcp.commands.function.ExportSVG"
2622
            name="%command.name.34">
2623
      </command>
2624
   </extension>
2625
   <extension
2626
         id="links"
2627
         name="links"
2628
         point="org.eclipse.ui.commands">
2629

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