Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.editor / plugin.xml @ ba34fb74

History | View | Annotate | Download (46.9 KB)

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