Statistics
| Revision:

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

History | View | Annotate | Download (115.9 kB)

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

    
191
        <factory 
192
                adaptableType="org.txm.searchengine.cqp.corpus.Corpus" 
193
                class="org.txm.rcp.AdapterFactory">
194
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
195
        </factory>
196

    
197
        <factory 
198
                adaptableType="org.txm.searchengine.cqp.corpus.Partition" 
199
                class="org.txm.rcp.AdapterFactory">
200
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
201
        </factory>
202

    
203

    
204

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

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

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

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

    
2565
      <command
2566
            categoryId="org.eclipse.ui.category.edit"
2567
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2568
            id="org.txm.rcp.commands.EditSelectedFile"
2569
            name="%command.name.106">
2570
      </command>
2571
      <command
2572
            categoryId="org.txm.rcp.category.txm"
2573
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2574
            id="org.txm.rcp.commands.ReloadCorporaView"
2575
            name="Reload">
2576
      </command>
2577
   </extension>
2578
   <extension
2579
         id="commands"
2580
         name="commands"
2581
         point="org.eclipse.ui.commands">
2582
      <command
2583
            defaultHandler="org.txm.rcp.commands.function.ComputeDiagnostic"
2584
            id="org.txm.rcp.commands.base.Diagnostique"
2585
            name="%command.name.23">
2586
      </command>
2587
      <command
2588
            categoryId="org.txm.rcp.category.txm"
2589
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2590
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2591
            name="%command.name.33">
2592
      </command>
2593
      <command
2594
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2595
            description="%command.description.2"
2596
            id="org.txm.rcp.commands.tests.NilsTest"
2597
            name="%command.name.85">
2598
      </command>
2599
      <command
2600
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2601
            id="org.txm.rcp.commands.function.ExportResult"
2602
            name="%command.name.24">
2603
      </command>
2604
      <command
2605
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2606
            id="org.txm.rcp.commands.function.ExportSVG"
2607
            name="%command.name.34">
2608
      </command>
2609
   </extension>
2610
   <extension
2611
         id="links"
2612
         name="links"
2613
         point="org.eclipse.ui.commands">
2614

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