Project

General

Profile

Download (57.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63
            default="false"
64
            icon="icons/derivate_view-16x16-32.png"
65
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66
            name="%editor.name.5">
67
      </editor>
68
      <editor
69
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70
            default="false"
71
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72
            name="%editor.name.6">
73
      </editor>
74
      <editor
75
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76
            default="false"
77
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78
            name="%editor.name.7">
79
      </editor>
80
         <editor
81
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82
            icon="icons/address-book-new.png"
83
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84
            name="%editor.name.8">
85
      </editor>
86
      <editor
87
            class="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
88
            default="false"
89
            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor"
90
            name="Alignment Editor">
91
      </editor>
92
   </extension>
93
      <extension
94
            point="org.eclipse.ui.views">
95
         <view
96
               allowMultiple="false"
97
               category="eu.etaxonomy.taxeditor.editor.category"
98
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
99
               icon="icons/address-book-new.png"
100
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
101
               name="%view.name"
102
               restorable="true">
103
         </view>
104
          <view
105
                allowMultiple="false"
106
                category="eu.etaxonomy.taxeditor.editor.category"
107
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
108
                icon="icons/leaf.png"
109
                id="eu.etaxonomy.taxeditor.editor.view.uses"
110
                name="%view.name.0"
111
                restorable="true">
112
         </view>
113
         <view
114
               allowMultiple="false"
115
               category="eu.etaxonomy.taxeditor.editor.category"
116
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
117
               icon="icons/camera-photo.png"
118
               id="eu.etaxonomy.taxeditor.editor.view.media"
119
               name="%view.name.1"
120
               restorable="true">
121
         </view>
122
         <view
123
               category="eu.etaxonomy.taxeditor.editor.category"
124
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
125
               id="eu.etaxonomy.taxeditor.editor.view.concept"
126
               name="%view.name.2"
127
               restorable="true">
128
         </view>
129
         <view
130
               category="eu.etaxonomy.taxeditor.editor.category"
131
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
132
               icon="icons/address-book-new.png"
133
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
134
               name="%view.name.3"
135
               restorable="true">
136
         </view>
137
         <category
138
               id="eu.etaxonomy.taxeditor.editor.category"
139
               name="%category.name">
140
         </category>
141
         <view
142
               allowMultiple="true"
143
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
144
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
145
               name="%view.name.4">
146
         </view>
147
         <view
148
               allowMultiple="true"
149
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
150
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
151
               name="%view.name.5">
152
         </view>
153
      </extension>
154
   <extension
155
         point="org.eclipse.ui.elementFactories">
156
      <factory
157
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
158
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
159
      </factory>
160
   </extension>
161
   <extension
162
         point="org.eclipse.ui.menus">
163
      <menuContribution
164
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
165
         <command
166
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
167
               label="%command.label.46"
168
               style="push">
169
         </command>
170
         <command
171
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
172
               label="%command.label.47"
173
               style="push">
174
         </command>
175
         <command
176
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
177
               label="%command.label.1"
178
               style="push">
179
         </command>
180
         <command
181
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
182
               label="%command.label.2"
183
               style="push">
184
         </command>
185
         <separator
186
               name="eu.etaxonomy.navigation.menu.new.separator2"
187
               visible="true">
188
         </separator>
189
         <command
190
               commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
191
               label="%command.label.3"
192
               style="push">
193
         </command>
194
         <separator
195
               name="eu.etaxonomy.navigation.menu.new.separator3"
196
               visible="true">
197
         </separator>
198
         <command
199
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
200
               label="%command.label.48"
201
               style="push">
202
         </command>
203
      </menuContribution>
204
      <menuContribution
205
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
206
         <separator
207
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
208
               visible="true">
209
         </separator>
210
         <command
211
               commandId="org.eclipse.ui.views.showView"
212
               label="%command.label.4"
213
               style="push">
214
            <parameter
215
                  name="org.eclipse.ui.views.showView.viewId"
216
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
217
            </parameter>
218
         </command>
219
         <command
220
               commandId="org.eclipse.ui.views.showView"
221
               label="%command.label.5"
222
               style="push">
223
            <parameter
224
                  name="org.eclipse.ui.views.showView.viewId"
225
                  value="eu.etaxonomy.taxeditor.editor.view.media">
226
            </parameter>
227
         </command>
228
         <command
229
               commandId="org.eclipse.ui.views.showView"
230
               label="%command.label.6"
231
               style="push">
232
            <parameter
233
                  name="org.eclipse.ui.views.showView.viewId"
234
                  value="eu.etaxonomy.taxeditor.editor.view.concept">
235
            </parameter>
236
         </command>
237
         <command
238
               commandId="org.eclipse.ui.views.showView"
239
               label="%command.label.7"
240
               style="push">
241
            <parameter
242
                  name="org.eclipse.ui.views.showView.viewId"
243
                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
244
            </parameter>
245
            <visibleWhen
246
                  checkEnabled="false">
247
               <reference
248
                     definitionId="isShowExperimentalFeatures">
249
               </reference>
250
            </visibleWhen>
251
         </command>
252
         <command
253
               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
254
               label="Alignment Editor"
255
               style="push">
256
         </command>
257
      </menuContribution>
258
      <menuContribution
259
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
260
         <command
261
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
262
               label="%command.label.8"
263
               style="push">
264
         </command>
265
      </menuContribution>
266
      <menuContribution
267
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
268
         <menu
269
               label="%menu.label">
270
            <command
271
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
272
                  label="%command.label.9"
273
                  style="push">
274
               <visibleWhen>
275
                  <reference
276
                        definitionId="isAcceptedTaxon">
277
                  </reference>
278
               </visibleWhen>
279
            </command>
280
            <command
281
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
282
                  label="%command.label.10"
283
                  style="push">
284
               <visibleWhen>
285
                  <reference
286
                        definitionId="isAcceptedTaxon">
287
                  </reference>
288
               </visibleWhen>
289
            </command>
290
            <command
291
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
292
                  label="%command.label.11"
293
                  style="push">
294
               <visibleWhen>
295
                  <reference
296
                        definitionId="isSynonym">
297
                  </reference>
298
               </visibleWhen>
299
            </command>
300
            <separator
301
                  name="separator1"
302
                  visible="true">
303
            </separator>
304
           <command
305
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
306
                  label="%command.label.49"
307
                  style="push">
308
               <visibleWhen>
309
                  <or>
310
                     <reference
311
                           definitionId="isAcceptedTaxon">
312
                     </reference>
313
                     <reference
314
                           definitionId="isMisapplication">
315
                     </reference>
316
                  </or>
317
               </visibleWhen>
318
            </command>
319
         </menu>
320
        <!--<command
321
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
322
               label="Change Accepted Taxon to Synonym"
323
               style="push">
324
            <visibleWhen
325
                  checkEnabled="true">
326
               <reference
327
                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
328
               </reference>
329
            </visibleWhen
330
                <visibleWhen>                  
331
                     <or>
332
                        <reference
333
                              definitionId="isAcceptedTaxon">
334
                        </reference>
335
                        <reference
336
                              definitionId="isMisapplication">
337
                        </reference>
338
                     </or>                  
339
               </visibleWhen>
340
         </command>-->
341
         <menu
342
               label="%menu.label.0">
343
            <command
344
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
345
                  label="%command.label.12"
346
                  style="push">
347
               <visibleWhen>
348
                  <not>
349
                     <or>
350
                        <reference
351
                              definitionId="isAcceptedTaxon">
352
                        </reference>
353
                        <reference
354
                              definitionId="isMisapplication">
355
                        </reference>
356
                     </or>
357
                  </not>
358
               </visibleWhen>
359
            </command>
360
            <command
361
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
362
                  label="%command.label.13"
363
                  style="push">
364
               <visibleWhen>
365
                  <not>
366
                     <or>
367
                        <reference
368
                              definitionId="isAcceptedTaxon">
369
                        </reference>
370
                        <reference
371
                              definitionId="isSynonym">
372
                        </reference>
373
                     </or>
374
                  </not>
375
               </visibleWhen>
376
            </command>
377
            <command
378
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
379
                  label="%command.label.14"
380
                  style="push">
381
               <visibleWhen>
382
                  <not>
383
                     <or>
384
                        <reference
385
                              definitionId="isAcceptedTaxon">
386
                        </reference>
387
                        <reference
388
                              definitionId="isMisapplication">
389
                        </reference>
390
                     </or>
391
                  </not>
392
               </visibleWhen>
393
            </command>
394
         </menu>
395
         <separator
396
               name="taxeditor-editor.separator1"
397
               visible="true">
398
         </separator>
399
         <command
400
               commandId="org.eclipse.ui.edit.delete"
401
               label="%command.label.15"
402
               style="push">
403
            <visibleWhen>
404
               <or>
405
                  <reference
406
                        definitionId="isSynonym">
407
                  </reference>
408
                  <reference
409
                        definitionId="isMisapplication">
410
                  </reference>
411
                  <reference
412
                        definitionId="isConceptRelation">
413
                  </reference>
414
               </or>
415
            </visibleWhen>
416
         </command>
417
         <command
418
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
419
               label="%command.label.16"
420
               style="push">
421
            <visibleWhen>
422
               <reference
423
                     definitionId="hasEmptyNames">
424
               </reference>
425
            </visibleWhen>
426
         </command>
427
         <separator
428
               name="taxeditor-editor.separator2"
429
               visible="true">
430
         </separator>
431
         <dynamic
432
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
433
               id="taxeditor-editor.dynamic.setBasionym">
434
            <visibleWhen>
435
               <or>
436
                  <reference
437
                        definitionId="isAcceptedTaxon">
438
                  </reference>
439
                  <reference
440
                        definitionId="isSynonym">
441
                  </reference>
442
               </or>
443
            </visibleWhen>
444
         </dynamic>
445
         <command
446
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
447
               label="%command.label.17"
448
               style="push">
449
            <visibleWhen>
450
               <reference
451
                     definitionId="isSynonym">
452
               </reference>
453
            </visibleWhen>
454
         </command>
455
         <separator
456
               name="taxeditor-editor.separator3"
457
               visible="true">
458
         </separator>
459
         <command
460
               commandId="org.eclipse.ui.views.showView"
461
               label="%command.label.18"
462
               style="push">
463
            <parameter
464
                  name="org.eclipse.ui.views.showView.viewId"
465
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
466
            </parameter>
467
         </command>
468
         <separator
469
               name="taxeditor-editor.separator4"
470
               visible="true">
471
         </separator>
472
         <command
473
               commandId="org.eclipse.ui.file.save"
474
               label="%command.label.19"
475
               style="push">
476
         </command>
477
      </menuContribution>
478
      <menuContribution
479
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
480
         <command
481
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
482
               label="%command.label.20"
483
               style="push">
484
         </command>
485
         <separator
486
               name="taxeditor-editor.separator1"
487
               visible="true">
488
         </separator>
489
         <command
490
               commandId="org.eclipse.ui.edit.delete"
491
               label="%command.label.21"
492
               style="push">
493
         </command>
494
         <separator
495
               name="taxeditor-editor.separator2"
496
               visible="true">
497
         </separator>
498
         <command
499
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
500
               label="%command.label.22"
501
               style="push">
502
         </command>
503
         <separator
504
               name="taxeditor-editor.separator3"
505
               visible="true">
506
         </separator>
507
      </menuContribution>
508
      <menuContribution
509
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
510
         <command
511
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
512
               label="%command.label.23"
513
               style="push">
514
         </command>
515
         <command
516
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
517
               label="%command.label.24"
518
               style="push">
519
         </command>
520
         <command
521
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
522
               label="%command.label.25"
523
               style="push">
524
         </command>
525
         <command
526
               commandId="org.eclipse.ui.edit.delete"
527
               label="%command.label.26"
528
               style="push">
529
         </command>
530
      </menuContribution>
531
      <menuContribution
532
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
533
         <command
534
               commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
535
               label="%command.label.27"
536
               style="push">
537
         </command>
538
         <separator
539
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
540
               visible="true">
541
         </separator>
542
         <menu
543
               label="%menu.label.1">
544
            <dynamic
545
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
546
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
547
            </dynamic>
548
            <visibleWhen
549
                  checkEnabled="true">
550
               <or>
551
                  <reference
552
                        definitionId="isDescription">
553
                  </reference>
554
                  <reference
555
                        definitionId="isDescriptionElement">
556
                  </reference>
557
                  <reference
558
                        definitionId="isFeatureNodeContainer">
559
                  </reference>
560
               </or>
561
            </visibleWhen>
562
         </menu>
563
         <separator
564
               name="taxeditor-editor.separator1"
565
               visible="true">
566
         </separator>
567
         <command
568
               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
569
               label="%command.label.28"
570
               style="push">
571
            <visibleWhen
572
                  checkEnabled="true">
573
               <reference
574
                     definitionId="isDescription">
575
               </reference>
576
            </visibleWhen>
577
         </command>
578
         <command
579
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
580
               label="%command.label.29"
581
               style="push">
582
            <visibleWhen
583
                  checkEnabled="true">
584
               <or>
585
                  <reference
586
                        definitionId="isDescriptionElement">
587
                  </reference>
588
                  <reference
589
                        definitionId="isFeatureNodeContainer">
590
                  </reference>
591
               </or>
592
            </visibleWhen>
593
         </command>
594
         <separator
595
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
596
               visible="true">
597
         </separator>
598
         <command
599
               commandId="org.eclipse.ui.edit.delete"
600
               label="%command.label.30"
601
               style="push">
602
         </command>
603
         <separator
604
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
605
               visible="true">
606
         </separator>
607
         <command
608
               commandId="org.eclipse.ui.file.save"
609
               label="%command.label.31"
610
               style="push">
611
         </command>
612
      </menuContribution>
613
      <menuContribution
614
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
615
         <dynamic
616
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
617
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
618
         </dynamic>
619
         <command
620
               commandId="org.eclipse.ui.edit.delete"
621
               label="Delete"
622
               style="push">
623
         </command>
624
      </menuContribution>
625
      <menuContribution
626
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
627
         <dynamic
628
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
629
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
630
         </dynamic>
631
      </menuContribution>
632
      <menuContribution
633
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
634
         <dynamic
635
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
636
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
637
         </dynamic>
638
      </menuContribution>
639
      
640
      
641
      
642
      
643
      <menuContribution
644
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
645
         <command
646
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
647
               label="%command.label.32"
648
               style="push">
649
         </command>
650
         <command
651
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
652
               label="%command.label.33"
653
               style="push">
654
            <visibleWhen
655
                  checkEnabled="true">
656
               <or>
657
                  <reference
658
                        definitionId="isDescription">
659
                  </reference>
660
                  <reference
661
                        definitionId="isDescriptionElement">
662
                  </reference>
663
                  <reference
664
                        definitionId="isFeatureNodeContainer">
665
                  </reference>
666
               </or>
667
            </visibleWhen>
668
         </command>
669
         <command
670
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
671
               label="%command.label.34"
672
               style="push">
673
            <visibleWhen
674
                  checkEnabled="true">
675
               <or>
676
                  <reference
677
                        definitionId="isDescription">
678
                  </reference>
679
                  <reference
680
                        definitionId="isDescriptionElement">
681
                  </reference>
682
                  <reference
683
                        definitionId="isFeatureNodeContainer">
684
                  </reference>
685
               </or>
686
            </visibleWhen>
687
         </command>
688
         <separator
689
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
690
               visible="true">
691
         </separator>
692
         <separator
693
               name="taxeditor-editor.separator1"
694
               visible="true">
695
         </separator>
696
         <separator
697
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
698
               visible="true">
699
         </separator>
700
         <command
701
               commandId="org.eclipse.ui.edit.delete"
702
               label="%command.label.35"
703
               style="push">
704
         </command>
705
         <separator
706
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
707
               visible="true">
708
         </separator>
709
         <command
710
               commandId="org.eclipse.ui.file.save"
711
               label="%command.label.36"
712
               style="push">
713
         </command>
714
      </menuContribution>
715
      
716
      
717
      
718
      
719
      
720
      <menuContribution
721
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
722
         <command
723
               commandId="taxeditor-editor.command.newimagegallery"
724
               label="%command.label.37"
725
               style="push">
726
            <visibleWhen>
727
               <or>
728
                  <reference
729
                        definitionId="isBulkEditor">
730
                  </reference>
731
                  <reference
732
                        definitionId="isTaxonEditor">
733
                  </reference>
734
                  <reference
735
                        definitionId="isDerivateEditor">
736
                  </reference>
737
               </or>
738
            </visibleWhen>
739
         </command>
740
         <separator
741
               name="taxeditor-editor.separator1"
742
               visible="true">
743
         </separator>
744
         <command
745
               commandId="taxeditor-editor.newimage"
746
               label="%command.label.38"
747
               style="push">
748
            <visibleWhen>
749
               <reference
750
                     definitionId="isImageGallery">
751
               </reference>
752
            </visibleWhen>
753
         </command>
754
         <command
755
               commandId="taxeditor-editor.useExistingImage"
756
               label="%command.label.50"
757
               style="push">
758
            <visibleWhen>
759
               <reference
760
                     definitionId="isImageGallery">
761
               </reference>
762
            </visibleWhen>
763
         </command>
764
         <command
765
               commandId="taxeditor-editor.command.moveimgdown"
766
               label="%command.label.39"
767
               style="push">
768
            <visibleWhen>
769
               <reference
770
                     definitionId="isMedia">
771
               </reference>
772
            </visibleWhen>
773
         </command>
774
         <command
775
               commandId="taxeditor-editor.command.moveimgup"
776
               label="%command.label.40"
777
               style="push">
778
            <visibleWhen>
779
               <reference
780
                     definitionId="isMedia">
781
               </reference>
782
            </visibleWhen>
783
         </command>
784
         <separator
785
               name="taxeditor-editor.separator2"
786
               visible="true">
787
         </separator>
788
         <command
789
               commandId="org.eclipse.ui.edit.delete"
790
               label="%command.label.41"
791
               style="push">
792
         </command>
793
         <command
794
               commandId="org.eclipse.ui.file.save"
795
               label="%command.label.42"
796
               style="push">
797
         </command>
798
      </menuContribution>
799
      <menuContribution
800
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
801
         <menu
802
               label="%menu.label.3">
803
            <dynamic
804
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
805
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
806
            </dynamic>
807
         </menu>
808
         <command
809
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
810
               label="%command.label.43"
811
               style="push">
812
         </command>
813
         <separator
814
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
815
               visible="true">
816
         </separator>
817
         <command
818
               commandId="org.eclipse.ui.edit.delete"
819
               label="%command.label.44"
820
               style="push">
821
         </command>
822
      </menuContribution>
823
      <menuContribution
824
            allPopups="false"
825
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
826
         <command
827
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
828
               label="%command.label.45"
829
               style="push">
830
            <visibleWhen>
831
               <reference
832
                     definitionId="isGroup">
833
               </reference>
834
            </visibleWhen>
835
         </command>
836
      </menuContribution>
837
      <menuContribution
838
            allPopups="false"
839
            locationURI="menu:org.eclipse.ui.main.menu">
840
         <menu
841
               label="Alignment Editor">
842
            <command
843
                  commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
844
                  label="Load Pherogram"
845
                  style="push">
846
            </command>
847
            <visibleWhen
848
                  checkEnabled="true">
849
               <with
850
                     variable="activePartId">
851
                  <equals
852
                        value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
853
                  </equals>
854
               </with>
855
            </visibleWhen>
856
         </menu>
857
      </menuContribution>
858
      <menuContribution
859
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
860
         <toolbar
861
               id="eu.etaxonomy.taxeditor.editor.alignmentToolbar">
862
            <control
863
                  class="eu.etaxonomy.taxeditor.editor.molecular.ToggleLeftRightInsertionButton">
864
               <visibleWhen
865
                     checkEnabled="true">
866
                  <with
867
                        variable="activePartId">
868
                     <equals
869
                           value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
870
                     </equals>
871
                  </with>
872
               </visibleWhen>
873
            </control>
874
            <control
875
                  class="eu.etaxonomy.taxeditor.editor.molecular.ToggleInsertOverwriteButton">
876
               <visibleWhen
877
                     checkEnabled="true">
878
                  <with
879
                        variable="activePartId">
880
                     <equals
881
                           value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
882
                     </equals>
883
                  </with>
884
               </visibleWhen>
885
            </control>
886
         </toolbar>
887
      </menuContribution>
888
   </extension>
889
   <extension
890
         point="org.eclipse.ui.handlers">
891
      <handler
892
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
893
            commandId="org.eclipse.ui.window.newEditor">
894
         <activeWhen>
895
            <not>
896
               <instanceof
897
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
898
               </instanceof>
899
            </not>
900
         </activeWhen>
901
         <enabledWhen>
902
            <count
903
                  value="-1">
904
            </count>
905
         </enabledWhen>
906
      </handler>
907
      <handler
908
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
909
            commandId="org.eclipse.ui.edit.delete">
910
         <activeWhen>
911
            <and>
912
               <reference
913
                     definitionId="isTaxonBase">
914
               </reference>
915
              <not>
916
                  <reference
917
                        definitionId="isAcceptedTaxon">
918
                  </reference>
919
               </not>
920
            </and>
921
         </activeWhen>
922
      </handler>
923
      <handler
924
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
925
            commandId="org.eclipse.ui.edit.delete">
926
          <activeWhen>
927
             <with
928
                   variable="activePartId">
929
                <or>
930
                   <equals
931
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
932
                   </equals>
933
                   <equals
934
                         value="eu.etaxonomy.taxeditor.editor.view.media">
935
                   </equals>
936
                </or>
937
             </with>
938
          </activeWhen>
939
      </handler>
940
      <handler
941
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
942
            commandId="org.eclipse.ui.edit.delete">
943
         <activeWhen>
944
            <with
945
                  variable="activePartId">
946
               <equals
947
                     value="eu.etaxonomy.taxeditor.editor.key">
948
               </equals>
949
            </with>
950
         </activeWhen>
951
      </handler>
952
      <handler
953
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
954
            commandId="org.eclipse.ui.edit.delete">
955
         <activeWhen>
956
            <with
957
                  variable="activePartId">
958
               <equals
959
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
960
               </equals>
961
            </with>
962
         </activeWhen>
963
      </handler>
964
      <handler
965
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
966
            commandId="org.eclipse.ui.edit.delete">
967
         <activeWhen>
968
            <with
969
                  variable="activePartId">
970
               <equals
971
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
972
               </equals>
973
            </with>
974
         </activeWhen>
975
      </handler>
976
      <handler
977
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
978
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
979
      </handler>
980
            <handler
981
            class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
982
            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
983
         <activeWhen>
984
            <with
985
                  variable="activePartId">
986
               <equals
987
                     value="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor">
988
               </equals>
989
            </with>
990
         </activeWhen>
991
      </handler>
992
      <handler
993
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
994
            commandId="org.eclipse.ui.edit.delete">
995
         <activeWhen>
996
            <with
997
                  variable="activePartId">
998
               <equals
999
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1000
               </equals>
1001
            </with>
1002
         </activeWhen>
1003
      </handler>
1004
   </extension>
1005
   <extension
1006
         name="%extension.name"
1007
         point="org.eclipse.ui.commands">
1008
      <category
1009
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1010
            name="%category.name.0">
1011
      </category>
1012
      <command
1013
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1014
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1015
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1016
            name="%command.name">
1017
      </command>
1018
      <command
1019
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1020
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1021
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1022
            name="%command.name.0">
1023
      </command>
1024
      <command
1025
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1026
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1027
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1028
            name="%command.name.1">
1029
      </command>
1030
      <command
1031
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1032
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1033
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1034
            name="%command.name.2">
1035
      </command>
1036
     <command
1037
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1038
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1039
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1040
            name="%command.name.36">
1041
      </command>
1042
      <!--command
1043
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1044
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1045
            name="Move Taxon">
1046
      </command-->
1047
      <command
1048
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1049
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1050
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1051
            name="%command.name.3">
1052
      </command>
1053
      <command
1054
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1055
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1056
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1057
            name="%command.name.4">
1058
      </command>
1059
      <command
1060
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1061
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1062
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1063
            name="%command.name.5">
1064
      </command>
1065
      <command
1066
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1067
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1068
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1069
            name="%command.name.6">
1070
      </command>
1071
      <command
1072
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1073
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1074
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1075
            name="%command.name.7">
1076
      </command>
1077
      <command
1078
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1079
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1080
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1081
            name="%command.name.8">
1082
      </command>
1083
     <!-- <command
1084
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1085
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1086
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1087
            name="Change Accepted Taxon to Synonym">
1088
      </command>-->
1089
      <command
1090
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1091
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1092
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1093
            name="%command.name.9">
1094
      </command>
1095
      <category
1096
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1097
            name="%category.name.1">
1098
      </category>
1099
      <command
1100
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1101
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1102
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1103
            name="%command.name.10">
1104
      </command>
1105
      <command
1106
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1107
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1108
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1109
            name="%command.name.11">
1110
      </command>
1111
      <command
1112
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1113
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1114
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1115
            name="%command.name.12">
1116
      </command>
1117
      <command
1118
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1119
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1120
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1121
            name="%command.name.13">
1122
      </command>
1123
      <category
1124
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1125
            name="%category.name.2">
1126
      </category>
1127
      <command
1128
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1129
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1130
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1131
            name="%command.name.14">
1132
      </command>
1133
      <command
1134
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1135
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1136
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1137
            name="%command.name.15">
1138
      </command>
1139
      <command
1140
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1141
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1142
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1143
            name="%command.name.16">
1144
      </command>
1145
      <category
1146
            id="eu.etaxonomy.taxeditor.editor.media.category"
1147
            name="%category.name.3">
1148
      </category>
1149
      <command
1150
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1151
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1152
            id="taxeditor-editor.command.moveimgdown"
1153
            name="%command.name.19">
1154
      </command>
1155
      <command
1156
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1157
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1158
            id="taxeditor-editor.command.newimagegallery"
1159
            name="%command.name.20">
1160
      </command>
1161
      <command
1162
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1163
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1164
            id="taxeditor-editor.newimage"
1165
            name="%command.name.21">
1166
      </command>
1167
      <command
1168
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1169
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1170
            id="taxeditor-editor.useExistingImage"
1171
            name="%command.name.37">
1172
      </command>
1173
      <command
1174
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1175
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1176
            id="taxeditor-editor.command.moveimgup"
1177
            name="%command.name.22">
1178
      </command>
1179
      <category
1180
            id="eu.etaxonomy.taxeditor.editor.new.category"
1181
            name="%category.name.4">
1182
      </category>
1183
      <command
1184
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1185
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1186
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1187
            name="%command.name.23">
1188
      </command>
1189
      <command
1190
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1191
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1192
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1193
            name="%command.name.24">
1194
      </command>
1195
      <command
1196
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1197
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1198
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1199
            name="%command.name.25">
1200
      </command>
1201
      <command
1202
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1203
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1204
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1205
            name="%command.name.26">
1206
      </command>
1207
      <command
1208
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1209
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1210
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1211
            name="%command.name.27">
1212
      </command>
1213
      <category
1214
            id="eu.etaxonomy.taxeditor.editor.key.category"
1215
            name="%category.name.5">
1216
      </category>
1217
      <command
1218
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1219
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1220
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1221
            name="%command.name.28">
1222
      </command>
1223
      <command
1224
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1225
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1226
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1227
            name="%command.name.29">
1228
      </command>
1229
      <command
1230
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1231
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1232
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1233
            name="%command.name.30">
1234
      </command>
1235
      <command
1236
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1237
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1238
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1239
            name="%command.name.31">
1240
      </command>
1241
      <category
1242
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1243
            name="%category.name.6">
1244
      </category>
1245
      <command
1246
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1247
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1248
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1249
            name="%command.name.32">
1250
      </command>
1251
      <command
1252
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1253
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1254
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1255
            name="%command.name.33">
1256
      </command>
1257
      <category
1258
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1259
            name="%category.name.7">
1260
      </category>
1261
      <command
1262
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1263
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1264
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1265
            name="%command.name.34">
1266
      </command>
1267
      <command
1268
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1269
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1270
            name="%command.name.35">
1271
      </command>
1272
       <command
1273
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1274
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1275
             name="%command.name.38">
1276
      </command>
1277
      <command
1278
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1279
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1280
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1281
            name="%command.name.39">
1282
      </command>
1283
      <command
1284
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
1285
            id="eu.etaxonomy.taxeditor.editor.handler.OpenAlignmentEditor"
1286
            name="Open Alignment Editor">
1287
      </command>
1288
      <command
1289
            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.addA"
1290
            name="Add A">
1291
      </command>
1292
      <command
1293
            id="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1294
            name="Load Pherogram">
1295
      </command>
1296

    
1297
   </extension>
1298
   <extension
1299
         point="org.eclipse.core.expressions.definitions">
1300
      <definition
1301
            id="nameEditorActive">
1302
         <with
1303
               variable="activeEditorId">
1304
            <equals
1305
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1306
            </equals>
1307
         </with>
1308
      </definition>
1309
      <definition
1310
            id="isAcceptedTaxon">
1311
         <with
1312
               variable="selection">
1313
            <test
1314
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1315
            </test>
1316
         </with>
1317
      </definition>
1318
      <definition
1319
            id="isSynonym">
1320
         <with
1321
               variable="selection">
1322
            <test
1323
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1324
            </test>
1325
         </with>
1326
      </definition>
1327
      <definition
1328
            id="isMisapplication">
1329
         <with
1330
               variable="selection">
1331
            <test
1332
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1333
            </test>
1334
         </with>
1335
      </definition>
1336
      <definition
1337
            id="isTaxonBase">
1338
         <with
1339
               variable="selection">
1340
            <test
1341
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1342
            </test>
1343
         </with>
1344
      </definition>
1345
      <definition
1346
            id="hasEmptyNames">
1347
         <with
1348
               variable="selection">
1349
            <test
1350
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1351
            </test>
1352
         </with>
1353
      </definition>
1354
      <definition
1355
            id="isDeletable">
1356
         <with
1357
               variable="selection">
1358
            <test
1359
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1360
            </test>
1361
         </with>
1362
      </definition>
1363
      <definition
1364
            id="isMedia">
1365
         <with
1366
               variable="selection">
1367
            <test
1368
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1369
            </test>
1370
         </with>
1371
      </definition>
1372
      <definition
1373
            id="isTaxonEditor">
1374
         <with
1375
               variable="selection">
1376
            <test
1377
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1378
            </test>
1379
         </with>
1380
      </definition>
1381
      <definition
1382
            id="isBulkEditor">
1383
         <with
1384
               variable="selection">
1385
            <test
1386
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1387
            </test>
1388
         </with>
1389
      </definition>
1390
      <definition
1391
            id="isDerivateEditor">
1392
         <with
1393
               variable="selection">
1394
            <test
1395
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1396
            </test>
1397
         </with>
1398
      </definition>
1399
      <definition
1400
            id="isDescription">
1401
         <with
1402
               variable="selection">
1403
            <test
1404
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1405
            </test>
1406
         </with>
1407
      </definition>
1408
      <definition
1409
            id="isDescriptionElement">
1410
         <with
1411
               variable="selection">
1412
            <test
1413
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1414
            </test>
1415
         </with>
1416
      </definition>
1417
      <definition
1418
            id="isFeatureNodeContainer">
1419
         <with
1420
               variable="selection">
1421
            <test
1422
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1423
            </test>
1424
         </with>
1425
      </definition>
1426
      <definition
1427
            id="isImageGallery">
1428
         <with
1429
               variable="selection">
1430
            <test
1431
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1432
            </test>
1433
         </with>
1434
      </definition>
1435
      <definition
1436
            id="isAcceptedAndHasNoHomotypicSynonyms">
1437
         <with
1438
               variable="selection">
1439
            <test
1440
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1441
            </test>
1442
         </with>
1443
      </definition>
1444
      <definition
1445
            id="isGroup">
1446
         <with
1447
               variable="activeEditor">
1448
            <test
1449
                  property="taxeditor-bulkeditor.propertyTester.isGroup">
1450
            </test>
1451
         </with>
1452
      </definition>
1453
   </extension>
1454
   <extension
1455
         point="org.eclipse.core.expressions.propertyTesters">
1456
      <propertyTester
1457
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1458
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1459
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1460
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1461
            type="org.eclipse.jface.viewers.IStructuredSelection">
1462
      </propertyTester>
1463
      <propertyTester
1464
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1465
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1466
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1467
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1468
            type="org.eclipse.jface.viewers.TreeSelection">
1469
      </propertyTester>
1470
      <propertyTester
1471
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1472
            id="taxeditor-bulkeditor.PropertyTester"
1473
            namespace="taxeditor-bulkeditor.propertyTester"
1474
            properties="isGroup"
1475
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1476
      </propertyTester>
1477
   </extension>
1478
   <extension
1479
         point="org.eclipse.ui.bindings">   
1480
      <scheme
1481
            description="%scheme.description"
1482
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1483
            name="%scheme.name">
1484
      </scheme>
1485
      <key
1486
            commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram"
1487
            schemeId="eu.etaxonomy.taxeditor.bindings.scheme.default"
1488
            sequence="M1+O">
1489
      </key>
1490
   </extension>
1491
    <extension
1492
         point="org.eclipse.ui.importWizards">
1493
      <wizard
1494
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1495
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1496
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1497
            name="%wizard.name">
1498
         <description>
1499
            %wizard.description
1500
         </description>
1501
      </wizard>
1502
   </extension>
1503
</plugin>
(5-5/6)