Statistics
| Revision:

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

History | View | Annotate | Download (116.7 kB)

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

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

    
204
        <factory 
205
                adaptableType="org.txm.searchengine.cqp.corpus.Partition" 
206
                class="org.txm.rcp.AdapterFactory">
207
                <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
208
        </factory>
209

    
210

    
211

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

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

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

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

    
2578
      <command
2579
            categoryId="org.eclipse.ui.category.edit"
2580
            defaultHandler="org.txm.rcp.commands.EditSelectedFile"
2581
            id="org.txm.rcp.commands.EditSelectedFile"
2582
            name="%command.name.106">
2583
      </command>
2584
      <command
2585
            categoryId="org.txm.rcp.category.txm"
2586
            defaultHandler="org.txm.rcp.commands.ReloadCorporaView"
2587
            id="org.txm.rcp.commands.ReloadCorporaView"
2588
            name="Reload">
2589
      </command>
2590
   </extension>
2591
   <extension
2592
         id="commands"
2593
         name="commands"
2594
         point="org.eclipse.ui.commands">
2595
      <command
2596
            defaultHandler="org.txm.rcp.commands.function.ComputeDiagnostic"
2597
            id="org.txm.rcp.commands.base.Diagnostique"
2598
            name="%command.name.23">
2599
      </command>
2600
      <command
2601
            categoryId="org.txm.rcp.category.txm"
2602
            defaultHandler="org.txm.rcp.commands.function.OpenParaBrowser"
2603
            id="org.txm.rcp.commands.function.OpenParaBrowser"
2604
            name="%command.name.33">
2605
      </command>
2606
      <command
2607
            defaultHandler="org.txm.rcp.commands.tests.NilsTest"
2608
            description="%command.description.2"
2609
            id="org.txm.rcp.commands.tests.NilsTest"
2610
            name="%command.name.85">
2611
      </command>
2612
      <command
2613
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
2614
            id="org.txm.rcp.commands.function.ExportResult"
2615
            name="%command.name.24">
2616
      </command>
2617
      <command
2618
            defaultHandler="org.txm.rcp.commands.function.ExportSVG"
2619
            id="org.txm.rcp.commands.function.ExportSVG"
2620
            name="%command.name.34">
2621
      </command>
2622
   </extension>
2623
   <extension
2624
         id="links"
2625
         name="links"
2626
         point="org.eclipse.ui.commands">
2627

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