Project

General

Profile

Download (84.5 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.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
         <dynamic
1084
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
1085
               id="eu.etaxonomy.taxeditor.view.context.CdmViewerContextMenu">
1086
         </dynamic>
1087
         <separator
1088
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
1089
               visible="true">
1090
         </separator>
1091
         <command
1092
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1093
               label="%command.label.44"
1094
               style="push">
1095
         </command>
1096
      </menuContribution>
1097
      <menuContribution
1098
            allPopups="false"
1099
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1100
         <command
1101
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1102
               label="%command.label.45"
1103
               style="push">
1104
            <visibleWhen>
1105
               <reference
1106
                     definitionId="isGroupEditor">
1107
               </reference>
1108
            </visibleWhen>
1109
         </command>
1110
      </menuContribution>
1111
      <menuContribution
1112
            allPopups="false"
1113
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1114
         <command
1115
               commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1116
               icon="icons/link_obj.gif"
1117
               style="toggle"
1118
               tooltip="%command.tooltip">
1119
         </command>
1120
      </menuContribution>
1121
      <menuContribution
1122
            allPopups="false"
1123
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1124
         <toolbar
1125
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
1126
            <command
1127
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1128
                  icon="icons/synced.gif"
1129
                  label="%command.label.LINK_WITH_TAXON_SELECTIO"
1130
                  style="toggle">
1131
               <visibleWhen
1132
                     checkEnabled="true">
1133
                  <with
1134
                        variable="activePartId">
1135
                     <equals
1136
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1137
                     </equals>
1138
                  </with>
1139
               </visibleWhen>
1140
            </command>
1141
         </toolbar>
1142
      </menuContribution>
1143
      <menuContribution
1144
            locationURI="menu:bulkeditor.menus.openmenu">
1145
         <command
1146
               commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1147
               label="%command.label.DERIVATIVE_EDITOR"
1148
               style="push">
1149
            <visibleWhen
1150
                  checkEnabled="true">
1151
               <reference
1152
                     definitionId="isCdmStoreConnected">
1153
               </reference>
1154
            </visibleWhen>
1155
         </command>
1156
      </menuContribution>
1157
   </extension>
1158
   <extension
1159
         point="org.eclipse.ui.handlers">
1160
      <handler
1161
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1162
            commandId="org.eclipse.ui.window.newEditor">
1163
         <activeWhen>
1164
            <not>
1165
               <instanceof
1166
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1167
               </instanceof>
1168
            </not>
1169
         </activeWhen>
1170
         <enabledWhen>
1171
            <count
1172
                  value="-1">
1173
            </count>
1174
         </enabledWhen>
1175
      </handler>
1176
      <handler
1177
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1178
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1179
         <activeWhen>
1180
            <and>
1181
               <reference
1182
                     definitionId="isTaxonBase">
1183
               </reference>
1184
              <not>
1185
                  <reference
1186
                        definitionId="isAcceptedTaxon">
1187
                  </reference>
1188
               </not>
1189
            </and>
1190
         </activeWhen>
1191
      </handler>
1192
      <handler
1193
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1194
            commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1195
          <activeWhen>
1196
             <with
1197
                   variable="activePartId">
1198
                <or>
1199
                   <equals
1200
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1201
                   </equals>
1202
                   <equals
1203
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1204
                   </equals>
1205
                   <equals
1206
                     	value="eu.etaxonomy.taxeditor.editor.view.uses">
1207
               		</equals>
1208
                </or>
1209
           	 </with>
1210
         </activeWhen>
1211
      </handler>
1212
      <handler
1213
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1214
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
1215
         <activeWhen>
1216
           <with
1217
                  variable="activePartId">
1218
               <equals
1219
                     value="eu.etaxonomy.taxeditor.editor.key">
1220
               </equals>
1221
            </with>
1222
         </activeWhen>
1223
         <enabledWhen>
1224
            <with
1225
                  variable="selection">
1226
               <test
1227
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1228
               </test>
1229
            </with>
1230
         </enabledWhen>
1231
      </handler>
1232
      <handler
1233
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1234
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1235
         <activeWhen>
1236
            <with
1237
                  variable="activePartId">
1238
               <equals
1239
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1240
               </equals>
1241
            </with>
1242
         </activeWhen>
1243
      </handler>
1244
      <handler
1245
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1246
            commandId="org.eclipse.ui.edit.delete">
1247
         <activeWhen>
1248
            <with
1249
                  variable="activePartId">
1250
               <equals
1251
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1252
               </equals>
1253
            </with>
1254
         </activeWhen>
1255
      </handler>
1256
      <handler
1257
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1258
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1259
      </handler>
1260
      <handler
1261
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1262
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1263
        <activeWhen>
1264
            <reference
1265
                  definitionId="isRemoting">
1266
            </reference>
1267
         </activeWhen>
1268
      </handler>
1269
       <handler
1270
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
1271
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
1272
          <enabledWhen>
1273
             <with
1274
                   variable="selection">
1275
            <test
1276
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1277
            </test>
1278
         
1279
             </with>
1280
          </enabledWhen>
1281
      </handler>
1282
      <handler
1283
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1284
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1285
         <activeWhen>
1286
            <with
1287
                  variable="activePartId">
1288
               <equals
1289
                     value="eu.etaxonomy.taxeditor.editor.key">
1290
               </equals>
1291
            </with>
1292
         </activeWhen>
1293
         <enabledWhen>
1294
             <with
1295
                   variable="selection">
1296
            <test
1297
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1298
            </test>
1299
         
1300
             </with>
1301
          </enabledWhen>
1302
      </handler>
1303
      <handler
1304
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
1305
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
1306
         <activeWhen>
1307
            <with
1308
                  variable="activePartId">
1309
               <equals
1310
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1311
               </equals>
1312
            </with>
1313
         </activeWhen>
1314
      </handler>
1315
      <handler
1316
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement"
1317
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1318
         <activeWhen>
1319
            <with
1320
                  variable="activePartId">
1321
               <equals
1322
                     value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1323
               </equals>
1324
            </with>
1325
         </activeWhen>
1326
      </handler>
1327
      <handler
1328
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForTaxonNode"
1329
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1330
         <activeWhen>
1331
            <with
1332
                  variable="selection">
1333
               <reference
1334
                     definitionId="isTaxonNode">
1335
               </reference>
1336
            </with>
1337
         </activeWhen>
1338
      </handler>
1339
      <handler
1340
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForSpecimenOrOBservationBase"
1341
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1342
         <activeWhen>
1343
            <with
1344
                  variable="activePartId">
1345
               <equals
1346
                     value="bulkeditor.editor">
1347
               </equals>
1348
            </with>
1349
         </activeWhen>
1350
      </handler>
1351
      <handler
1352
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1353
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler">
1354
         <activeWhen>
1355
            <and>
1356
               <reference
1357
                     definitionId="isChecklistEditorEnabled">
1358
               </reference>
1359
               <or>
1360
                  <reference
1361
                        definitionId="isTaxonNode">
1362
                  </reference>
1363
                  <reference
1364
                        definitionId="isClassification">
1365
                  </reference>
1366
               </or>
1367
            </and>
1368
         </activeWhen>
1369
      </handler>
1370
      <handler
1371
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1372
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
1373
         <enabledWhen>
1374
            <with
1375
                  variable="selection">
1376
               <test
1377
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1378
               </test>
1379
            </with>
1380
         </enabledWhen>
1381
      </handler>
1382
   </extension>
1383
   <extension
1384
         name="%extension.name"
1385
         point="org.eclipse.ui.commands">
1386
      <category
1387
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1388
            name="%category.name.0">
1389
      </category>
1390
      <command
1391
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1392
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1393
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1394
            name="%command.name">
1395
      </command>
1396
      <command
1397
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1398
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1399
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1400
            name="%command.name.0">
1401
      </command>
1402
      <command
1403
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1404
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1405
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1406
            name="%command.name.1">
1407
      </command>
1408
      <command
1409
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1410
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1411
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1412
            name="%command.name.2">
1413
      </command>
1414
     <command
1415
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1416
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1417
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1418
            name="%command.name.36">
1419
      </command>
1420
    <!--  <command
1421
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1422
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1423
            name="Move Taxon">
1424
      </command>-->
1425
      <command
1426
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1427
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1428
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1429
            name="%command.name.3">
1430
      </command>
1431
      <command
1432
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1433
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1434
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1435
            name="%command.name.4">
1436
      </command>
1437
      <command
1438
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1439
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1440
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1441
            name="%command.name.5">
1442
      </command>
1443
      <command
1444
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1445
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1446
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1447
            name="%command.name.6">
1448
      </command>
1449
       <command
1450
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1451
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1452
            id="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
1453
            name="%command.name.57">
1454
      </command>
1455
      <command
1456
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1457
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1458
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1459
            name="%command.name.46">
1460
      </command>
1461
      <command
1462
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1463
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1464
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1465
            name="%command.name.7">
1466
      </command>
1467
      <command
1468
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1469
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1470
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1471
            name="%command.name.8">
1472
      </command>
1473
     <!-- <command
1474
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1475
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1476
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1477
            name="Change Accepted Taxon to Synonym">
1478
      </command>-->
1479
      <command
1480
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1481
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1482
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1483
            name="%command.name.45">
1484
      </command>
1485
      <command
1486
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1487
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1488
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1489
            name="%command.name.9">
1490
      </command>
1491
      <category
1492
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1493
            name="%category.name.1">
1494
      </category>
1495
      <command
1496
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1497
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1498
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1499
            name="%command.name.10">
1500
      </command>
1501
      <command
1502
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1503
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1504
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1505
            name="%command.name.11">
1506
      </command>
1507
       <command
1508
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1509
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1510
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1511
             name="%command.name.48">
1512
      </command>
1513
      <category
1514
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1515
            name="%category.name.2">
1516
      </category>
1517
      <command
1518
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1519
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1520
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1521
            name="%command.name.14">
1522
      </command>
1523
      <command
1524
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1525
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1526
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1527
            name="%command.name.16">
1528
      </command>
1529
      <command
1530
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1531
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1532
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1533
            name="%command.name.15">
1534
      </command>
1535
      <command
1536
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1537
            name="%command.name.47">
1538
      </command>
1539
      <category
1540
            id="eu.etaxonomy.taxeditor.editor.media.category"
1541
            name="%category.name.3">
1542
      </category>
1543
      <command
1544
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1545
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1546
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1547
            name="%command.name.19">
1548
      </command>
1549
      <command
1550
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1551
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1552
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1553
            name="%command.name.20">
1554
      </command>
1555
      <command
1556
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1557
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1558
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1559
            name="%command.name.21">
1560
      </command>
1561
      <command
1562
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1563
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1564
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1565
            name="%command.name.37">
1566
      </command>
1567
      <command
1568
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1569
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1570
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1571
            name="%command.name.22">
1572
      </command>
1573
       <command
1574
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1575
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1576
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1577
            name="%command.name.49">
1578
      </command>
1579
      
1580
      <category
1581
            id="eu.etaxonomy.taxeditor.editor.new.category"
1582
            name="%category.name.4">
1583
      </category>
1584
      <command
1585
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1586
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1587
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1588
            name="%command.name.23">
1589
      </command>
1590
      <command
1591
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1592
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1593
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1594
            name="%command.name.24">
1595
      </command>
1596
      <command
1597
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1598
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1599
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1600
            name="%command.name.25">
1601
      </command>
1602
      <command
1603
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1604
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1605
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1606
            name="%command.name.26">
1607
      </command>
1608
      <category
1609
            id="eu.etaxonomy.taxeditor.editor.key.category"
1610
            name="%category.name.5">
1611
      </category>
1612
      <command
1613
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1614
           
1615
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1616
            name="%command.name.28">
1617
      </command>
1618
       <command
1619
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1620
            
1621
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
1622
            name="%command.name.58">
1623
      </command>
1624
        <command
1625
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1626
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1627
            name="%command.name.29">
1628
      </command>
1629
      <command
1630
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1631
           
1632
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1633
            name="%command.name.30">
1634
      </command>
1635
      <command
1636
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1637
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1638
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1639
            name="%command.name.31">
1640
      </command>
1641
      <command
1642
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1643
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1644
            name="%command.name.50">
1645
      </command>
1646
      <category
1647
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1648
            name="%category.name.6">
1649
      </category>
1650
      <command
1651
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1652
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1653
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1654
            name="%command.name.32">
1655
      </command>
1656
      <command
1657
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1658
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1659
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1660
            name="%command.name.33">
1661
      </command>
1662
      <command
1663
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1664
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1665
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1666
            name="%command.name.51">
1667
      </command>
1668
      <category
1669
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1670
            name="%category.name.7">
1671
      </category>
1672
      <command
1673
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1674
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1675
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1676
            name="%command.name.34">
1677
      </command>
1678
       <command
1679
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1680
             name="%command.name.38">
1681
          <commandParameter
1682
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
1683
                name="taxonNodeUuid"
1684
                optional="true"
1685
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1686
          </commandParameter>
1687
       </command>
1688
      <command
1689
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1690
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1691
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1692
            name="%command.name.39">
1693
      </command>
1694
      <command
1695
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1696
            name="%command.name.41">
1697
      </command>
1698
      <command
1699
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1700
            name="%command.name.42">
1701
         <commandParameter
1702
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1703
               name="%commandParameter.name"
1704
               optional="false"
1705
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1706
         </commandParameter>
1707
      </command>
1708
      <command
1709
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1710
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1711
            name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
1712
         <commandParameter
1713
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1714
               name="taxon node uuid"
1715
               optional="true"
1716
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1717
         </commandParameter>
1718
      </command>
1719
      <command
1720
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1721
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1722
            name="%command.name.44">
1723
      </command>
1724
      <command
1725
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1726
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1727
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1728
            name="%command.name.13">
1729
      </command>
1730
       
1731
      <command
1732
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1733
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1734
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1735
            name="%command.name.12">
1736
      </command>
1737
      <command
1738
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1739
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1740
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1741
         <commandParameter
1742
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
1743
               name="Specimen Uuids"
1744
               optional="true"
1745
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1746
         </commandParameter>
1747
      </command>
1748
      <command
1749
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1750
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1751
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1752
      </command>
1753
      <command
1754
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1755
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1756
            name="%command.name.LINK_WITH_TAXON_SELECTION">
1757
      </command>
1758
      <command
1759
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1760
            id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
1761
            name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
1762
      </command>
1763
      <command
1764
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1765
            id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
1766
            name="%command.name.REUSE_SINGLE_READ">
1767
      </command>
1768
      <command
1769
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1770
            id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
1771
            name="%command.name.REMOVE_SINGLE_READ">
1772
      </command>
1773
      <command
1774
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
1775
            id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
1776
            name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
1777
      </command>
1778
      <command
1779
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenSpecimenEditorForTypeSpecimenHandler"
1780
            id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
1781
            name="%command.name.OPEN_EDITOR_FOR_TYPE_SPECIMEN">
1782
      </command>
1783
      <command
1784
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptInBulkEditorHandler"
1785
            id="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
1786
            name="Open bulk editor for taxon relationship">
1787
      </command>
1788
        
1789
   </extension>
1790
   <extension
1791
         point="org.eclipse.core.expressions.definitions">
1792
      <definition
1793
            id="nameEditorActive">
1794
         <with
1795
               variable="activeEditorId">
1796
            <equals
1797
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1798
            </equals>
1799
         </with>
1800
      </definition>
1801
      <definition
1802
            id="isAcceptedTaxon">
1803
         <with
1804
               variable="selection">
1805
            <test
1806
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1807
            </test>
1808
         </with>
1809
      </definition>
1810
      <definition
1811
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1812
         <with
1813
               variable="selection">
1814
            <test
1815
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
1816
            </test>
1817
         </with>
1818
      </definition>
1819
       <definition
1820
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
1821
         <with
1822
               variable="selection">
1823
            <test
1824
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
1825
            </test>
1826
         </with>
1827
      </definition>
1828
      <definition
1829
            id="isSynonym">
1830
         <with
1831
               variable="selection">
1832
            <test
1833
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1834
            </test>
1835
         </with>
1836
      </definition>
1837
      <definition
1838
            id="isMisapplication">
1839
         <with
1840
               variable="selection">
1841
            <test
1842
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1843
            </test>
1844
         </with>
1845
      </definition>
1846
      <definition
1847
            id="isTaxonBase">
1848
         <with
1849
               variable="selection">
1850
            <test
1851
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1852
            </test>
1853
         </with>
1854
      </definition>
1855
      <definition
1856
            id="hasEmptyNames">
1857
         <with
1858
               variable="selection">
1859
            <test
1860
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1861
            </test>
1862
         </with>
1863
      </definition>
1864
      <definition
1865
            id="isDeletable">
1866
         <with
1867
               variable="selection">
1868
            <test
1869
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1870
            </test>
1871
         </with>
1872
      </definition>
1873
      <definition
1874
            id="isMedia">
1875
         <with
1876
               variable="selection">
1877
            <test
1878
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1879
            </test>
1880
         </with>
1881
      </definition>
1882
      <definition
1883
            id="isTaxonEditor">
1884
         <with
1885
               variable="selection">
1886
            <test
1887
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1888
            </test>
1889
         </with>
1890
      </definition>
1891
      <definition
1892
            id="isBulkEditor">
1893
         <with
1894
               variable="selection">
1895
            <test
1896
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1897
            </test>
1898
         </with>
1899
      </definition>
1900
      <definition
1901
            id="isDerivateEditor">
1902
         <with
1903
               variable="selection">
1904
            <test
1905
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1906
            </test>
1907
         </with>
1908
      </definition>
1909
      <definition
1910
            id="isDescription">
1911
         <with
1912
               variable="selection">
1913
            <test
1914
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1915
            </test>
1916
         </with>
1917
      </definition>
1918
      <definition
1919
            id="isDescriptionElement">
1920
         <with
1921
               variable="selection">
1922
            <test
1923
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1924
            </test>
1925
         </with>
1926
      </definition>
1927
      <definition
1928
            id="isFeatureNodeContainer">
1929
         <with
1930
               variable="selection">
1931
            <test
1932
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1933
            </test>
1934
         </with>
1935
      </definition>
1936
      <definition
1937
            id="isImageGallery">
1938
         <with
1939
               variable="selection">
1940
            <test
1941
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1942
            </test>
1943
         </with>
1944
      </definition>
1945
      <definition
1946
            id="isAcceptedAndHasNoHomotypicSynonyms">
1947
         <with
1948
               variable="selection">
1949
            <test
1950
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1951
            </test>
1952
         </with>
1953
      </definition>
1954
      <definition
1955
            id="isIndividualsAssociation">
1956
         <with
1957
               variable="selection">
1958
            <test
1959
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1960
            </test>
1961
         </with>
1962
      </definition>
1963
      <definition
1964
            id="isRemoting">
1965
         <test
1966
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1967
         </test>
1968
      </definition>
1969
       <definition
1970
            id="isKeyNode">
1971
          <with
1972
                variable="selection">
1973
             <test
1974
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1975
             </test>
1976
          </with>
1977
      </definition>
1978
      <definition
1979
            id="isSequence">
1980
         <with
1981
               variable="selection">
1982
            <test
1983
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1984
            </test>
1985
         </with>
1986
      </definition>
1987
      <definition
1988
            id="isSingleRead">
1989
         <with
1990
               variable="selection">
1991
            <test
1992
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1993
            </test>
1994
         </with>
1995
      </definition>
1996
      <definition
1997
            id="isSingleReadReusableHere">
1998
         <with
1999
               variable="selection">
2000
            <test
2001
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
2002
            </test>
2003
         </with>
2004
      </definition>
2005
      <definition
2006
            id="isSingleReadReused">
2007
         <with
2008
               variable="selection">
2009
            <test
2010
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
2011
            </test>
2012
         </with>
2013
      </definition>
2014
      <definition
2015
            id="isDerivativeEditorLinkedToTaxonSelection">
2016
         <with
2017
               variable="activeEditor">
2018
            <test
2019
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
2020
            </test>
2021
         </with>
2022
      </definition>
2023
      <definition
2024
            id="isOrphanedTaxon">
2025
         <with
2026
               variable="selection">
2027
            <test
2028
                  forcePluginActivation="true"
2029
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
2030
            </test>
2031
         </with>
2032
      </definition>
2033
   </extension>
2034
   <extension
2035
         point="org.eclipse.core.expressions.propertyTesters">
2036
      <propertyTester
2037
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
2038
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2039
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2040
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
2041
            type="java.lang.Object">
2042
      </propertyTester>
2043
      <propertyTester
2044
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
2045
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2046
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2047
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
2048
            type="org.eclipse.jface.viewers.TreeSelection">
2049
      </propertyTester>
2050
      <propertyTester
2051
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2052
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2053
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2054
            properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
2055
            type="org.eclipse.jface.viewers.IStructuredSelection">
2056
      </propertyTester>
2057
      <propertyTester
2058
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2059
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2060
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2061
            properties="isLinkedWithTaxonSelection"
2062
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
2063
      </propertyTester>
2064
      <propertyTester
2065
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2066
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2067
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2068
            properties="isKeyNode"
2069
            type="org.eclipse.jface.viewers.IStructuredSelection">
2070
      </propertyTester>
2071
   </extension>
2072
   <extension
2073
         point="org.eclipse.ui.bindings">   
2074
      <scheme
2075
            description="%scheme.description"
2076
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
2077
            name="%scheme.name">
2078
      </scheme>
2079
   </extension>
2080
    <!--extension
2081
         point="org.eclipse.ui.importWizards">
2082
      <wizard
2083
            category="eu.etaxonomy.taxeditor.import.category.cdm"
2084
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2085
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2086
            name="%wizard.name">
2087
         <description>
2088
            %wizard.description
2089
         </description>
2090
      </wizard>
2091
   </extension-->
2092
   <extension
2093
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
2094
      <viewCommandMapping
2095
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
2096
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2097
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2098
      </viewCommandMapping>
2099
      <viewCommandMapping
2100
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
2101
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
2102
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2103
      </viewCommandMapping>
2104
      <viewCommandMapping
2105
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2106
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
2107
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2108
      </viewCommandMapping>
2109
      <viewCommandMapping
2110
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2111
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2112
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2113
      </viewCommandMapping>
2114
      <viewCommandMapping
2115
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
2116
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
2117
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
2118
      </viewCommandMapping>
2119
      <viewCommandMapping
2120
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
2121
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
2122
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2123
      </viewCommandMapping>
2124
      <viewCommandMapping
2125
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
2126
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
2127
            viewerName="Name Editor">
2128
      </viewCommandMapping>
2129
      <viewCommandMapping
2130
            commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
2131
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
2132
            viewerName="Bulk Editor">
2133
      </viewCommandMapping>
2134
      <viewCommandMapping
2135
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2136
            selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
2137
            viewerName="Specimen Editor">
2138
      </viewCommandMapping>
2139
    </extension>
2140
</plugin>
(5-5/6)