Project

General

Profile

Download (36.4 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="Multipage Taxon Editor">
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="Taxon Name Editor">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="Key">
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="Polytomous Key Graph Editor">
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="Polytomous Key List Editor">
54
      </editor>
55
   </extension>
56
      <extension
57
            point="org.eclipse.ui.views">
58
         <view
59
               allowMultiple="false"
60
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
61
               icon="icons/address-book-new.png"
62
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
63
               name="Descriptive"
64
               restorable="true">
65
         </view>
66
         <view
67
               allowMultiple="false"
68
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
69
               icon="icons/camera-photo.png"
70
               id="eu.etaxonomy.taxeditor.editor.view.media"
71
               name="Media"
72
               restorable="true">
73
         </view>
74
         <view
75
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
76
               id="eu.etaxonomy.taxeditor.editor.view.concept"
77
               name="Concept Relations"
78
               restorable="true">
79
         </view>
80
      </extension>
81
   <extension
82
         point="org.eclipse.ui.elementFactories">
83
      <factory
84
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
85
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
86
      </factory>
87
   </extension>
88
   <extension
89
         point="org.eclipse.ui.menus">
90
      <menuContribution
91
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
92
         <command
93
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
94
               label="Reference"
95
               style="push">
96
         </command>
97
         <command
98
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
99
               label="Name"
100
               style="push">
101
         </command>
102
         <command
103
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
104
               label="Team"
105
               style="push">
106
         </command>
107
         <command
108
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
109
               label="Person"
110
               style="push">
111
         </command>
112
         <command
113
               commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
114
               label="Specimen"
115
               style="push">
116
         </command>
117
      </menuContribution>
118
      <menuContribution
119
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
120
         <separator
121
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
122
               visible="true">
123
         </separator>
124
         <command
125
               commandId="org.eclipse.ui.views.showView"
126
               label="Descriptive"
127
               style="push">
128
            <parameter
129
                  name="org.eclipse.ui.views.showView.viewId"
130
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
131
            </parameter>
132
         </command>
133
         <command
134
               commandId="org.eclipse.ui.views.showView"
135
               label="Media"
136
               style="push">
137
            <parameter
138
                  name="org.eclipse.ui.views.showView.viewId"
139
                  value="eu.etaxonomy.taxeditor.editor.view.media">
140
            </parameter>
141
         </command>
142
         <command
143
               commandId="org.eclipse.ui.views.showView"
144
               label="Concept"
145
               style="push">
146
            <parameter
147
                  name="org.eclipse.ui.views.showView.viewId"
148
                  value="eu.etaxonomy.taxeditor.editor.view.concept">
149
            </parameter>
150
         </command>
151
      </menuContribution>
152
      <menuContribution
153
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
154
         <command
155
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
156
               label="Open Parent"
157
               style="push">
158
         </command>
159
      </menuContribution>
160
      <menuContribution
161
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
162
         <menu
163
               label="New">
164
            <command
165
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
166
                  label="Heterotypic Synonym"
167
                  style="push">
168
               <visibleWhen>
169
                  <reference
170
                        definitionId="isAcceptedTaxon">
171
                  </reference>
172
               </visibleWhen>
173
            </command>
174
            <command
175
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
176
                  label="Homotypic Synonym"
177
                  style="push">
178
               <visibleWhen>
179
                  <reference
180
                        definitionId="isAcceptedTaxon">
181
                  </reference>
182
               </visibleWhen>
183
            </command>
184
            <command
185
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
186
                  label="Synonym In Homotypical Group"
187
                  style="push">
188
               <visibleWhen>
189
                  <reference
190
                        definitionId="isSynonym">
191
                  </reference>
192
               </visibleWhen>
193
            </command>
194
            <separator
195
                  name="separator1"
196
                  visible="true">
197
            </separator>
198
            <command
199
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
200
                  label="Misapplication"
201
                  style="push">
202
               <visibleWhen>
203
                  <or>
204
                     <reference
205
                           definitionId="isAcceptedTaxon">
206
                     </reference>
207
                     <reference
208
                           definitionId="isMisapplication">
209
                     </reference>
210
                  </or>
211
               </visibleWhen>
212
            </command>
213
         </menu>
214
         <command
215
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
216
               label="Change Accepted Taxon to Synonym"
217
               style="push">
218
            <visibleWhen>
219
               <reference
220
                     definitionId="isAcceptedTaxon">
221
               </reference>
222
            </visibleWhen>
223
         </command>
224
         <menu
225
               label="Change To">
226
            <command
227
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
228
                  label="Accepted Taxon"
229
                  style="push">
230
               <visibleWhen>
231
                  <not>
232
                     <or>
233
                        <reference
234
                              definitionId="isAcceptedTaxon">
235
                        </reference>
236
                        <reference
237
                              definitionId="isMisapplication">
238
                        </reference>
239
                     </or>
240
                  </not>
241
               </visibleWhen>
242
            </command>
243
            <command
244
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
245
                  label="Synonym"
246
                  style="push">
247
               <visibleWhen>
248
                  <not>
249
                     <or>
250
                        <reference
251
                              definitionId="isAcceptedTaxon">
252
                        </reference>
253
                        <reference
254
                              definitionId="isSynonym">
255
                        </reference>
256
                     </or>
257
                  </not>
258
               </visibleWhen>
259
            </command>
260
            <command
261
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
262
                  label="Misapplication"
263
                  style="push">
264
               <visibleWhen>
265
                  <not>
266
                     <or>
267
                        <reference
268
                              definitionId="isAcceptedTaxon">
269
                        </reference>
270
                        <reference
271
                              definitionId="isMisapplication">
272
                        </reference>
273
                     </or>
274
                  </not>
275
               </visibleWhen>
276
            </command>
277
         </menu>
278
         <separator
279
               name="taxeditor-editor.separator1"
280
               visible="true">
281
         </separator>
282
         <command
283
               commandId="org.eclipse.ui.edit.delete"
284
               label="Delete"
285
               style="push">
286
            <visibleWhen>
287
               <or>
288
                  <reference
289
                        definitionId="isSynonym">
290
                  </reference>
291
                  <reference
292
                        definitionId="isMisapplication">
293
                  </reference>
294
                  <reference
295
                        definitionId="isConceptRelation">
296
                  </reference>
297
               </or>
298
            </visibleWhen>
299
         </command>
300
         <command
301
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
302
               label="Delete All Empty Names"
303
               style="push">
304
            <visibleWhen>
305
               <reference
306
                     definitionId="hasEmptyNames">
307
               </reference>
308
            </visibleWhen>
309
         </command>
310
         <separator
311
               name="taxeditor-editor.separator2"
312
               visible="true">
313
         </separator>
314
         <dynamic
315
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
316
               id="taxeditor-editor.dynamic.setBasionym">
317
            <visibleWhen>
318
               <or>
319
                  <reference
320
                        definitionId="isAcceptedTaxon">
321
                  </reference>
322
                  <reference
323
                        definitionId="isSynonym">
324
                  </reference>
325
               </or>
326
            </visibleWhen>
327
         </dynamic>
328
         <command
329
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
330
               label="Swap Synonym With Accepted"
331
               style="push">
332
            <visibleWhen>
333
               <reference
334
                     definitionId="isSynonym">
335
               </reference>
336
            </visibleWhen>
337
         </command>
338
         <separator
339
               name="taxeditor-editor.separator3"
340
               visible="true">
341
         </separator>
342
         <command
343
               commandId="org.eclipse.ui.views.showView"
344
               label="Show Details"
345
               style="push">
346
            <parameter
347
                  name="org.eclipse.ui.views.showView.viewId"
348
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
349
            </parameter>
350
         </command>
351
         <separator
352
               name="taxeditor-editor.separator4"
353
               visible="true">
354
         </separator>
355
         <command
356
               commandId="org.eclipse.ui.file.save"
357
               label="Save"
358
               style="push">
359
         </command>
360
      </menuContribution>
361
      <menuContribution
362
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
363
         <command
364
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
365
               label="New Node"
366
               style="push">
367
         </command>
368
         <separator
369
               name="taxeditor-editor.separator1"
370
               visible="true">
371
         </separator>
372
         <command
373
               commandId="org.eclipse.ui.edit.delete"
374
               label="Delete"
375
               style="push">
376
         </command>
377
         <separator
378
               name="taxeditor-editor.separator2"
379
               visible="true">
380
         </separator>
381
         <command
382
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
383
               label="Apply Layout"
384
               style="push">
385
         </command>
386
         <separator
387
               name="taxeditor-editor.separator3"
388
               visible="true">
389
         </separator>
390
      </menuContribution>
391
      <menuContribution
392
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
393
         <command
394
               commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
395
               label="New Descriptive Data"
396
               style="push">
397
         </command>
398
         <separator
399
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
400
               visible="true">
401
         </separator>
402
         <menu
403
               label="New">
404
            <dynamic
405
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
406
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
407
            </dynamic>
408
            <visibleWhen
409
                  checkEnabled="true">
410
               <or>
411
                  <reference
412
                        definitionId="isDescription">
413
                  </reference>
414
                  <reference
415
                        definitionId="isDescriptionElement">
416
                  </reference>
417
                  <reference
418
                        definitionId="isFeatureNodeContainer">
419
                  </reference>
420
               </or>
421
            </visibleWhen>
422
         </menu>
423
         <separator
424
               name="taxeditor-editor.separator1"
425
               visible="true">
426
         </separator>
427
         <command
428
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
429
               label="Move Elements"
430
               style="push">
431
            <visibleWhen
432
                  checkEnabled="true">
433
               <reference
434
                     definitionId="isDescriptionElement">
435
               </reference>
436
            </visibleWhen>
437
         </command>
438
         <separator
439
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
440
               visible="true">
441
         </separator>
442
         <command
443
               commandId="org.eclipse.ui.edit.delete"
444
               label="Delete"
445
               style="push">
446
         </command>
447
         <separator
448
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
449
               visible="true">
450
         </separator>
451
         <command
452
               commandId="org.eclipse.ui.file.save"
453
               label="Save"
454
               style="push">
455
         </command>
456
      </menuContribution>
457
      <menuContribution
458
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
459
         <command
460
               commandId="taxeditor-editor.command.newimagegallery"
461
               label="New Image Gallery"
462
               style="push">
463
         </command>
464
         <separator
465
               name="taxeditor-editor.separator1"
466
               visible="true">
467
         </separator>
468
         <command
469
               commandId="taxeditor-editor.newimage"
470
               label="New Image"
471
               style="push">
472
            <visibleWhen>
473
               <reference
474
                     definitionId="isImageGallery">
475
               </reference>
476
            </visibleWhen>
477
         </command>
478
         <command
479
               commandId="taxeditor-editor.command.moveimgdown"
480
               label="Move Image Up In List"
481
               style="push">
482
            <visibleWhen>
483
               <reference
484
                     definitionId="isMedia">
485
               </reference>
486
            </visibleWhen>
487
         </command>
488
         <command
489
               commandId="taxeditor-editor.command.moveimgup"
490
               label="Move Image Down In List"
491
               style="push">
492
            <visibleWhen>
493
               <reference
494
                     definitionId="isMedia">
495
               </reference>
496
            </visibleWhen>
497
         </command>
498
         <separator
499
               name="taxeditor-editor.separator2"
500
               visible="true">
501
         </separator>
502
         <command
503
               commandId="org.eclipse.ui.edit.delete"
504
               label="Delete"
505
               style="push">
506
         </command>
507
         <command
508
               commandId="org.eclipse.ui.file.save"
509
               label="Save"
510
               style="push">
511
         </command>
512
      </menuContribution>
513
      <menuContribution
514
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
515
         <menu
516
               label="New">
517
            <dynamic
518
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
519
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
520
            </dynamic>
521
         </menu>
522
         <command
523
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
524
               label="Open Related Concept"
525
               style="push">
526
         </command>
527
         <separator
528
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
529
               visible="true">
530
         </separator>
531
         <command
532
               commandId="org.eclipse.ui.edit.delete"
533
               label="Delete"
534
               style="push">
535
         </command>
536
      </menuContribution>
537
      <menuContribution
538
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
539
         <command
540
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
541
               label="New"
542
               style="push">
543
         </command>
544
         <command
545
               commandId="org.eclipse.ui.edit.delete"
546
               label="Delete"
547
               style="push">
548
         </command>
549
      </menuContribution>
550
   </extension>
551
   <extension
552
         point="org.eclipse.ui.handlers">
553
      <handler
554
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
555
            commandId="org.eclipse.ui.window.newEditor">
556
         <activeWhen>
557
            <not>
558
               <instanceof
559
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
560
               </instanceof>
561
            </not>
562
         </activeWhen>
563
         <enabledWhen>
564
            <count
565
                  value="-1">
566
            </count>
567
         </enabledWhen>
568
      </handler>
569
      <handler
570
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
571
            commandId="org.eclipse.ui.edit.delete">
572
         <activeWhen>
573
            <and>
574
               <reference
575
                     definitionId="isTaxonBase">
576
               </reference>
577
               <not>
578
                  <reference
579
                        definitionId="isAcceptedTaxon">
580
                  </reference>
581
               </not>
582
            </and>
583
         </activeWhen>
584
      </handler>
585
      <handler
586
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
587
            commandId="org.eclipse.ui.edit.delete">
588
          <activeWhen>
589
             <with
590
                   variable="activePartId">
591
                <or>
592
                   <equals
593
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
594
                   </equals>
595
                   <equals
596
                         value="eu.etaxonomy.taxeditor.editor.view.media">
597
                   </equals>
598
                </or>
599
             </with>
600
          </activeWhen>
601
      </handler>
602
      <handler
603
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
604
            commandId="org.eclipse.ui.edit.delete">
605
         <activeWhen>
606
            <with
607
                  variable="activePartId">
608
               <equals
609
                     value="eu.etaxonomy.taxeditor.editor.key">
610
               </equals>
611
            </with>
612
         </activeWhen>
613
      </handler>
614
      <handler
615
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
616
            commandId="org.eclipse.ui.edit.delete">
617
         <activeWhen>
618
            <with
619
                  variable="activePartId">
620
               <equals
621
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
622
               </equals>
623
            </with>
624
         </activeWhen>
625
      </handler>
626
   </extension>
627
   <extension
628
         name="Name Commands"
629
         point="org.eclipse.ui.commands">
630
      <category
631
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
632
            name="-- Name Editor">
633
      </category>
634
      <command
635
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
636
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
637
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
638
            name="Open Parent">
639
      </command>
640
      <command
641
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
642
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
643
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
644
            name="Create Homotypic Synonym">
645
      </command>
646
      <command
647
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
648
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
649
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
650
            name="Create Heterotypic Synonym">
651
      </command>
652
      <command
653
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
654
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
655
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
656
            name="Create Synonym In Homotypical Group">
657
      </command>
658
      <command
659
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
660
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
661
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
662
            name="Create Misapplication">
663
      </command>
664
      <!--command
665
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
666
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
667
            name="Move Taxon">
668
      </command-->
669
      <command
670
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
671
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
672
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
673
            name="Change To Synonym">
674
      </command>
675
      <command
676
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
677
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
678
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
679
            name="Change To Accepted Taxon">
680
      </command>
681
      <command
682
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
683
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
684
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
685
            name="Change To Misapplication">
686
      </command>
687
      <command
688
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
689
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
690
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
691
            name="Swap Synonym With Accepted">
692
      </command>
693
      <command
694
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
695
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
696
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
697
            name="Set Basionym / Original Combination">
698
      </command>
699
      <command
700
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
701
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
702
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
703
            name="Remove Basionym / Original Combination">
704
      </command>
705
      <command
706
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
707
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
708
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
709
            name="Change Accepted Taxon to Synonym">
710
      </command>
711
      <command
712
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
713
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
714
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
715
            name="Delete All Empty Names">
716
      </command>
717
      <category
718
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
719
            name="-- Descriptive">
720
      </category>
721
      <command
722
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
723
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
724
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
725
            name="Create Description Element">
726
      </command>
727
      <command
728
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
729
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
730
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
731
            name="New Description">
732
      </command>
733
      <command
734
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
735
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
736
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
737
            name="Move Description Elements">
738
      </command>
739
      <category
740
            id="eu.etaxonomy.taxeditor.editor.media.category"
741
            name="-- Media">
742
      </category>
743
      <command
744
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
745
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
746
            id="taxeditor-editor.command.moveimgdown"
747
            name="Move Image Down In List">
748
      </command>
749
      <command
750
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
751
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
752
            id="taxeditor-editor.command.newimagegallery"
753
            name="New Image Gallery">
754
      </command>
755
      <command
756
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
757
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
758
            id="taxeditor-editor.newimage"
759
            name="New Image">
760
      </command>
761
      <command
762
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
763
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
764
            id="taxeditor-editor.command.moveimgup"
765
            name="Move Image Up In List">
766
      </command>
767
      <category
768
            id="eu.etaxonomy.taxeditor.editor.new.category"
769
            name="-- New Entity">
770
      </category>
771
      <command
772
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
773
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
774
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
775
            name="New Reference">
776
      </command>
777
      <command
778
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
779
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
780
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
781
            name="New Name">
782
      </command>
783
      <command
784
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
785
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
786
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
787
            name="New Team">
788
      </command>
789
      <command
790
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
791
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
792
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
793
            name="New Person">
794
      </command>
795
      <command
796
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
797
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
798
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
799
            name="New Specimen">
800
      </command>
801
      <category
802
            id="eu.etaxonomy.taxeditor.editor.key.category"
803
            name="-- Polytomous Keys">
804
      </category>
805
      <command
806
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
807
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
808
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
809
            name="New Node">
810
      </command>
811
      <command
812
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
813
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
814
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
815
            name="Apply Layout">
816
      </command>
817
      <category
818
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
819
            name="-- Concept Relations">
820
      </category>
821
      <command
822
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
823
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
824
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
825
            name="Create Concept Relation">
826
      </command>
827
      <command
828
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
829
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
830
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
831
            name="Open Related Concept">
832
      </command>
833
   </extension>
834
   <extension
835
         point="org.eclipse.core.expressions.definitions">
836
      <definition
837
            id="nameEditorActive">
838
         <with
839
               variable="activeEditorId">
840
            <equals
841
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
842
            </equals>
843
         </with>
844
      </definition>
845
      <definition
846
            id="isAcceptedTaxon">
847
         <with
848
               variable="selection">
849
            <test
850
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
851
            </test>
852
         </with>
853
      </definition>
854
      <definition
855
            id="isSynonym">
856
         <with
857
               variable="selection">
858
            <test
859
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
860
            </test>
861
         </with>
862
      </definition>
863
      <definition
864
            id="isMisapplication">
865
         <with
866
               variable="selection">
867
            <test
868
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
869
            </test>
870
         </with>
871
      </definition>
872
      <definition
873
            id="isTaxonBase">
874
         <with
875
               variable="selection">
876
            <test
877
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
878
            </test>
879
         </with>
880
      </definition>
881
      <definition
882
            id="hasEmptyNames">
883
         <with
884
               variable="selection">
885
            <test
886
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
887
            </test>
888
         </with>
889
      </definition>
890
      <definition
891
            id="isDeletable">
892
         <with
893
               variable="selection">
894
            <test
895
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
896
            </test>
897
         </with>
898
      </definition>
899
      <definition
900
            id="isMedia">
901
         <with
902
               variable="selection">
903
            <test
904
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
905
            </test>
906
         </with>
907
      </definition>
908
      <definition
909
            id="isDescription">
910
         <with
911
               variable="selection">
912
            <test
913
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
914
            </test>
915
         </with>
916
      </definition>
917
      <definition
918
            id="isDescriptionElement">
919
         <with
920
               variable="selection">
921
            <test
922
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
923
            </test>
924
         </with>
925
      </definition>
926
      <definition
927
            id="isFeatureNodeContainer">
928
         <with
929
               variable="selection">
930
            <test
931
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
932
            </test>
933
         </with>
934
      </definition>
935
      <definition
936
            id="isImageGallery">
937
         <with
938
               variable="selection">
939
            <test
940
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
941
            </test>
942
         </with>
943
      </definition>
944
   </extension>
945
   <extension
946
         point="org.eclipse.core.expressions.propertyTesters">
947
      <propertyTester
948
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
949
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
950
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
951
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames"
952
            type="org.eclipse.jface.viewers.IStructuredSelection">
953
      </propertyTester>
954
      <propertyTester
955
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
956
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
957
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
958
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
959
            type="org.eclipse.jface.viewers.TreeSelection">
960
      </propertyTester>
961
   </extension>
962
   <extension
963
         point="org.eclipse.ui.bindings">   
964
      <scheme
965
            description="The default key binding scheme for the Taxonomic Editor"
966
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
967
            name="Taxonomic Editor Default Key Bindings">
968
      </scheme>
969
   </extension>
970
</plugin>
(6-6/7)