Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.editor / plugin.xml @ 9a512b18

History | View | Annotate | Download (83 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%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.dataimport.SpecimenImportEditor"
63
            default="false"
64
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65
            name="%editor.name.6">
66
      </editor>
67
      <editor
68
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69
            default="false"
70
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71
            name="%editor.name.7">
72
      </editor>
73
         <editor
74
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75
            icon="icons/check.png"
76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77
            name="%editor.name.8">
78
      </editor>
79
         <editor
80
               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
81
               default="false"
82
               icon="icons/derivate_view-16x16-32.png"
83
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
84
               name="%editor.name.DERIVATIVE_EDITOR">
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
         <view
148
               allowMultiple="false"
149
               category="eu.etaxonomy.taxeditor.editor.category"
150
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
151
               icon="icons/edit_16x16.gif"
152
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
153
               name="%view.name.6">
154
         </view>
155
      </extension>
156
      
157
        <!-- VALIDATION RELATED STUFF -->
158
        <extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
159
                <super type="org.eclipse.core.resources.problemmarker"/>
160
                <attribute name="databaseId"/>
161
                <attribute name="userFriendlyTypeName"/>
162
                <attribute name="userFriendlyDescription"/>
163
                <attribute name="userFriendlyFieldName"/>
164
                <attribute name="validatorMessage"/>
165
                <attribute name="invalidValue"/>
166
                <attribute name="validatorClass"/>
167
                <attribute name="entityClass"/>
168
                <attribute name="entityId"/>
169
                   <persistent value="false"/>
170
           </extension>
171

    
172
        <extension point="org.eclipse.ui.ide.markerSupport">
173
            <markerContentGenerator
174
                    id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator" 
175
                    name="%markerContentGenerator.name">  
176
                    <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
177
                    
178
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
179
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
180
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
181
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
182
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
183
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
184
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
185
                    <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
186
            </markerContentGenerator>
187
            
188
                <markerField
189
                        class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
190
                        id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
191
                        name="%marker.field.0">
192
                </markerField>
193
                <markerField
194
                        class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
195
                        id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
196
                        name="%marker.field.1">
197
                </markerField>
198
                <markerField
199
                        class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
200
                        id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
201
                        name="%marker.field.2 = Attribute">
202
                </markerField>
203
                <markerField
204
                        class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
205
                        id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
206
                        name="%marker.field.3 = Problematic Value">
207
                </markerField>
208
                <markerField
209
                        class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
210
                        id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
211
                        name="%marker.field.4 = Problem description">
212
                </markerField>
213
                <markerField
214
                        class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
215
                        id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
216
                        name="%marker.field.5">
217
                </markerField>
218
                <markerField
219
                        class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
220
                        id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
221
                        name="%marker.field.6">
222
                </markerField>
223
                <markerField
224
                        class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
225
                        id="eu.etaxonomy.taxeditor.markers.validation.entityId"
226
                        name="%marker.field.7">
227
                </markerField>
228
        </extension>
229
        
230
  <extension
231
         point="org.eclipse.ui.elementFactories">
232
      <factory
233
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
234
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
235
      </factory>
236
   </extension>
237
   <extension
238
         point="org.eclipse.ui.menus">
239
      <menuContribution
240
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
241
         <command
242
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
243
               label="%command.label.46"
244
               style="push">
245
            <visibleWhen
246
                  checkEnabled="true">
247
               <reference
248
                     definitionId="isCdmStoreConnected">
249
               </reference>
250
            </visibleWhen>
251
         </command>
252
         <command
253
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
254
               label="%command.label.47"
255
               style="push">
256
            <visibleWhen
257
                  checkEnabled="true">
258
               <reference
259
                     definitionId="isCdmStoreConnected">
260
               </reference>
261
            </visibleWhen>
262
         </command>
263
         <command
264
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
265
               label="%command.label.1"
266
               style="push">
267
            <visibleWhen
268
                  checkEnabled="true">
269
               <reference
270
                     definitionId="isCdmStoreConnected">
271
               </reference>
272
            </visibleWhen>
273
         </command>
274
         <command
275
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
276
               label="%command.label.2"
277
               style="push">
278
            <visibleWhen
279
                  checkEnabled="true">
280
               <reference
281
                     definitionId="isCdmStoreConnected">
282
               </reference>
283
            </visibleWhen>
284
         </command>
285
         <separator
286
               name="eu.etaxonomy.navigation.menu.new.separator2"
287
               visible="true">
288
         </separator>
289
         <separator
290
               name="eu.etaxonomy.navigation.menu.new.separator3"
291
               visible="true">
292
         </separator>
293
         <command
294
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
295
               label="%command.label.48"
296
               style="push">
297
         </command>
298
      </menuContribution>
299
      <menuContribution
300
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
301
         <separator
302
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
303
               visible="true">
304
         </separator>
305
         <command
306
               commandId="org.eclipse.ui.views.showView"
307
               label="%command.label.4"
308
               style="push">
309
            <parameter
310
                  name="org.eclipse.ui.views.showView.viewId"
311
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
312
            </parameter>
313
            <visibleWhen
314
                  checkEnabled="true">
315
               <reference
316
                     definitionId="isCdmStoreConnected">
317
               </reference>
318
            </visibleWhen>
319
         </command>
320
         <command
321
               commandId="org.eclipse.ui.views.showView"
322
               label="%command.label.5"
323
               style="push">
324
            <parameter
325
                  name="org.eclipse.ui.views.showView.viewId"
326
                  value="eu.etaxonomy.taxeditor.editor.view.media">
327
            </parameter>
328
            <visibleWhen
329
                  checkEnabled="true">
330
               <reference
331
                     definitionId="isCdmStoreConnected">
332
               </reference>
333
            </visibleWhen>
334
         </command>
335
         <command
336
               commandId="org.eclipse.ui.views.showView"
337
               label="%command.label.6"
338
               style="push">
339
            <parameter
340
                  name="org.eclipse.ui.views.showView.viewId"
341
                  value="eu.etaxonomy.taxeditor.editor.view.concept">
342
            </parameter>
343
            <visibleWhen
344
                  checkEnabled="true">
345
               <reference
346
                     definitionId="isCdmStoreConnected">
347
               </reference>
348
            </visibleWhen>
349
         </command>
350
         <command
351
               commandId="org.eclipse.ui.views.showView"
352
               label="%command.label.7"
353
               style="push">
354
            <parameter
355
                  name="org.eclipse.ui.views.showView.viewId"
356
                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
357
            </parameter>
358
            <visibleWhen
359
                  checkEnabled="true">
360
               <and>
361
                  <reference
362
                        definitionId="isShowExperimentalFeatures">
363
                  </reference>
364
                  <reference
365
                        definitionId="isCdmStoreConnected">
366
                  </reference>
367
               </and>
368
            </visibleWhen>
369
         </command>
370
      </menuContribution>
371
      <menuContribution
372
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
373
         <separator
374
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
375
               visible="true">
376
         </separator>
377
         <command
378
               commandId="org.eclipse.ui.views.showView"
379
               label="%command.name.40"
380
               style="push">
381
            <parameter
382
                  name="org.eclipse.ui.views.showView.viewId"
383
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
384
            </parameter>
385
            <visibleWhen
386
                  checkEnabled="true">
387
               <reference
388
                     definitionId="isCdmStoreConnected">
389
               </reference>
390
            </visibleWhen>
391
         </command>
392
      </menuContribution>
393
      <menuContribution
394
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
395
         <command
396
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
397
               label="%command.label.8"
398
               style="push">
399
         </command>
400
      </menuContribution>
401
      <menuContribution
402
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
403
         <menu
404
               label="%menu.label">
405
            <command
406
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
407
                  label="%command.label.9"
408
                  style="push">
409
               <visibleWhen>
410
                  <reference
411
                        definitionId="isAcceptedTaxon">
412
                  </reference>
413
               </visibleWhen>
414
            </command>
415
            <command
416
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
417
                  label="%command.label.10"
418
                  style="push">
419
               <visibleWhen>
420
                  <reference
421
                        definitionId="isAcceptedTaxon">
422
                  </reference>
423
               </visibleWhen>
424
            </command>
425
            <command
426
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
427
                  label="%command.label.11"
428
                  style="push">
429
               <visibleWhen>
430
                  <reference
431
                        definitionId="isSynonym">
432
                  </reference>
433
               </visibleWhen>
434
            </command>
435
            <separator
436
                  name="separator1"
437
                  visible="true">
438
            </separator>
439
           <command
440
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
441
                  label="%command.label.49"
442
                  style="push">
443
               <visibleWhen>
444
                  <or>
445
                     <reference
446
                           definitionId="isAcceptedTaxon">
447
                     </reference>
448
                     <reference
449
                           definitionId="isMisapplication">
450
                     </reference>
451
                  </or>
452
               </visibleWhen>
453
            </command>
454
         </menu>
455
        <!--<command
456
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
457
               label="Change Accepted Taxon to Synonym"
458
               style="push">
459
            <visibleWhen
460
                  checkEnabled="true">
461
               <reference
462
                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
463
               </reference>
464
            </visibleWhen
465
                <visibleWhen>                  
466
                     <or>
467
                        <reference
468
                              definitionId="isAcceptedTaxon">
469
                        </reference>
470
                        <reference
471
                              definitionId="isMisapplication">
472
                        </reference>
473
                     </or>                  
474
               </visibleWhen>
475
         </command>-->
476
         <menu
477
               label="%menu.label.0">
478
            <command
479
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
480
                  label="%command.label.12"
481
                  style="push">
482
               <visibleWhen>
483
               <and>
484
                  <not>
485
                     <or>
486
                        <reference
487
                              definitionId="isAcceptedTaxon">
488
                        </reference>
489
                        <reference
490
                              definitionId="isMisapplication">
491
                        </reference>
492
                     </or>
493
                     </not>
494
                       <reference
495
                              definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
496
                        </reference>
497
                  </and>
498
               </visibleWhen>
499
            </command>
500
            <command
501
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
502
                  label="%command.label.13"
503
                  style="push">
504
               <visibleWhen>
505
                  <not>
506
                     <or>
507
                        <reference
508
                              definitionId="isAcceptedTaxon">
509
                        </reference>
510
                        <reference
511
                              definitionId="isSynonym">
512
                        </reference>
513
                     </or>
514
                  </not>
515
               </visibleWhen>
516
            </command>
517
            <command
518
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
519
                  label="%command.label.14"
520
                  style="push">
521
               <visibleWhen>
522
                  <not>
523
                     <or>
524
                        <reference
525
                              definitionId="isAcceptedTaxon">
526
                        </reference>
527
                        <reference
528
                              definitionId="isMisapplication">
529
                        </reference>
530
                     </or>
531
                  </not>
532
               </visibleWhen>
533
            </command>
534
         </menu>
535
         <separator
536
               name="taxeditor-editor.separator1"
537
               visible="true">
538
         </separator>
539
         <command
540
               commandId="eu.etaxonomy.taxeditor.editor.name.delete"
541
               label="%command.label.15"
542
               style="push">
543
            <visibleWhen>
544
               <or>
545
                  <reference
546
                        definitionId="isSynonym">
547
                  </reference>
548
                  <reference
549
                        definitionId="isMisapplication">
550
                  </reference>
551
                  <reference
552
                        definitionId="isConceptRelation">
553
                  </reference>
554
               </or>
555
            </visibleWhen>
556
         </command>
557
         <command
558
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
559
               label="%command.label.16"
560
               style="push">
561
            <visibleWhen>
562
               <reference
563
                     definitionId="hasEmptyNames">
564
               </reference>
565
            </visibleWhen>
566
         </command>
567
         <separator
568
               name="taxeditor-editor.separator2"
569
               visible="true">
570
         </separator>
571
        <!-- <dynamic
572
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
573
               id="taxeditor-editor.dynamic.setBasionym">
574
            <visibleWhen>
575
               <or>
576
                  <reference
577
                        definitionId="isAcceptedTaxon">
578
                  </reference>
579
                  <reference
580
                        definitionId="isSynonym">
581
                  </reference>
582
               </or>
583
            </visibleWhen>
584
         </dynamic>-->
585
         <command
586
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
587
               label="%command.label.17"
588
               style="push">
589
            <visibleWhen>
590
               <reference
591
                     definitionId="isSynonym">
592
               </reference>
593
            </visibleWhen>
594
         </command>
595
          <command
596
               commandId="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
597
               label="%command.label.57"
598
               style="push">
599
            <visibleWhen>
600
              <reference
601
                     definitionId="isSynonymInHomotypicalGroupWithMoreSynonyms">
602
               </reference>
603
           </visibleWhen>
604
         </command>
605
         <command
606
                  commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
607
                  label="%command.label.56"
608
                  style="push">
609
               <visibleWhen>
610
                  <and>
611
                   <reference
612
                         definitionId="isSynonym">
613
                   </reference>
614
                   <reference
615
                         definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
616
                   </reference>
617
                   </and>
618
                </visibleWhen>
619
          </command>
620
         <separator
621
               name="taxeditor-editor.separator3"
622
               visible="true">
623
         </separator>
624
         <command
625
               commandId="org.eclipse.ui.views.showView"
626
               label="%command.label.18"
627
               style="push">
628
            <parameter
629
                  name="org.eclipse.ui.views.showView.viewId"
630
                  value="eu.etaxonomy.taxeditor.view.detail">
631
            </parameter>
632
         </command>
633
         <separator
634
               name="taxeditor-editor.separator4"
635
               visible="true">
636
         </separator>
637
         <command
638
               commandId="org.eclipse.ui.file.save"
639
               label="%command.label.19"
640
               style="push">
641
         </command>
642
      </menuContribution>
643
      <menuContribution
644
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
645
         <command
646
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
647
               label="%command.label.20"
648
               style="push">
649
         </command>
650
         <command
651
               commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
652
               label="%command.label.21"
653
               style="push">
654
         </command>
655
         <separator
656
               name="taxeditor-editor.separator2"
657
               visible="true">
658
         </separator>
659
         <command
660
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
661
               label="%command.label.22"
662
               style="push">
663
         </command>
664
         <separator
665
               name="taxeditor-editor.separator3"
666
               visible="true">
667
         </separator>
668
      </menuContribution>
669
      <menuContribution
670
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
671
         <menu
672
               label="%menu.label.4">
673
            <command
674
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
675
                  label="%command.label.58"
676
                  style="push">
677
            </command>
678
            <command
679
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
680
                  label="%command.label.23"
681
                  style="push">
682
            </command>
683
         </menu>
684
         <command
685
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
686
               label="%command.label.24"
687
               style="push">
688
         </command>
689
       <!--  <dynamic
690
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
691
               id="eu.etaxonomy.taxeditor.editor.polytomous.list.cdmViewerContextMenu">
692
         </dynamic>-->
693
         <command
694
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
695
               label="%command.label.25"
696
               style="push">
697
         </command>
698
         <command
699
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
700
               label="%command.label.26"
701
               style="push">
702
         </command>
703
         <separator
704
               name="eu.etaxonomy.taxeditor.editor.separator1">
705
         </separator>
706
      </menuContribution>
707
      <menuContribution
708
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
709
         <command
710
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
711
               label="%command.label.27"
712
               style="push">
713
         </command>
714
         <menu
715
               label="%menu.label.1">
716
            <dynamic
717
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
718
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
719
            </dynamic>
720
            <visibleWhen
721
                  checkEnabled="true">
722
               <or>
723
                  <reference
724
                        definitionId="isDescription">
725
                  </reference>
726
                  <reference
727
                        definitionId="isDescriptionElement">
728
                  </reference>
729
                  <reference
730
                        definitionId="isFeatureNodeContainer">
731
                  </reference>
732
               </or>
733
            </visibleWhen>
734
         </menu>
735
         <separator
736
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
737
               visible="true">
738
         </separator>
739
         <command
740
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
741
               label="%command.label.28"
742
               style="push">
743
            <visibleWhen
744
                  checkEnabled="true">
745
               <reference
746
                     definitionId="isDescription">
747
               </reference>
748
            </visibleWhen>
749
         </command>
750
         <command
751
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
752
               label="%command.label.29"
753
               style="push">
754
            <visibleWhen
755
                  checkEnabled="true">
756
               <or>
757
                  <reference
758
                        definitionId="isFeatureNodeContainer">
759
                  </reference>
760
                   <reference
761
                        definitionId="isDescriptionElement">
762
                  </reference>
763
              </or>
764
            </visibleWhen>
765
         </command>
766
         <separator
767
               name="eu.etaxonomy.taxeditor.editor.separator1">
768
         </separator>
769
         <dynamic
770
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
771
               id="eu.etaxonomy.taxeditor.editor.descriptive.cdmViewerContextMenu">
772
         </dynamic>
773
         <separator
774
               name="eu.etaxonomy.taxeditor.editor.separator1">
775
         </separator>
776
         <separator
777
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
778
               visible="true">
779
         </separator>
780
                  <command
781
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
782
               label="%command.label.30"
783
               style="push">
784
                     <visibleWhen
785
                           checkEnabled="true">
786
                        <count
787
                              value="+">
788
                        </count>
789
                     </visibleWhen>
790
         </command>
791
         <separator
792
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
793
               visible="true">
794
         </separator>
795
         <command
796
               commandId="org.eclipse.ui.file.save"
797
               label="%command.label.31"
798
               style="push">
799
         </command>
800
         <separator
801
               name="eu.etaxonomy.taxeditor.editor.separator1">
802
         </separator>
803
      </menuContribution>
804
      <menuContribution
805
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
806
         <separator
807
               name="eu.etaxonomy.taxeditor.editor.separator4"
808
               visible="true">
809
         </separator>
810
         <dynamic
811
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
812
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
813
         </dynamic>
814
         <dynamic
815
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
816
               id="eu.etaxonomy.taxeditor.editor.derivativeEditor.CdmViewerContextMenu">
817
         </dynamic>
818
         <separator
819
               name="eu.etaxonomy.taxeditor.editor.separator1"
820
               visible="true">
821
         </separator>
822
         <command
823
               commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
824
               label="%command.label.LINK_WITH_TAXON_SELECTION"
825
               style="push">
826
            <visibleWhen
827
                  checkEnabled="true">
828
               <not>
829
                  <reference
830
                        definitionId="isDerivativeEditorLinkedToTaxonSelection">
831
                  </reference>
832
               </not>
833
            </visibleWhen>
834
         </command>
835
         <command
836
               commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
837
               label="%command.label.UNLINK_FROM_TAXON_SELECTION"
838
               style="push">
839
            <visibleWhen
840
                  checkEnabled="true">
841
               <reference
842
                     definitionId="isDerivativeEditorLinkedToTaxonSelection">
843
               </reference>
844
            </visibleWhen>
845
         </command>
846
         <separator
847
               name="eu.etaxonomy.taxeditor.editor.separator3"
848
               visible="true">
849
         </separator>
850
         <command
851
               commandId="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
852
               id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleReadMenuItem"
853
               label="%command.label.REUSE_SINGLE_READ_HERE"
854
               style="push">
855
            <visibleWhen
856
                  checkEnabled="true">
857
               <reference
858
                     definitionId="isSingleReadReusableHere">
859
               </reference>
860
            </visibleWhen>
861
         </command>
862
         <command
863
               commandId="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
864
               label="%command.label.REUSE_SINGLE_READ_FOR_OTHER_SEQUENCE"
865
               style="push">
866
            <visibleWhen
867
                  checkEnabled="true">
868
               <reference
869
                     definitionId="isSingleRead">
870
               </reference>
871
            </visibleWhen>
872
         </command>
873
         <command
874
               commandId="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
875
               label="%command.label.REMOVE_SINGLE_READ_FROM_THIS_SEQUENCE"
876
               style="push">
877
            <visibleWhen
878
                  checkEnabled="true">
879
               <reference
880
                     definitionId="isSingleReadReused">
881
               </reference>
882
            </visibleWhen>
883
         </command>
884
         <separator
885
               name="eu.etaxonomy.taxeditor.editor.separator7"
886
               visible="true">
887
         </separator>
888
         <command
889
               commandId="org.eclipse.ui.edit.delete"
890
               label="%command.label.52"
891
               style="push">
892
         </command>
893
         <command
894
               commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
895
               icon="icons/deep-delete-16x16-32.png"
896
               label="%command.label.54"
897
               style="push">
898
         </command>
899
      </menuContribution>
900
      <menuContribution
901
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
902
         <dynamic
903
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
904
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
905
         </dynamic>
906
      </menuContribution>
907
      <menuContribution
908
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
909
         <dynamic
910
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
911
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
912
         </dynamic>
913
      </menuContribution>
914
      
915
      
916
      
917
      
918
      <menuContribution
919
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
920
         <command
921
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
922
               label="%command.label.32"
923
               style="push">
924
         </command>
925
         <command
926
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
927
               label="%command.label.33"
928
               style="push">
929
            <visibleWhen
930
                  checkEnabled="true">
931
               <or>
932
                  <reference
933
                        definitionId="isDescription">
934
                  </reference>
935
                  <reference
936
                        definitionId="isDescriptionElement">
937
                  </reference>
938
                  <reference
939
                        definitionId="isFeatureNodeContainer">
940
                  </reference>
941
               </or>
942
            </visibleWhen>
943
         </command>
944
         <command
945
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
946
               label="%command.label.34"
947
               style="push">
948
            <visibleWhen
949
                  checkEnabled="true">
950
               <or>
951
                  <reference
952
                        definitionId="isDescription">
953
                  </reference>
954
                  <reference
955
                        definitionId="isDescriptionElement">
956
                  </reference>
957
                  <reference
958
                        definitionId="isFeatureNodeContainer">
959
                  </reference>
960
               </or>
961
            </visibleWhen>
962
         </command>
963
         <separator
964
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
965
               visible="true">
966
         </separator>
967
         <separator
968
               name="taxeditor-editor.separator1"
969
               visible="true">
970
         </separator>
971
         <separator
972
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
973
               visible="true">
974
         </separator>
975
         <command
976
               commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
977
               label="%command.label.35"
978
               style="push">
979
         </command>
980
         <separator
981
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
982
               visible="true">
983
         </separator>
984
         <command
985
               commandId="org.eclipse.ui.file.save"
986
               label="%command.label.36"
987
               style="push">
988
         </command>
989
      </menuContribution>
990
      
991
      
992
      
993
      
994
      
995
      <menuContribution
996
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
997
         <command
998
               commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
999
               label="%command.label.37"
1000
               style="push">
1001
            <visibleWhen>
1002
               <or>
1003
                  <reference
1004
                        definitionId="isBulkEditor">
1005
                  </reference>
1006
                  <reference
1007
                        definitionId="isTaxonEditor">
1008
                  </reference>
1009
                  <reference
1010
                        definitionId="isDerivateEditor">
1011
                  </reference>
1012
               </or>
1013
            </visibleWhen>
1014
         </command>
1015
         <separator
1016
               name="taxeditor-editor.separator1"
1017
               visible="true">
1018
         </separator>
1019
         <command
1020
               commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1021
               label="%command.label.38"
1022
               style="push">
1023
            <visibleWhen>
1024
               <reference
1025
                     definitionId="isImageGallery">
1026
               </reference>
1027
            </visibleWhen>
1028
         </command>
1029
         <command
1030
               commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1031
               label="%command.label.50"
1032
               style="push">
1033
            <visibleWhen>
1034
               <reference
1035
                     definitionId="isImageGallery">
1036
               </reference>
1037
            </visibleWhen>
1038
         </command>
1039
         <command
1040
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1041
               label="%command.label.39"
1042
               style="push">
1043
            <visibleWhen>
1044
               <reference
1045
                     definitionId="isMedia">
1046
               </reference>
1047
            </visibleWhen>
1048
         </command>
1049
         <command
1050
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1051
               label="%command.label.40"
1052
               style="push">
1053
            <visibleWhen>
1054
               <reference
1055
                     definitionId="isMedia">
1056
               </reference>
1057
            </visibleWhen>
1058
         </command>
1059
         <separator
1060
               name="taxeditor-editor.separator2"
1061
               visible="true">
1062
         </separator>
1063
         <command
1064
               commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
1065
               label="%command.label.41"
1066
               style="push">
1067
         </command>
1068
         <command
1069
               commandId="org.eclipse.ui.file.save"
1070
               label="%command.label.42"
1071
               style="push">
1072
         </command>
1073
      </menuContribution>
1074
      <menuContribution
1075
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
1076
         <menu
1077
               label="%menu.label.3">
1078
            <dynamic
1079
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
1080
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
1081
            </dynamic>
1082
         </menu>
1083
         <command
1084
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1085
               label="%command.label.43"
1086
               style="push">
1087
         </command>
1088
         <separator
1089
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
1090
               visible="true">
1091
         </separator>
1092
         <command
1093
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1094
               label="%command.label.44"
1095
               style="push">
1096
         </command>
1097
      </menuContribution>
1098
      <menuContribution
1099
            allPopups="false"
1100
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1101
         <command
1102
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1103
               label="%command.label.45"
1104
               style="push">
1105
            <visibleWhen>
1106
               <reference
1107
                     definitionId="isGroupEditor">
1108
               </reference>
1109
            </visibleWhen>
1110
         </command>
1111
      </menuContribution>
1112
      <menuContribution
1113
            allPopups="false"
1114
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1115
         <command
1116
               commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1117
               icon="icons/link_obj.gif"
1118
               style="toggle"
1119
               tooltip="%command.tooltip">
1120
         </command>
1121
      </menuContribution>
1122
      <menuContribution
1123
            allPopups="false"
1124
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1125
         <toolbar
1126
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
1127
            <command
1128
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1129
                  icon="icons/synced.gif"
1130
                  label="%command.label.LINK_WITH_TAXON_SELECTIO"
1131
                  style="toggle">
1132
               <visibleWhen
1133
                     checkEnabled="true">
1134
                  <with
1135
                        variable="activePartId">
1136
                     <equals
1137
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1138
                     </equals>
1139
                  </with>
1140
               </visibleWhen>
1141
            </command>
1142
         </toolbar>
1143
      </menuContribution>
1144
      <menuContribution
1145
            allPopups="false"
1146
            locationURI="menu:bulkeditor.menus.openmenu">
1147
         <command
1148
               commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1149
               label="%command.label.DERIVATIVE_EDITOR"
1150
               style="push">
1151
            <visibleWhen
1152
                  checkEnabled="true">
1153
               <reference
1154
                     definitionId="isCdmStoreConnected">
1155
               </reference>
1156
            </visibleWhen>
1157
         </command>
1158
      </menuContribution>
1159
   </extension>
1160
   <extension
1161
         point="org.eclipse.ui.handlers">
1162
      <handler
1163
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1164
            commandId="org.eclipse.ui.window.newEditor">
1165
         <activeWhen>
1166
            <not>
1167
               <instanceof
1168
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1169
               </instanceof>
1170
            </not>
1171
         </activeWhen>
1172
         <enabledWhen>
1173
            <count
1174
                  value="-1">
1175
            </count>
1176
         </enabledWhen>
1177
      </handler>
1178
      <handler
1179
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1180
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1181
         <activeWhen>
1182
            <and>
1183
               <reference
1184
                     definitionId="isTaxonBase">
1185
               </reference>
1186
              <not>
1187
                  <reference
1188
                        definitionId="isAcceptedTaxon">
1189
                  </reference>
1190
               </not>
1191
            </and>
1192
         </activeWhen>
1193
      </handler>
1194
      <handler
1195
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1196
            commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1197
          <activeWhen>
1198
             <with
1199
                   variable="activePartId">
1200
                <or>
1201
                   <equals
1202
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1203
                   </equals>
1204
                   <equals
1205
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1206
                   </equals>
1207
                   <equals
1208
                             value="eu.etaxonomy.taxeditor.editor.view.uses">
1209
                               </equals>
1210
                </or>
1211
                    </with>
1212
         </activeWhen>
1213
      </handler>
1214
      <handler
1215
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1216
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
1217
         <activeWhen>
1218
           <with
1219
                  variable="activePartId">
1220
               <equals
1221
                     value="eu.etaxonomy.taxeditor.editor.key">
1222
               </equals>
1223
            </with>
1224
         </activeWhen>
1225
         <enabledWhen>
1226
            <with
1227
                  variable="selection">
1228
               <test
1229
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1230
               </test>
1231
            </with>
1232
         </enabledWhen>
1233
      </handler>
1234
      <handler
1235
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1236
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1237
         <activeWhen>
1238
            <with
1239
                  variable="activePartId">
1240
               <equals
1241
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1242
               </equals>
1243
            </with>
1244
         </activeWhen>
1245
      </handler>
1246
      <handler
1247
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1248
            commandId="org.eclipse.ui.edit.delete">
1249
         <activeWhen>
1250
            <with
1251
                  variable="activePartId">
1252
               <equals
1253
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1254
               </equals>
1255
            </with>
1256
         </activeWhen>
1257
      </handler>
1258
      <handler
1259
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1260
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1261
      </handler>
1262
      <handler
1263
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1264
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1265
        <activeWhen>
1266
            <reference
1267
                  definitionId="isRemoting">
1268
            </reference>
1269
         </activeWhen>
1270
      </handler>
1271
       <handler
1272
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
1273
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
1274
          <enabledWhen>
1275
             <with
1276
                   variable="selection">
1277
            <test
1278
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1279
            </test>
1280
         
1281
             </with>
1282
          </enabledWhen>
1283
      </handler>
1284
      <handler
1285
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1286
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1287
         <activeWhen>
1288
            <with
1289
                  variable="activePartId">
1290
               <equals
1291
                     value="eu.etaxonomy.taxeditor.editor.key">
1292
               </equals>
1293
            </with>
1294
         </activeWhen>
1295
         <enabledWhen>
1296
             <with
1297
                   variable="selection">
1298
            <test
1299
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1300
            </test>
1301
         
1302
             </with>
1303
          </enabledWhen>
1304
      </handler>
1305
      <handler
1306
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
1307
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
1308
         <activeWhen>
1309
            <with
1310
                  variable="activePartId">
1311
               <equals
1312
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1313
               </equals>
1314
            </with>
1315
         </activeWhen>
1316
      </handler>
1317
      <handler
1318
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement"
1319
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1320
         <activeWhen>
1321
            <with
1322
                  variable="activePartId">
1323
               <equals
1324
                     value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1325
               </equals>
1326
            </with>
1327
         </activeWhen>
1328
      </handler>
1329
      <handler
1330
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForTaxonNode"
1331
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1332
         <activeWhen>
1333
            <with
1334
                  variable="selection">
1335
               <reference
1336
                     definitionId="isTaxonNode">
1337
               </reference>
1338
            </with>
1339
         </activeWhen>
1340
      </handler>
1341
      <handler
1342
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1343
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler">
1344
         <activeWhen>
1345
            <and>
1346
               <reference
1347
                     definitionId="isChecklistEditorEnabled">
1348
               </reference>
1349
               <or>
1350
                  <reference
1351
                        definitionId="isTaxonNode">
1352
                  </reference>
1353
                  <reference
1354
                        definitionId="isClassification">
1355
                  </reference>
1356
               </or>
1357
            </and>
1358
         </activeWhen>
1359
      </handler>
1360
      <handler
1361
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1362
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
1363
         <enabledWhen>
1364
            <with
1365
                  variable="selection">
1366
               <test
1367
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1368
               </test>
1369
            </with>
1370
         </enabledWhen>
1371
      </handler>
1372
   </extension>
1373
   <extension
1374
         name="%extension.name"
1375
         point="org.eclipse.ui.commands">
1376
      <category
1377
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1378
            name="%category.name.0">
1379
      </category>
1380
      <command
1381
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1382
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1383
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1384
            name="%command.name">
1385
      </command>
1386
      <command
1387
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1388
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1389
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1390
            name="%command.name.0">
1391
      </command>
1392
      <command
1393
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1394
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1395
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1396
            name="%command.name.1">
1397
      </command>
1398
      <command
1399
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1400
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1401
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1402
            name="%command.name.2">
1403
      </command>
1404
     <command
1405
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1406
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1407
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1408
            name="%command.name.36">
1409
      </command>
1410
    <!--  <command
1411
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1412
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1413
            name="Move Taxon">
1414
      </command>-->
1415
      <command
1416
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1417
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1418
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1419
            name="%command.name.3">
1420
      </command>
1421
      <command
1422
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1423
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1424
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1425
            name="%command.name.4">
1426
      </command>
1427
      <command
1428
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1429
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1430
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1431
            name="%command.name.5">
1432
      </command>
1433
      <command
1434
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1435
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1436
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1437
            name="%command.name.6">
1438
      </command>
1439
       <command
1440
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1441
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1442
            id="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
1443
            name="%command.name.57">
1444
      </command>
1445
      <command
1446
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1447
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1448
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1449
            name="%command.name.46">
1450
      </command>
1451
      <command
1452
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1453
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1454
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1455
            name="%command.name.7">
1456
      </command>
1457
      <command
1458
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1459
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1460
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1461
            name="%command.name.8">
1462
      </command>
1463
     <!-- <command
1464
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1465
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1466
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1467
            name="Change Accepted Taxon to Synonym">
1468
      </command>-->
1469
      <command
1470
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1471
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1472
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1473
            name="%command.name.45">
1474
      </command>
1475
      <command
1476
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1477
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1478
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1479
            name="%command.name.9">
1480
      </command>
1481
      <category
1482
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1483
            name="%category.name.1">
1484
      </category>
1485
      <command
1486
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1487
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1488
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1489
            name="%command.name.10">
1490
      </command>
1491
      <command
1492
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1493
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1494
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1495
            name="%command.name.11">
1496
      </command>
1497
       <command
1498
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1499
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1500
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1501
             name="%command.name.48">
1502
      </command>
1503
      <category
1504
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1505
            name="%category.name.2">
1506
      </category>
1507
      <command
1508
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1509
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1510
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1511
            name="%command.name.14">
1512
      </command>
1513
      <command
1514
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1515
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1516
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1517
            name="%command.name.16">
1518
      </command>
1519
      <command
1520
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1521
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1522
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1523
            name="%command.name.15">
1524
      </command>
1525
      <command
1526
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1527
            name="%command.name.47">
1528
      </command>
1529
      <category
1530
            id="eu.etaxonomy.taxeditor.editor.media.category"
1531
            name="%category.name.3">
1532
      </category>
1533
      <command
1534
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1535
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1536
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1537
            name="%command.name.19">
1538
      </command>
1539
      <command
1540
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1541
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1542
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1543
            name="%command.name.20">
1544
      </command>
1545
      <command
1546
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1547
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1548
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1549
            name="%command.name.21">
1550
      </command>
1551
      <command
1552
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1553
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1554
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1555
            name="%command.name.37">
1556
      </command>
1557
      <command
1558
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1559
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1560
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1561
            name="%command.name.22">
1562
      </command>
1563
       <command
1564
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1565
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1566
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1567
            name="%command.name.49">
1568
      </command>
1569
      
1570
      <category
1571
            id="eu.etaxonomy.taxeditor.editor.new.category"
1572
            name="%category.name.4">
1573
      </category>
1574
      <command
1575
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1576
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1577
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1578
            name="%command.name.23">
1579
      </command>
1580
      <command
1581
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1582
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1583
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1584
            name="%command.name.24">
1585
      </command>
1586
      <command
1587
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1588
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1589
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1590
            name="%command.name.25">
1591
      </command>
1592
      <command
1593
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1594
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1595
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1596
            name="%command.name.26">
1597
      </command>
1598
      <category
1599
            id="eu.etaxonomy.taxeditor.editor.key.category"
1600
            name="%category.name.5">
1601
      </category>
1602
      <command
1603
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1604
           
1605
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1606
            name="%command.name.28">
1607
      </command>
1608
       <command
1609
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1610
            
1611
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
1612
            name="%command.name.58">
1613
      </command>
1614
        <command
1615
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1616
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1617
            name="%command.name.29">
1618
      </command>
1619
      <command
1620
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1621
           
1622
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1623
            name="%command.name.30">
1624
      </command>
1625
      <command
1626
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1627
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1628
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1629
            name="%command.name.31">
1630
      </command>
1631
      <command
1632
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1633
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1634
            name="%command.name.50">
1635
      </command>
1636
      <category
1637
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1638
            name="%category.name.6">
1639
      </category>
1640
      <command
1641
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1642
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1643
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1644
            name="%command.name.32">
1645
      </command>
1646
      <command
1647
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1648
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1649
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1650
            name="%command.name.33">
1651
      </command>
1652
      <command
1653
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1654
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1655
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1656
            name="%command.name.51">
1657
      </command>
1658
      <category
1659
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1660
            name="%category.name.7">
1661
      </category>
1662
      <command
1663
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1664
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1665
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1666
            name="%command.name.34">
1667
      </command>
1668
       <command
1669
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1670
             name="%command.name.38">
1671
          <commandParameter
1672
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
1673
                name="taxonNodeUuid"
1674
                optional="true"
1675
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1676
          </commandParameter>
1677
       </command>
1678
      <command
1679
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1680
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1681
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1682
            name="%command.name.39">
1683
      </command>
1684
      <command
1685
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1686
            name="%command.name.41">
1687
      </command>
1688
      <command
1689
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1690
            name="%command.name.42">
1691
         <commandParameter
1692
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1693
               name="%commandParameter.name"
1694
               optional="false"
1695
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1696
         </commandParameter>
1697
      </command>
1698
      <command
1699
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1700
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1701
            name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
1702
         <commandParameter
1703
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1704
               name="taxon node uuid"
1705
               optional="true"
1706
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1707
         </commandParameter>
1708
      </command>
1709
      <command
1710
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1711
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1712
            name="%command.name.44">
1713
      </command>
1714
      <command
1715
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1716
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1717
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1718
            name="%command.name.13">
1719
      </command>
1720
       
1721
      <command
1722
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1723
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1724
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1725
            name="%command.name.12">
1726
      </command>
1727
      <command
1728
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1729
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1730
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1731
         <commandParameter
1732
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
1733
               name="Specimen Uuids"
1734
               optional="true"
1735
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1736
         </commandParameter>
1737
      </command>
1738
      <command
1739
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1740
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1741
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1742
      </command>
1743
      <command
1744
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1745
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1746
            name="%command.name.LINK_WITH_TAXON_SELECTION">
1747
      </command>
1748
      <command
1749
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1750
            id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
1751
            name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
1752
      </command>
1753
      <command
1754
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1755
            id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
1756
            name="%command.name.REUSE_SINGLE_READ">
1757
      </command>
1758
      <command
1759
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1760
            id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
1761
            name="%command.name.REMOVE_SINGLE_READ">
1762
      </command>
1763
      <command
1764
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
1765
            id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
1766
            name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
1767
      </command>
1768
      <command
1769
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenSpecimenEditorForTypeSpecimenHandler"
1770
            id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
1771
            name="%command.name.OPEN_EDITOR_FOR_TYPE_SPECIMEN">
1772
      </command>
1773
        
1774
   </extension>
1775
   <extension
1776
         point="org.eclipse.core.expressions.definitions">
1777
      <definition
1778
            id="nameEditorActive">
1779
         <with
1780
               variable="activeEditorId">
1781
            <equals
1782
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1783
            </equals>
1784
         </with>
1785
      </definition>
1786
      <definition
1787
            id="isAcceptedTaxon">
1788
         <with
1789
               variable="selection">
1790
            <test
1791
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1792
            </test>
1793
         </with>
1794
      </definition>
1795
      <definition
1796
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1797
         <with
1798
               variable="selection">
1799
            <test
1800
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
1801
            </test>
1802
         </with>
1803
      </definition>
1804
       <definition
1805
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
1806
         <with
1807
               variable="selection">
1808
            <test
1809
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
1810
            </test>
1811
         </with>
1812
      </definition>
1813
      <definition
1814
            id="isSynonym">
1815
         <with
1816
               variable="selection">
1817
            <test
1818
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1819
            </test>
1820
         </with>
1821
      </definition>
1822
      <definition
1823
            id="isMisapplication">
1824
         <with
1825
               variable="selection">
1826
            <test
1827
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1828
            </test>
1829
         </with>
1830
      </definition>
1831
      <definition
1832
            id="isTaxonBase">
1833
         <with
1834
               variable="selection">
1835
            <test
1836
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1837
            </test>
1838
         </with>
1839
      </definition>
1840
      <definition
1841
            id="hasEmptyNames">
1842
         <with
1843
               variable="selection">
1844
            <test
1845
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1846
            </test>
1847
         </with>
1848
      </definition>
1849
      <definition
1850
            id="isDeletable">
1851
         <with
1852
               variable="selection">
1853
            <test
1854
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1855
            </test>
1856
         </with>
1857
      </definition>
1858
      <definition
1859
            id="isMedia">
1860
         <with
1861
               variable="selection">
1862
            <test
1863
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1864
            </test>
1865
         </with>
1866
      </definition>
1867
      <definition
1868
            id="isTaxonEditor">
1869
         <with
1870
               variable="selection">
1871
            <test
1872
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1873
            </test>
1874
         </with>
1875
      </definition>
1876
      <definition
1877
            id="isBulkEditor">
1878
         <with
1879
               variable="selection">
1880
            <test
1881
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1882
            </test>
1883
         </with>
1884
      </definition>
1885
      <definition
1886
            id="isDerivateEditor">
1887
         <with
1888
               variable="selection">
1889
            <test
1890
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1891
            </test>
1892
         </with>
1893
      </definition>
1894
      <definition
1895
            id="isDescription">
1896
         <with
1897
               variable="selection">
1898
            <test
1899
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1900
            </test>
1901
         </with>
1902
      </definition>
1903
      <definition
1904
            id="isDescriptionElement">
1905
         <with
1906
               variable="selection">
1907
            <test
1908
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1909
            </test>
1910
         </with>
1911
      </definition>
1912
      <definition
1913
            id="isFeatureNodeContainer">
1914
         <with
1915
               variable="selection">
1916
            <test
1917
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1918
            </test>
1919
         </with>
1920
      </definition>
1921
      <definition
1922
            id="isImageGallery">
1923
         <with
1924
               variable="selection">
1925
            <test
1926
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1927
            </test>
1928
         </with>
1929
      </definition>
1930
      <definition
1931
            id="isAcceptedAndHasNoHomotypicSynonyms">
1932
         <with
1933
               variable="selection">
1934
            <test
1935
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1936
            </test>
1937
         </with>
1938
      </definition>
1939
      <definition
1940
            id="isIndividualsAssociation">
1941
         <with
1942
               variable="selection">
1943
            <test
1944
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1945
            </test>
1946
         </with>
1947
      </definition>
1948
      <definition
1949
            id="isRemoting">
1950
         <test
1951
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1952
         </test>
1953
      </definition>
1954
       <definition
1955
            id="isKeyNode">
1956
          <with
1957
                variable="selection">
1958
             <test
1959
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1960
             </test>
1961
          </with>
1962
      </definition>
1963
      <definition
1964
            id="isSequence">
1965
         <with
1966
               variable="selection">
1967
            <test
1968
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1969
            </test>
1970
         </with>
1971
      </definition>
1972
      <definition
1973
            id="isSingleRead">
1974
         <with
1975
               variable="selection">
1976
            <test
1977
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1978
            </test>
1979
         </with>
1980
      </definition>
1981
      <definition
1982
            id="isSingleReadReusableHere">
1983
         <with
1984
               variable="selection">
1985
            <test
1986
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
1987
            </test>
1988
         </with>
1989
      </definition>
1990
      <definition
1991
            id="isSingleReadReused">
1992
         <with
1993
               variable="selection">
1994
            <test
1995
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
1996
            </test>
1997
         </with>
1998
      </definition>
1999
      <definition
2000
            id="isDerivativeEditorLinkedToTaxonSelection">
2001
         <with
2002
               variable="activeEditor">
2003
            <test
2004
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
2005
            </test>
2006
         </with>
2007
      </definition>
2008
      <definition
2009
            id="isOrphanedTaxon">
2010
         <with
2011
               variable="selection">
2012
            <test
2013
                  forcePluginActivation="true"
2014
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
2015
            </test>
2016
         </with>
2017
      </definition>
2018
   </extension>
2019
   <extension
2020
         point="org.eclipse.core.expressions.propertyTesters">
2021
      <propertyTester
2022
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
2023
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2024
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2025
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
2026
            type="java.lang.Object">
2027
      </propertyTester>
2028
      <propertyTester
2029
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
2030
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2031
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2032
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
2033
            type="org.eclipse.jface.viewers.TreeSelection">
2034
      </propertyTester>
2035
      <propertyTester
2036
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2037
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2038
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2039
            properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
2040
            type="org.eclipse.jface.viewers.IStructuredSelection">
2041
      </propertyTester>
2042
      <propertyTester
2043
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2044
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2045
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2046
            properties="isLinkedWithTaxonSelection"
2047
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
2048
      </propertyTester>
2049
      <propertyTester
2050
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2051
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2052
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2053
            properties="isKeyNode"
2054
            type="org.eclipse.jface.viewers.IStructuredSelection">
2055
      </propertyTester>
2056
   </extension>
2057
   <extension
2058
         point="org.eclipse.ui.bindings">   
2059
      <scheme
2060
            description="%scheme.description"
2061
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
2062
            name="%scheme.name">
2063
      </scheme>
2064
   </extension>
2065
    <!--extension
2066
         point="org.eclipse.ui.importWizards">
2067
      <wizard
2068
            category="eu.etaxonomy.taxeditor.import.category.cdm"
2069
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2070
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2071
            name="%wizard.name">
2072
         <description>
2073
            %wizard.description
2074
         </description>
2075
      </wizard>
2076
   </extension-->
2077
   <extension
2078
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
2079
      <viewCommandMapping
2080
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
2081
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2082
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2083
      </viewCommandMapping>
2084
      <viewCommandMapping
2085
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
2086
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
2087
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2088
      </viewCommandMapping>
2089
      <viewCommandMapping
2090
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2091
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
2092
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2093
      </viewCommandMapping>
2094
      <viewCommandMapping
2095
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2096
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2097
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2098
      </viewCommandMapping>
2099
      <viewCommandMapping
2100
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
2101
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
2102
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
2103
      </viewCommandMapping>
2104
      <viewCommandMapping
2105
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
2106
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
2107
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2108
      </viewCommandMapping>
2109
    </extension>
2110
</plugin>
Add picture from clipboard (Maximum size: 40 MB)