Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (78.9 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%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
   </extension>
80
      <extension
81
            point="org.eclipse.ui.views">
82
         <view
83
               allowMultiple="false"
84
               category="eu.etaxonomy.taxeditor.editor.category"
85
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
86
               icon="icons/address-book-new.png"
87
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
88
               name="%view.name"
89
               restorable="true">
90
         </view>
91
          <view
92
                allowMultiple="false"
93
                category="eu.etaxonomy.taxeditor.editor.category"
94
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
95
                icon="icons/leaf.png"
96
                id="eu.etaxonomy.taxeditor.editor.view.uses"
97
                name="%view.name.0"
98
                restorable="true">
99
         </view>
100
         <view
101
               allowMultiple="false"
102
               category="eu.etaxonomy.taxeditor.editor.category"
103
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
104
               icon="icons/camera-photo.png"
105
               id="eu.etaxonomy.taxeditor.editor.view.media"
106
               name="%view.name.1"
107
               restorable="true">
108
         </view>
109
         <view
110
               category="eu.etaxonomy.taxeditor.editor.category"
111
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
112
               id="eu.etaxonomy.taxeditor.editor.view.concept"
113
               name="%view.name.2"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
119
               icon="icons/address-book-new.png"
120
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
121
               name="%view.name.3"
122
               restorable="true">
123
         </view>
124
         <category
125
               id="eu.etaxonomy.taxeditor.editor.category"
126
               name="%category.name">
127
         </category>
128
         <view
129
               allowMultiple="true"
130
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
131
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
132
               name="%view.name.4">
133
         </view>
134
         <view
135
               allowMultiple="true"
136
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
137
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
138
               name="%view.name.5">
139
         </view>
140
         <view
141
               allowMultiple="false"
142
               category="eu.etaxonomy.taxeditor.editor.category"
143
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
144
               icon="icons/edit_16x16.gif"
145
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146
               name="%view.name.6">
147
         </view>
148
      </extension>
149
      
150
        <!-- VALIDATION RELATED STUFF -->
151
        <extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
152
                <super type="org.eclipse.core.resources.problemmarker"/>
153
                <attribute name="databaseId"/>
154
                <attribute name="userFriendlyTypeName"/>
155
                <attribute name="userFriendlyDescription"/>
156
                <attribute name="userFriendlyFieldName"/>
157
                <attribute name="validatorMessage"/>
158
                <attribute name="invalidValue"/>
159
                <attribute name="validatorClass"/>
160
                <attribute name="entityClass"/>
161
                <attribute name="entityId"/>
162
                   <persistent value="false"/>
163
           </extension>
164

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