Project

General

Profile

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