Project

General

Profile

Download (53.4 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
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="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
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="%editor.name.2">
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="%editor.name.3">
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="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63
            default="false"
64
            icon="icons/derivate_view-16x16-32.png"
65
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66
            name="%editor.name.5">
67
      </editor>
68
      <editor
69
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70
            default="false"
71
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72
            name="%editor.name.6">
73
      </editor>
74
      <editor
75
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76
            default="false"
77
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78
            name="%editor.name.7">
79
      </editor>
80
         <editor
81
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82
            icon="icons/address-book-new.png"
83
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84
            name="%editor.name.8">
85
      </editor>
86
   </extension>
87
      <extension
88
            point="org.eclipse.ui.views">
89
         <view
90
               allowMultiple="false"
91
               category="eu.etaxonomy.taxeditor.editor.category"
92
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
93
               icon="icons/address-book-new.png"
94
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
95
               name="%view.name"
96
               restorable="true">
97
         </view>
98
          <view
99
                allowMultiple="false"
100
                category="eu.etaxonomy.taxeditor.editor.category"
101
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
102
                icon="icons/leaf.png"
103
                id="eu.etaxonomy.taxeditor.editor.view.uses"
104
                name="%view.name.0"
105
                restorable="true">
106
         </view>
107
         <view
108
               allowMultiple="false"
109
               category="eu.etaxonomy.taxeditor.editor.category"
110
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
111
               icon="icons/camera-photo.png"
112
               id="eu.etaxonomy.taxeditor.editor.view.media"
113
               name="%view.name.1"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
119
               id="eu.etaxonomy.taxeditor.editor.view.concept"
120
               name="%view.name.2"
121
               restorable="true">
122
         </view>
123
         <view
124
               category="eu.etaxonomy.taxeditor.editor.category"
125
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
126
               icon="icons/address-book-new.png"
127
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
128
               name="%view.name.3"
129
               restorable="true">
130
         </view>
131
         <category
132
               id="eu.etaxonomy.taxeditor.editor.category"
133
               name="%category.name">
134
         </category>
135
         <view
136
               allowMultiple="true"
137
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
138
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
139
               name="%view.name.4">
140
         </view>
141
         <view
142
               allowMultiple="true"
143
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
144
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
145
               name="%view.name.5">
146
         </view>
147
      </extension>
148
   <extension
149
         point="org.eclipse.ui.elementFactories">
150
      <factory
151
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
152
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
153
      </factory>
154
   </extension>
155
   <extension
156
         point="org.eclipse.ui.menus">
157
      <menuContribution
158
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
159
         <command
160
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
161
               label="%command.label.46"
162
               style="push">
163
         </command>
164
         <command
165
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
166
               label="%command.label.47"
167
               style="push">
168
         </command>
169
         <command
170
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
171
               label="%command.label.1"
172
               style="push">
173
         </command>
174
         <command
175
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
176
               label="%command.label.2"
177
               style="push">
178
         </command>
179
         <separator
180
               name="eu.etaxonomy.navigation.menu.new.separator2"
181
               visible="true">
182
         </separator>
183
         <command
184
               commandId="eu.etaxonomy.taxeditor.editor.command.new.specimen"
185
               label="%command.label.3"
186
               style="push">
187
         </command>
188
         <separator
189
               name="eu.etaxonomy.navigation.menu.new.separator3"
190
               visible="true">
191
         </separator>
192
         <command
193
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
194
               label="%command.label.48"
195
               style="push">
196
         </command>
197
      </menuContribution>
198
      <menuContribution
199
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
200
         <separator
201
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
202
               visible="true">
203
         </separator>
204
         <command
205
               commandId="org.eclipse.ui.views.showView"
206
               label="%command.label.4"
207
               style="push">
208
            <parameter
209
                  name="org.eclipse.ui.views.showView.viewId"
210
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
211
            </parameter>
212
         </command>
213
         <command
214
               commandId="org.eclipse.ui.views.showView"
215
               label="%command.label.5"
216
               style="push">
217
            <parameter
218
                  name="org.eclipse.ui.views.showView.viewId"
219
                  value="eu.etaxonomy.taxeditor.editor.view.media">
220
            </parameter>
221
         </command>
222
         <command
223
               commandId="org.eclipse.ui.views.showView"
224
               label="%command.label.6"
225
               style="push">
226
            <parameter
227
                  name="org.eclipse.ui.views.showView.viewId"
228
                  value="eu.etaxonomy.taxeditor.editor.view.concept">
229
            </parameter>
230
         </command>
231
         <command
232
               commandId="org.eclipse.ui.views.showView"
233
               label="%command.label.7"
234
               style="push">
235
            <parameter
236
                  name="org.eclipse.ui.views.showView.viewId"
237
                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
238
            </parameter>
239
            <visibleWhen
240
                  checkEnabled="false">
241
               <reference
242
                     definitionId="isShowExperimentalFeatures">
243
               </reference>
244
            </visibleWhen>
245
         </command>
246
      </menuContribution>
247
      <menuContribution
248
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
249
         <command
250
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
251
               label="%command.label.8"
252
               style="push">
253
         </command>
254
      </menuContribution>
255
      <menuContribution
256
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
257
         <menu
258
               label="%menu.label">
259
            <command
260
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
261
                  label="%command.label.9"
262
                  style="push">
263
               <visibleWhen>
264
                  <reference
265
                        definitionId="isAcceptedTaxon">
266
                  </reference>
267
               </visibleWhen>
268
            </command>
269
            <command
270
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
271
                  label="%command.label.10"
272
                  style="push">
273
               <visibleWhen>
274
                  <reference
275
                        definitionId="isAcceptedTaxon">
276
                  </reference>
277
               </visibleWhen>
278
            </command>
279
            <command
280
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
281
                  label="%command.label.11"
282
                  style="push">
283
               <visibleWhen>
284
                  <reference
285
                        definitionId="isSynonym">
286
                  </reference>
287
               </visibleWhen>
288
            </command>
289
            <separator
290
                  name="separator1"
291
                  visible="true">
292
            </separator>
293
           <command
294
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
295
                  label="%command.label.49"
296
                  style="push">
297
               <visibleWhen>
298
                  <or>
299
                     <reference
300
                           definitionId="isAcceptedTaxon">
301
                     </reference>
302
                     <reference
303
                           definitionId="isMisapplication">
304
                     </reference>
305
                  </or>
306
               </visibleWhen>
307
            </command>
308
         </menu>
309
        <!--<command
310
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
311
               label="Change Accepted Taxon to Synonym"
312
               style="push">
313
            <visibleWhen
314
                  checkEnabled="true">
315
               <reference
316
                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
317
               </reference>
318
            </visibleWhen
319
                <visibleWhen>                  
320
                     <or>
321
                        <reference
322
                              definitionId="isAcceptedTaxon">
323
                        </reference>
324
                        <reference
325
                              definitionId="isMisapplication">
326
                        </reference>
327
                     </or>                  
328
               </visibleWhen>
329
         </command>-->
330
         <menu
331
               label="%menu.label.0">
332
            <command
333
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
334
                  label="%command.label.12"
335
                  style="push">
336
               <visibleWhen>
337
                  <not>
338
                     <or>
339
                        <reference
340
                              definitionId="isAcceptedTaxon">
341
                        </reference>
342
                        <reference
343
                              definitionId="isMisapplication">
344
                        </reference>
345
                     </or>
346
                  </not>
347
               </visibleWhen>
348
            </command>
349
            <command
350
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
351
                  label="%command.label.13"
352
                  style="push">
353
               <visibleWhen>
354
                  <not>
355
                     <or>
356
                        <reference
357
                              definitionId="isAcceptedTaxon">
358
                        </reference>
359
                        <reference
360
                              definitionId="isSynonym">
361
                        </reference>
362
                     </or>
363
                  </not>
364
               </visibleWhen>
365
            </command>
366
            <command
367
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
368
                  label="%command.label.14"
369
                  style="push">
370
               <visibleWhen>
371
                  <not>
372
                     <or>
373
                        <reference
374
                              definitionId="isAcceptedTaxon">
375
                        </reference>
376
                        <reference
377
                              definitionId="isMisapplication">
378
                        </reference>
379
                     </or>
380
                  </not>
381
               </visibleWhen>
382
            </command>
383
         </menu>
384
         <separator
385
               name="taxeditor-editor.separator1"
386
               visible="true">
387
         </separator>
388
         <command
389
               commandId="org.eclipse.ui.edit.delete"
390
               label="%command.label.15"
391
               style="push">
392
            <visibleWhen>
393
               <or>
394
                  <reference
395
                        definitionId="isSynonym">
396
                  </reference>
397
                  <reference
398
                        definitionId="isMisapplication">
399
                  </reference>
400
                  <reference
401
                        definitionId="isConceptRelation">
402
                  </reference>
403
               </or>
404
            </visibleWhen>
405
         </command>
406
         <command
407
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
408
               label="%command.label.16"
409
               style="push">
410
            <visibleWhen>
411
               <reference
412
                     definitionId="hasEmptyNames">
413
               </reference>
414
            </visibleWhen>
415
         </command>
416
         <separator
417
               name="taxeditor-editor.separator2"
418
               visible="true">
419
         </separator>
420
         <dynamic
421
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
422
               id="taxeditor-editor.dynamic.setBasionym">
423
            <visibleWhen>
424
               <or>
425
                  <reference
426
                        definitionId="isAcceptedTaxon">
427
                  </reference>
428
                  <reference
429
                        definitionId="isSynonym">
430
                  </reference>
431
               </or>
432
            </visibleWhen>
433
         </dynamic>
434
         <command
435
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
436
               label="%command.label.17"
437
               style="push">
438
            <visibleWhen>
439
               <reference
440
                     definitionId="isSynonym">
441
               </reference>
442
            </visibleWhen>
443
         </command>
444
         <separator
445
               name="taxeditor-editor.separator3"
446
               visible="true">
447
         </separator>
448
         <command
449
               commandId="org.eclipse.ui.views.showView"
450
               label="%command.label.18"
451
               style="push">
452
            <parameter
453
                  name="org.eclipse.ui.views.showView.viewId"
454
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
455
            </parameter>
456
         </command>
457
         <separator
458
               name="taxeditor-editor.separator4"
459
               visible="true">
460
         </separator>
461
         <command
462
               commandId="org.eclipse.ui.file.save"
463
               label="%command.label.19"
464
               style="push">
465
         </command>
466
      </menuContribution>
467
      <menuContribution
468
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
469
         <command
470
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
471
               label="%command.label.20"
472
               style="push">
473
         </command>
474
         <separator
475
               name="taxeditor-editor.separator1"
476
               visible="true">
477
         </separator>
478
         <command
479
               commandId="org.eclipse.ui.edit.delete"
480
               label="%command.label.21"
481
               style="push">
482
         </command>
483
         <separator
484
               name="taxeditor-editor.separator2"
485
               visible="true">
486
         </separator>
487
         <command
488
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
489
               label="%command.label.22"
490
               style="push">
491
         </command>
492
         <separator
493
               name="taxeditor-editor.separator3"
494
               visible="true">
495
         </separator>
496
      </menuContribution>
497
      <menuContribution
498
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
499
         <command
500
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
501
               label="%command.label.23"
502
               style="push">
503
         </command>
504
         <command
505
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
506
               label="%command.label.24"
507
               style="push">
508
         </command>
509
         <command
510
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
511
               label="%command.label.25"
512
               style="push">
513
         </command>
514
         <command
515
               commandId="org.eclipse.ui.edit.delete"
516
               label="%command.label.26"
517
               style="push">
518
         </command>
519
      </menuContribution>
520
      <menuContribution
521
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
522
         <command
523
               commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
524
               label="%command.label.27"
525
               style="push">
526
         </command>
527
         <separator
528
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
529
               visible="true">
530
         </separator>
531
         <menu
532
               label="%menu.label.1">
533
            <dynamic
534
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
535
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
536
            </dynamic>
537
            <visibleWhen
538
                  checkEnabled="true">
539
               <or>
540
                  <reference
541
                        definitionId="isDescription">
542
                  </reference>
543
                  <reference
544
                        definitionId="isDescriptionElement">
545
                  </reference>
546
                  <reference
547
                        definitionId="isFeatureNodeContainer">
548
                  </reference>
549
               </or>
550
            </visibleWhen>
551
         </menu>
552
         <separator
553
               name="taxeditor-editor.separator1"
554
               visible="true">
555
         </separator>
556
         <command
557
               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
558
               label="%command.label.28"
559
               style="push">
560
            <visibleWhen
561
                  checkEnabled="true">
562
               <reference
563
                     definitionId="isDescription">
564
               </reference>
565
            </visibleWhen>
566
         </command>
567
         <command
568
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
569
               label="%command.label.29"
570
               style="push">
571
            <visibleWhen
572
                  checkEnabled="true">
573
               <or>
574
                  <reference
575
                        definitionId="isDescriptionElement">
576
                  </reference>
577
                  <reference
578
                        definitionId="isFeatureNodeContainer">
579
                  </reference>
580
               </or>
581
            </visibleWhen>
582
         </command>
583
         <separator
584
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
585
               visible="true">
586
         </separator>
587
         <command
588
               commandId="org.eclipse.ui.edit.delete"
589
               label="%command.label.30"
590
               style="push">
591
         </command>
592
         <separator
593
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
594
               visible="true">
595
         </separator>
596
         <command
597
               commandId="org.eclipse.ui.file.save"
598
               label="%command.label.31"
599
               style="push">
600
         </command>
601
      </menuContribution>
602
      <menuContribution
603
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
604
         <dynamic
605
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
606
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
607
         </dynamic>
608
         <command
609
               commandId="org.eclipse.ui.edit.delete"
610
               label="Delete"
611
               style="push">
612
         </command>
613
      </menuContribution>
614
      <menuContribution
615
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
616
         <dynamic
617
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
618
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
619
         </dynamic>
620
      </menuContribution>
621
      <menuContribution
622
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
623
         <dynamic
624
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
625
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
626
         </dynamic>
627
      </menuContribution>
628
      
629
      
630
      
631
      
632
      <menuContribution
633
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
634
         <command
635
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
636
               label="%command.label.32"
637
               style="push">
638
         </command>
639
         <command
640
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
641
               label="%command.label.33"
642
               style="push">
643
            <visibleWhen
644
                  checkEnabled="true">
645
               <or>
646
                  <reference
647
                        definitionId="isDescription">
648
                  </reference>
649
                  <reference
650
                        definitionId="isDescriptionElement">
651
                  </reference>
652
                  <reference
653
                        definitionId="isFeatureNodeContainer">
654
                  </reference>
655
               </or>
656
            </visibleWhen>
657
         </command>
658
         <command
659
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
660
               label="%command.label.34"
661
               style="push">
662
            <visibleWhen
663
                  checkEnabled="true">
664
               <or>
665
                  <reference
666
                        definitionId="isDescription">
667
                  </reference>
668
                  <reference
669
                        definitionId="isDescriptionElement">
670
                  </reference>
671
                  <reference
672
                        definitionId="isFeatureNodeContainer">
673
                  </reference>
674
               </or>
675
            </visibleWhen>
676
         </command>
677
         <separator
678
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
679
               visible="true">
680
         </separator>
681
         <separator
682
               name="taxeditor-editor.separator1"
683
               visible="true">
684
         </separator>
685
         <separator
686
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
687
               visible="true">
688
         </separator>
689
         <command
690
               commandId="org.eclipse.ui.edit.delete"
691
               label="%command.label.35"
692
               style="push">
693
         </command>
694
         <separator
695
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
696
               visible="true">
697
         </separator>
698
         <command
699
               commandId="org.eclipse.ui.file.save"
700
               label="%command.label.36"
701
               style="push">
702
         </command>
703
      </menuContribution>
704
      
705
      
706
      
707
      
708
      
709
      <menuContribution
710
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
711
         <command
712
               commandId="taxeditor-editor.command.newimagegallery"
713
               label="%command.label.37"
714
               style="push">
715
            <visibleWhen>
716
               <or>
717
                  <reference
718
                        definitionId="isBulkEditor">
719
                  </reference>
720
                  <reference
721
                        definitionId="isTaxonEditor">
722
                  </reference>
723
                  <reference
724
                        definitionId="isDerivateEditor">
725
                  </reference>
726
               </or>
727
            </visibleWhen>
728
         </command>
729
         <separator
730
               name="taxeditor-editor.separator1"
731
               visible="true">
732
         </separator>
733
         <command
734
               commandId="taxeditor-editor.newimage"
735
               label="%command.label.38"
736
               style="push">
737
            <visibleWhen>
738
               <reference
739
                     definitionId="isImageGallery">
740
               </reference>
741
            </visibleWhen>
742
         </command>
743
         <command
744
               commandId="taxeditor-editor.useExistingImage"
745
               label="%command.label.50"
746
               style="push">
747
            <visibleWhen
748
                  checkEnabled="false">
749
               <reference
750
                     definitionId="isImageGallery">
751
               </reference>
752
            </visibleWhen>
753
         </command>
754
         <command
755
               commandId="taxeditor-editor.command.moveimgdown"
756
               label="%command.label.39"
757
               style="push">
758
            <visibleWhen>
759
               <reference
760
                     definitionId="isMedia">
761
               </reference>
762
            </visibleWhen>
763
         </command>
764
         <command
765
               commandId="taxeditor-editor.command.moveimgup"
766
               label="%command.label.40"
767
               style="push">
768
            <visibleWhen>
769
               <reference
770
                     definitionId="isMedia">
771
               </reference>
772
            </visibleWhen>
773
         </command>
774
         <separator
775
               name="taxeditor-editor.separator2"
776
               visible="true">
777
         </separator>
778
         <command
779
               commandId="org.eclipse.ui.edit.delete"
780
               label="%command.label.41"
781
               style="push">
782
         </command>
783
         <command
784
               commandId="org.eclipse.ui.file.save"
785
               label="%command.label.42"
786
               style="push">
787
         </command>
788
      </menuContribution>
789
      <menuContribution
790
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
791
         <menu
792
               label="%menu.label.3">
793
            <dynamic
794
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
795
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
796
            </dynamic>
797
         </menu>
798
         <command
799
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
800
               label="%command.label.43"
801
               style="push">
802
         </command>
803
         <separator
804
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
805
               visible="true">
806
         </separator>
807
         <command
808
               commandId="org.eclipse.ui.edit.delete"
809
               label="%command.label.44"
810
               style="push">
811
         </command>
812
      </menuContribution>
813
      <menuContribution
814
            allPopups="false"
815
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
816
         <command
817
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
818
               label="%command.label.45"
819
               style="push">
820
            <visibleWhen>
821
               <reference
822
                     definitionId="isGroup">
823
               </reference>
824
            </visibleWhen>
825
         </command>
826
      </menuContribution>
827
   </extension>
828
   <extension
829
         point="org.eclipse.ui.handlers">
830
      <handler
831
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
832
            commandId="org.eclipse.ui.window.newEditor">
833
         <activeWhen>
834
            <not>
835
               <instanceof
836
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
837
               </instanceof>
838
            </not>
839
         </activeWhen>
840
         <enabledWhen>
841
            <count
842
                  value="-1">
843
            </count>
844
         </enabledWhen>
845
      </handler>
846
      <handler
847
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
848
            commandId="org.eclipse.ui.edit.delete">
849
         <activeWhen>
850
            <and>
851
               <reference
852
                     definitionId="isTaxonBase">
853
               </reference>
854
              <not>
855
                  <reference
856
                        definitionId="isAcceptedTaxon">
857
                  </reference>
858
               </not>
859
            </and>
860
         </activeWhen>
861
      </handler>
862
      <handler
863
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
864
            commandId="org.eclipse.ui.edit.delete">
865
          <activeWhen>
866
             <with
867
                   variable="activePartId">
868
                <or>
869
                   <equals
870
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
871
                   </equals>
872
                   <equals
873
                         value="eu.etaxonomy.taxeditor.editor.view.media">
874
                   </equals>
875
                   <equals
876
                         value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
877
                   </equals>
878
                </or>
879
             </with>
880
          </activeWhen>
881
      </handler>
882
      <handler
883
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
884
            commandId="org.eclipse.ui.edit.delete">
885
         <activeWhen>
886
            <with
887
                  variable="activePartId">
888
               <equals
889
                     value="eu.etaxonomy.taxeditor.editor.key">
890
               </equals>
891
            </with>
892
         </activeWhen>
893
      </handler>
894
      <handler
895
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
896
            commandId="org.eclipse.ui.edit.delete">
897
         <activeWhen>
898
            <with
899
                  variable="activePartId">
900
               <equals
901
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
902
               </equals>
903
            </with>
904
         </activeWhen>
905
      </handler>
906
      <handler
907
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
908
            commandId="org.eclipse.ui.edit.delete">
909
         <activeWhen>
910
            <with
911
                  variable="activePartId">
912
               <equals
913
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
914
               </equals>
915
            </with>
916
         </activeWhen>
917
      </handler>
918
      <handler
919
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
920
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
921
      </handler>
922
   </extension>
923
   <extension
924
         name="%extension.name"
925
         point="org.eclipse.ui.commands">
926
      <category
927
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
928
            name="%category.name.0">
929
      </category>
930
      <command
931
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
932
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
933
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
934
            name="%command.name">
935
      </command>
936
      <command
937
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
938
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
939
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
940
            name="%command.name.0">
941
      </command>
942
      <command
943
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
944
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
945
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
946
            name="%command.name.1">
947
      </command>
948
      <command
949
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
950
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
951
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
952
            name="%command.name.2">
953
      </command>
954
     <command
955
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
956
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
957
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
958
            name="%command.name.36">
959
      </command>
960
      <!--command
961
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
962
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
963
            name="Move Taxon">
964
      </command-->
965
      <command
966
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
967
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
968
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
969
            name="%command.name.3">
970
      </command>
971
      <command
972
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
973
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
974
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
975
            name="%command.name.4">
976
      </command>
977
      <command
978
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
979
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
980
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
981
            name="%command.name.5">
982
      </command>
983
      <command
984
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
985
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
986
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
987
            name="%command.name.6">
988
      </command>
989
      <command
990
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
991
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
992
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
993
            name="%command.name.7">
994
      </command>
995
      <command
996
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
997
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
998
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
999
            name="%command.name.8">
1000
      </command>
1001
     <!-- <command
1002
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1003
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1004
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1005
            name="Change Accepted Taxon to Synonym">
1006
      </command>-->
1007
      <command
1008
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1009
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1010
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1011
            name="%command.name.9">
1012
      </command>
1013
      <category
1014
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1015
            name="%category.name.1">
1016
      </category>
1017
      <command
1018
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1019
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1020
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1021
            name="%command.name.10">
1022
      </command>
1023
      <command
1024
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1025
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1026
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1027
            name="%command.name.11">
1028
      </command>
1029
      <command
1030
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1031
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1032
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1033
            name="%command.name.12">
1034
      </command>
1035
      <command
1036
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1037
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1038
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1039
            name="%command.name.13">
1040
      </command>
1041
      <category
1042
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1043
            name="%category.name.2">
1044
      </category>
1045
      <command
1046
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1047
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1048
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1049
            name="%command.name.14">
1050
      </command>
1051
      <command
1052
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1053
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1054
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1055
            name="%command.name.15">
1056
      </command>
1057
      <command
1058
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1059
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1060
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1061
            name="%command.name.16">
1062
      </command>
1063
      <category
1064
            id="eu.etaxonomy.taxeditor.editor.media.category"
1065
            name="%category.name.3">
1066
      </category>
1067
      <command
1068
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1069
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1070
            id="taxeditor-editor.command.moveimgdown"
1071
            name="%command.name.19">
1072
      </command>
1073
      <command
1074
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1075
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1076
            id="taxeditor-editor.command.newimagegallery"
1077
            name="%command.name.20">
1078
      </command>
1079
      <command
1080
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1081
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1082
            id="taxeditor-editor.newimage"
1083
            name="%command.name.21">
1084
      </command>
1085
      <command
1086
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1087
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1088
            id="taxeditor-editor.useExistingImage"
1089
            name="%command.name.37">
1090
      </command>
1091
      <command
1092
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1093
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1094
            id="taxeditor-editor.command.moveimgup"
1095
            name="%command.name.22">
1096
      </command>
1097
      <category
1098
            id="eu.etaxonomy.taxeditor.editor.new.category"
1099
            name="%category.name.4">
1100
      </category>
1101
      <command
1102
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1103
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1104
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1105
            name="%command.name.23">
1106
      </command>
1107
      <command
1108
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1109
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1110
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1111
            name="%command.name.24">
1112
      </command>
1113
      <command
1114
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1115
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1116
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1117
            name="%command.name.25">
1118
      </command>
1119
      <command
1120
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1121
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1122
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1123
            name="%command.name.26">
1124
      </command>
1125
      <command
1126
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1127
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1128
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1129
            name="%command.name.27">
1130
      </command>
1131
      <category
1132
            id="eu.etaxonomy.taxeditor.editor.key.category"
1133
            name="%category.name.5">
1134
      </category>
1135
      <command
1136
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1137
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1138
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1139
            name="%command.name.28">
1140
      </command>
1141
      <command
1142
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1143
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1144
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1145
            name="%command.name.29">
1146
      </command>
1147
      <command
1148
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1149
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1150
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1151
            name="%command.name.30">
1152
      </command>
1153
      <command
1154
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1155
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1156
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1157
            name="%command.name.31">
1158
      </command>
1159
      <category
1160
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1161
            name="%category.name.6">
1162
      </category>
1163
      <command
1164
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1165
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1166
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1167
            name="%command.name.32">
1168
      </command>
1169
      <command
1170
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1171
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1172
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1173
            name="%command.name.33">
1174
      </command>
1175
      <category
1176
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1177
            name="%category.name.7">
1178
      </category>
1179
      <command
1180
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1181
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1182
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1183
            name="%command.name.34">
1184
      </command>
1185
      <command
1186
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1187
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1188
            name="%command.name.35">
1189
      </command>
1190
       <command
1191
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1192
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1193
             name="%command.name.38">
1194
       </command>
1195
      <command
1196
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1197
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1198
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1199
            name="%command.name.39">
1200
      </command>
1201
   </extension>
1202
   <extension
1203
         point="org.eclipse.core.expressions.definitions">
1204
      <definition
1205
            id="nameEditorActive">
1206
         <with
1207
               variable="activeEditorId">
1208
            <equals
1209
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1210
            </equals>
1211
         </with>
1212
      </definition>
1213
      <definition
1214
            id="isAcceptedTaxon">
1215
         <with
1216
               variable="selection">
1217
            <test
1218
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1219
            </test>
1220
         </with>
1221
      </definition>
1222
      <definition
1223
            id="isSynonym">
1224
         <with
1225
               variable="selection">
1226
            <test
1227
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1228
            </test>
1229
         </with>
1230
      </definition>
1231
      <definition
1232
            id="isMisapplication">
1233
         <with
1234
               variable="selection">
1235
            <test
1236
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1237
            </test>
1238
         </with>
1239
      </definition>
1240
      <definition
1241
            id="isTaxonBase">
1242
         <with
1243
               variable="selection">
1244
            <test
1245
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1246
            </test>
1247
         </with>
1248
      </definition>
1249
      <definition
1250
            id="hasEmptyNames">
1251
         <with
1252
               variable="selection">
1253
            <test
1254
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1255
            </test>
1256
         </with>
1257
      </definition>
1258
      <definition
1259
            id="isDeletable">
1260
         <with
1261
               variable="selection">
1262
            <test
1263
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1264
            </test>
1265
         </with>
1266
      </definition>
1267
      <definition
1268
            id="isMedia">
1269
         <with
1270
               variable="selection">
1271
            <test
1272
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1273
            </test>
1274
         </with>
1275
      </definition>
1276
      <definition
1277
            id="isTaxonEditor">
1278
         <with
1279
               variable="selection">
1280
            <test
1281
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1282
            </test>
1283
         </with>
1284
      </definition>
1285
      <definition
1286
            id="isBulkEditor">
1287
         <with
1288
               variable="selection">
1289
            <test
1290
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1291
            </test>
1292
         </with>
1293
      </definition>
1294
      <definition
1295
            id="isDerivateEditor">
1296
         <with
1297
               variable="selection">
1298
            <test
1299
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1300
            </test>
1301
         </with>
1302
      </definition>
1303
      <definition
1304
            id="isDescription">
1305
         <with
1306
               variable="selection">
1307
            <test
1308
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1309
            </test>
1310
         </with>
1311
      </definition>
1312
      <definition
1313
            id="isDescriptionElement">
1314
         <with
1315
               variable="selection">
1316
            <test
1317
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1318
            </test>
1319
         </with>
1320
      </definition>
1321
      <definition
1322
            id="isFeatureNodeContainer">
1323
         <with
1324
               variable="selection">
1325
            <test
1326
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1327
            </test>
1328
         </with>
1329
      </definition>
1330
      <definition
1331
            id="isImageGallery">
1332
         <with
1333
               variable="selection">
1334
            <test
1335
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1336
            </test>
1337
         </with>
1338
      </definition>
1339
      <definition
1340
            id="isAcceptedAndHasNoHomotypicSynonyms">
1341
         <with
1342
               variable="selection">
1343
            <test
1344
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1345
            </test>
1346
         </with>
1347
      </definition>
1348
      <definition
1349
            id="isGroup">
1350
         <with
1351
               variable="activeEditor">
1352
            <test
1353
                  property="taxeditor-bulkeditor.propertyTester.isGroup">
1354
            </test>
1355
         </with>
1356
      </definition>
1357
   </extension>
1358
   <extension
1359
         point="org.eclipse.core.expressions.propertyTesters">
1360
      <propertyTester
1361
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1362
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1363
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1364
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1365
            type="org.eclipse.jface.viewers.IStructuredSelection">
1366
      </propertyTester>
1367
      <propertyTester
1368
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1369
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1370
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1371
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1372
            type="org.eclipse.jface.viewers.TreeSelection">
1373
      </propertyTester>
1374
      <propertyTester
1375
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1376
            id="taxeditor-bulkeditor.PropertyTester"
1377
            namespace="taxeditor-bulkeditor.propertyTester"
1378
            properties="isGroup"
1379
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1380
      </propertyTester>
1381
   </extension>
1382
   <extension
1383
         point="org.eclipse.ui.bindings">   
1384
      <scheme
1385
            description="%scheme.description"
1386
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1387
            name="%scheme.name">
1388
      </scheme>
1389
   </extension>
1390
    <extension
1391
         point="org.eclipse.ui.importWizards">
1392
      <wizard
1393
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1394
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1395
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1396
            name="%wizard.name">
1397
         <description>
1398
            %wizard.description
1399
         </description>
1400
      </wizard>
1401
   </extension>
1402
</plugin>
(5-5/6)