Project

General

Profile

Download (40.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="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
         <command
478
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
479
               label="New Use Record"
480
               style="push">
481
            <visibleWhen
482
                  checkEnabled="true">
483
               <or>
484
                  <reference
485
                        definitionId="isDescription">
486
                  </reference>
487
                  <reference
488
                        definitionId="isDescriptionElement">
489
                  </reference>
490
                  <reference
491
                        definitionId="isFeatureNodeContainer">
492
                  </reference>
493
               </or>
494
            </visibleWhen>
495
         </command>
496
         <separator
497
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
498
               visible="true">
499
         </separator>
500
         <separator
501
               name="taxeditor-editor.separator1"
502
               visible="true">
503
         </separator>
504
         <separator
505
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
506
               visible="true">
507
         </separator>
508
         <command
509
               commandId="org.eclipse.ui.edit.delete"
510
               label="Delete"
511
               style="push">
512
         </command>
513
         <separator
514
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
515
               visible="true">
516
         </separator>
517
         <command
518
               commandId="org.eclipse.ui.file.save"
519
               label="Save"
520
               style="push">
521
         </command>
522
      </menuContribution>
523
      
524
      
525
      
526
      
527
      
528
      <menuContribution
529
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
530
         <command
531
               commandId="taxeditor-editor.command.newimagegallery"
532
               label="New Image Gallery"
533
               style="push">
534
         </command>
535
         <separator
536
               name="taxeditor-editor.separator1"
537
               visible="true">
538
         </separator>
539
         <command
540
               commandId="taxeditor-editor.newimage"
541
               label="New Image"
542
               style="push">
543
            <visibleWhen>
544
               <reference
545
                     definitionId="isImageGallery">
546
               </reference>
547
            </visibleWhen>
548
         </command>
549
         <command
550
               commandId="taxeditor-editor.command.moveimgdown"
551
               label="Move Image Up In List"
552
               style="push">
553
            <visibleWhen>
554
               <reference
555
                     definitionId="isMedia">
556
               </reference>
557
            </visibleWhen>
558
         </command>
559
         <command
560
               commandId="taxeditor-editor.command.moveimgup"
561
               label="Move Image Down In List"
562
               style="push">
563
            <visibleWhen>
564
               <reference
565
                     definitionId="isMedia">
566
               </reference>
567
            </visibleWhen>
568
         </command>
569
         <separator
570
               name="taxeditor-editor.separator2"
571
               visible="true">
572
         </separator>
573
         <command
574
               commandId="org.eclipse.ui.edit.delete"
575
               label="Delete"
576
               style="push">
577
         </command>
578
         <command
579
               commandId="org.eclipse.ui.file.save"
580
               label="Save"
581
               style="push">
582
         </command>
583
      </menuContribution>
584
      <menuContribution
585
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
586
         <menu
587
               label="New">
588
            <dynamic
589
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
590
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
591
            </dynamic>
592
         </menu>
593
         <command
594
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
595
               label="Open Related Concept"
596
               style="push">
597
         </command>
598
         <separator
599
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
600
               visible="true">
601
         </separator>
602
         <command
603
               commandId="org.eclipse.ui.edit.delete"
604
               label="Delete"
605
               style="push">
606
         </command>
607
      </menuContribution>
608
      <menuContribution
609
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
610
         <command
611
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
612
               label="New"
613
               style="push">
614
         </command>
615
         <command
616
               commandId="org.eclipse.ui.edit.delete"
617
               label="Delete"
618
               style="push">
619
         </command>
620
      </menuContribution>
621
   </extension>
622
   <extension
623
         point="org.eclipse.ui.handlers">
624
      <handler
625
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
626
            commandId="org.eclipse.ui.window.newEditor">
627
         <activeWhen>
628
            <not>
629
               <instanceof
630
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
631
               </instanceof>
632
            </not>
633
         </activeWhen>
634
         <enabledWhen>
635
            <count
636
                  value="-1">
637
            </count>
638
         </enabledWhen>
639
      </handler>
640
      <handler
641
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
642
            commandId="org.eclipse.ui.edit.delete">
643
         <activeWhen>
644
            <and>
645
               <reference
646
                     definitionId="isTaxonBase">
647
               </reference>
648
               <not>
649
                  <reference
650
                        definitionId="isAcceptedTaxon">
651
                  </reference>
652
               </not>
653
            </and>
654
         </activeWhen>
655
      </handler>
656
      <handler
657
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
658
            commandId="org.eclipse.ui.edit.delete">
659
          <activeWhen>
660
             <with
661
                   variable="activePartId">
662
                <or>
663
                   <equals
664
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
665
                   </equals>
666
                   <equals
667
                         value="eu.etaxonomy.taxeditor.editor.view.media">
668
                   </equals>
669
                </or>
670
             </with>
671
          </activeWhen>
672
      </handler>
673
      <handler
674
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
675
            commandId="org.eclipse.ui.edit.delete">
676
         <activeWhen>
677
            <with
678
                  variable="activePartId">
679
               <equals
680
                     value="eu.etaxonomy.taxeditor.editor.key">
681
               </equals>
682
            </with>
683
         </activeWhen>
684
      </handler>
685
      <handler
686
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
687
            commandId="org.eclipse.ui.edit.delete">
688
         <activeWhen>
689
            <with
690
                  variable="activePartId">
691
               <equals
692
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
693
               </equals>
694
            </with>
695
         </activeWhen>
696
      </handler>
697
      <handler
698
            class="eu.etaxonomy.taxeditor.editor.view.uses.handler.DeleteUseHandler"
699
            commandId="org.eclipse.ui.edit.delete">
700
         <activeWhen>
701
            <with
702
                  variable="activePartId">
703
               <equals
704
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
705
               </equals>
706
            </with>
707
         </activeWhen>
708
      </handler>
709
   </extension>
710
   <extension
711
         id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
712
         name="Name Commands"
713
         point="org.eclipse.ui.commands">
714
      <category
715
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
716
            name="-- Name Editor">
717
      </category>
718
      <command
719
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
720
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
721
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
722
            name="Open Parent">
723
      </command>
724
      <command
725
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
726
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
727
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
728
            name="Create Homotypic Synonym">
729
      </command>
730
      <command
731
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
732
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
733
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
734
            name="Create Heterotypic Synonym">
735
      </command>
736
      <command
737
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
738
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
739
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
740
            name="Create Synonym In Homotypical Group">
741
      </command>
742
      <command
743
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
744
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
745
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
746
            name="Create Misapplication">
747
      </command>
748
      <!--command
749
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
750
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
751
            name="Move Taxon">
752
      </command-->
753
      <command
754
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
755
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
756
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
757
            name="Change To Synonym">
758
      </command>
759
      <command
760
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
761
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
762
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
763
            name="Change To Accepted Taxon">
764
      </command>
765
      <command
766
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
767
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
768
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
769
            name="Change To Misapplication">
770
      </command>
771
      <command
772
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
773
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
774
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
775
            name="Swap Synonym With Accepted">
776
      </command>
777
      <command
778
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
779
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
780
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
781
            name="Set Basionym / Original Combination">
782
      </command>
783
      <command
784
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
785
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
786
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
787
            name="Remove Basionym / Original Combination">
788
      </command>
789
      <command
790
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
791
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
792
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
793
            name="Change Accepted Taxon to Synonym">
794
      </command>
795
      <command
796
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
797
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
798
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
799
            name="Delete All Empty Names">
800
      </command>
801
      <category
802
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
803
            name="-- Descriptive">
804
      </category>
805
      <command
806
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
807
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
808
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
809
            name="Create Description Element">
810
      </command>
811
      <command
812
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
813
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
814
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
815
            name="New Description">
816
      </command>
817
      <command
818
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
819
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
820
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
821
            name="Move Description Elements">
822
      </command>
823
      <category
824
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
825
            name="-- New Uses">
826
      </category>
827
      <command
828
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
829
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
830
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
831
            name="New Use">
832
      </command>
833
      <command
834
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
835
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
836
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
837
            name="New Use Record">
838
      </command>
839
      <category
840
            id="eu.etaxonomy.taxeditor.editor.media.category"
841
            name="-- Media">
842
      </category>
843
      <command
844
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
845
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
846
            id="taxeditor-editor.command.moveimgdown"
847
            name="Move Image Down In List">
848
      </command>
849
      <command
850
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
851
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
852
            id="taxeditor-editor.command.newimagegallery"
853
            name="New Image Gallery">
854
      </command>
855
      <command
856
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
857
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
858
            id="taxeditor-editor.newimage"
859
            name="New Image">
860
      </command>
861
      <command
862
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
863
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
864
            id="taxeditor-editor.command.moveimgup"
865
            name="Move Image Up In List">
866
      </command>
867
      <category
868
            id="eu.etaxonomy.taxeditor.editor.new.category"
869
            name="-- New Entity">
870
      </category>
871
      <command
872
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
873
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
874
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
875
            name="New Reference">
876
      </command>
877
      <command
878
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
879
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
880
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
881
            name="New Name">
882
      </command>
883
      <command
884
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
885
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
886
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
887
            name="New Team">
888
      </command>
889
      <command
890
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
891
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
892
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
893
            name="New Person">
894
      </command>
895
      <command
896
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
897
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
898
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
899
            name="New Specimen">
900
      </command>
901
      <category
902
            id="eu.etaxonomy.taxeditor.editor.key.category"
903
            name="-- Polytomous Keys">
904
      </category>
905
      <command
906
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
907
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateNodeHandler"
908
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new"
909
            name="New Node">
910
      </command>
911
      <command
912
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
913
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
914
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
915
            name="Apply Layout">
916
      </command>
917
      <category
918
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
919
            name="-- Concept Relations">
920
      </category>
921
      <command
922
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
923
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
924
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
925
            name="Create Concept Relation">
926
      </command>
927
      <command
928
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
929
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
930
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
931
            name="Open Related Concept">
932
      </command>
933
   </extension>
934
   <extension
935
         point="org.eclipse.core.expressions.definitions">
936
      <definition
937
            id="nameEditorActive">
938
         <with
939
               variable="activeEditorId">
940
            <equals
941
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
942
            </equals>
943
         </with>
944
      </definition>
945
      <definition
946
            id="isAcceptedTaxon">
947
         <with
948
               variable="selection">
949
            <test
950
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
951
            </test>
952
         </with>
953
      </definition>
954
      <definition
955
            id="isSynonym">
956
         <with
957
               variable="selection">
958
            <test
959
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
960
            </test>
961
         </with>
962
      </definition>
963
      <definition
964
            id="isMisapplication">
965
         <with
966
               variable="selection">
967
            <test
968
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
969
            </test>
970
         </with>
971
      </definition>
972
      <definition
973
            id="isTaxonBase">
974
         <with
975
               variable="selection">
976
            <test
977
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
978
            </test>
979
         </with>
980
      </definition>
981
      <definition
982
            id="hasEmptyNames">
983
         <with
984
               variable="selection">
985
            <test
986
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
987
            </test>
988
         </with>
989
      </definition>
990
      <definition
991
            id="isDeletable">
992
         <with
993
               variable="selection">
994
            <test
995
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
996
            </test>
997
         </with>
998
      </definition>
999
      <definition
1000
            id="isMedia">
1001
         <with
1002
               variable="selection">
1003
            <test
1004
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1005
            </test>
1006
         </with>
1007
      </definition>
1008
      <definition
1009
            id="isDescription">
1010
         <with
1011
               variable="selection">
1012
            <test
1013
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1014
            </test>
1015
         </with>
1016
      </definition>
1017
      <definition
1018
            id="isDescriptionElement">
1019
         <with
1020
               variable="selection">
1021
            <test
1022
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1023
            </test>
1024
         </with>
1025
      </definition>
1026
      <definition
1027
            id="isFeatureNodeContainer">
1028
         <with
1029
               variable="selection">
1030
            <test
1031
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1032
            </test>
1033
         </with>
1034
      </definition>
1035
      <definition
1036
            id="isImageGallery">
1037
         <with
1038
               variable="selection">
1039
            <test
1040
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1041
            </test>
1042
         </with>
1043
      </definition>
1044
      <definition
1045
            id="isAcceptedAndHasNoHomotypicSynonyms">
1046
         <with
1047
               variable="selection">
1048
            <test
1049
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1050
            </test>
1051
         </with>
1052
      </definition>
1053
   </extension>
1054
   <extension
1055
         point="org.eclipse.core.expressions.propertyTesters">
1056
      <propertyTester
1057
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1058
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1059
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1060
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1061
            type="org.eclipse.jface.viewers.IStructuredSelection">
1062
      </propertyTester>
1063
      <propertyTester
1064
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1065
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1066
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1067
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery"
1068
            type="org.eclipse.jface.viewers.TreeSelection">
1069
      </propertyTester>
1070
   </extension>
1071
   <extension
1072
         point="org.eclipse.ui.bindings">   
1073
      <scheme
1074
            description="The default key binding scheme for the Taxonomic Editor"
1075
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1076
            name="Taxonomic Editor Default Key Bindings">
1077
      </scheme>
1078
   </extension>
1079
</plugin>
(6-6/7)