Project

General

Profile

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