Project

General

Profile

Download (83.8 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.handler.OpenChecklistEditorHandler"
1341
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler">
1342
         <activeWhen>
1343
            <and>
1344
               <reference
1345
                     definitionId="isChecklistEditorEnabled">
1346
               </reference>
1347
               <or>
1348
                  <reference
1349
                        definitionId="isTaxonNode">
1350
                  </reference>
1351
                  <reference
1352
                        definitionId="isClassification">
1353
                  </reference>
1354
               </or>
1355
            </and>
1356
         </activeWhen>
1357
      </handler>
1358
      <handler
1359
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1360
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
1361
         <enabledWhen>
1362
            <with
1363
                  variable="selection">
1364
               <test
1365
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1366
               </test>
1367
            </with>
1368
         </enabledWhen>
1369
      </handler>
1370
   </extension>
1371
   <extension
1372
         name="%extension.name"
1373
         point="org.eclipse.ui.commands">
1374
      <category
1375
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1376
            name="%category.name.0">
1377
      </category>
1378
      <command
1379
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1380
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1381
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1382
            name="%command.name">
1383
      </command>
1384
      <command
1385
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1386
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1387
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1388
            name="%command.name.0">
1389
      </command>
1390
      <command
1391
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1392
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1393
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1394
            name="%command.name.1">
1395
      </command>
1396
      <command
1397
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1398
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1399
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1400
            name="%command.name.2">
1401
      </command>
1402
     <command
1403
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1404
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1405
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1406
            name="%command.name.36">
1407
      </command>
1408
    <!--  <command
1409
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1410
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1411
            name="Move Taxon">
1412
      </command>-->
1413
      <command
1414
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1415
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1416
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1417
            name="%command.name.3">
1418
      </command>
1419
      <command
1420
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1421
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1422
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1423
            name="%command.name.4">
1424
      </command>
1425
      <command
1426
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1427
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1428
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1429
            name="%command.name.5">
1430
      </command>
1431
      <command
1432
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1433
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1434
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1435
            name="%command.name.6">
1436
      </command>
1437
       <command
1438
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1439
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1440
            id="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
1441
            name="%command.name.57">
1442
      </command>
1443
      <command
1444
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1445
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1446
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1447
            name="%command.name.46">
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.setBasionym"
1453
            name="%command.name.7">
1454
      </command>
1455
      <command
1456
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1457
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1458
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1459
            name="%command.name.8">
1460
      </command>
1461
     <!-- <command
1462
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1463
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1464
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1465
            name="Change Accepted Taxon to Synonym">
1466
      </command>-->
1467
      <command
1468
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1469
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1470
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1471
            name="%command.name.45">
1472
      </command>
1473
      <command
1474
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1475
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1476
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1477
            name="%command.name.9">
1478
      </command>
1479
      <category
1480
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1481
            name="%category.name.1">
1482
      </category>
1483
      <command
1484
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1485
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1486
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1487
            name="%command.name.10">
1488
      </command>
1489
      <command
1490
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1491
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1492
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1493
            name="%command.name.11">
1494
      </command>
1495
       <command
1496
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1497
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1498
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1499
             name="%command.name.48">
1500
      </command>
1501
      <category
1502
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1503
            name="%category.name.2">
1504
      </category>
1505
      <command
1506
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1507
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1508
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1509
            name="%command.name.14">
1510
      </command>
1511
      <command
1512
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1513
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1514
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1515
            name="%command.name.16">
1516
      </command>
1517
      <command
1518
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1519
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1520
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1521
            name="%command.name.15">
1522
      </command>
1523
      <command
1524
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1525
            name="%command.name.47">
1526
      </command>
1527
      <category
1528
            id="eu.etaxonomy.taxeditor.editor.media.category"
1529
            name="%category.name.3">
1530
      </category>
1531
      <command
1532
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1533
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1534
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1535
            name="%command.name.19">
1536
      </command>
1537
      <command
1538
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1539
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1540
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1541
            name="%command.name.20">
1542
      </command>
1543
      <command
1544
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1545
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1546
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1547
            name="%command.name.21">
1548
      </command>
1549
      <command
1550
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1551
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1552
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1553
            name="%command.name.37">
1554
      </command>
1555
      <command
1556
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1557
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1558
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1559
            name="%command.name.22">
1560
      </command>
1561
       <command
1562
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1563
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1564
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1565
            name="%command.name.49">
1566
      </command>
1567
      
1568
      <category
1569
            id="eu.etaxonomy.taxeditor.editor.new.category"
1570
            name="%category.name.4">
1571
      </category>
1572
      <command
1573
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1574
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1575
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1576
            name="%command.name.23">
1577
      </command>
1578
      <command
1579
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1580
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1581
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1582
            name="%command.name.24">
1583
      </command>
1584
      <command
1585
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1586
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1587
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1588
            name="%command.name.25">
1589
      </command>
1590
      <command
1591
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1592
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1593
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1594
            name="%command.name.26">
1595
      </command>
1596
      <category
1597
            id="eu.etaxonomy.taxeditor.editor.key.category"
1598
            name="%category.name.5">
1599
      </category>
1600
      <command
1601
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1602
           
1603
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1604
            name="%command.name.28">
1605
      </command>
1606
       <command
1607
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1608
            
1609
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
1610
            name="%command.name.58">
1611
      </command>
1612
        <command
1613
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1614
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1615
            name="%command.name.29">
1616
      </command>
1617
      <command
1618
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1619
           
1620
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1621
            name="%command.name.30">
1622
      </command>
1623
      <command
1624
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1625
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1626
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1627
            name="%command.name.31">
1628
      </command>
1629
      <command
1630
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1631
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1632
            name="%command.name.50">
1633
      </command>
1634
      <category
1635
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1636
            name="%category.name.6">
1637
      </category>
1638
      <command
1639
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1640
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1641
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1642
            name="%command.name.32">
1643
      </command>
1644
      <command
1645
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1646
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1647
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1648
            name="%command.name.33">
1649
      </command>
1650
      <command
1651
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1652
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1653
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1654
            name="%command.name.51">
1655
      </command>
1656
      <category
1657
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1658
            name="%category.name.7">
1659
      </category>
1660
      <command
1661
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1662
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1663
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1664
            name="%command.name.34">
1665
      </command>
1666
       <command
1667
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1668
             name="%command.name.38">
1669
          <commandParameter
1670
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
1671
                name="taxonNodeUuid"
1672
                optional="true"
1673
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1674
          </commandParameter>
1675
       </command>
1676
      <command
1677
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1678
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1679
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1680
            name="%command.name.39">
1681
      </command>
1682
      <command
1683
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1684
            name="%command.name.41">
1685
      </command>
1686
      <command
1687
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1688
            name="%command.name.42">
1689
         <commandParameter
1690
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1691
               name="%commandParameter.name"
1692
               optional="false"
1693
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1694
         </commandParameter>
1695
      </command>
1696
      <command
1697
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1698
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1699
            name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
1700
         <commandParameter
1701
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1702
               name="taxon node uuid"
1703
               optional="true"
1704
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1705
         </commandParameter>
1706
      </command>
1707
      <command
1708
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1709
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1710
            name="%command.name.44">
1711
      </command>
1712
      <command
1713
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1714
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1715
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1716
            name="%command.name.13">
1717
      </command>
1718
       
1719
      <command
1720
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1721
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1722
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1723
            name="%command.name.12">
1724
      </command>
1725
      <command
1726
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1727
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1728
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1729
         <commandParameter
1730
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
1731
               name="Specimen Uuids"
1732
               optional="true"
1733
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1734
         </commandParameter>
1735
      </command>
1736
      <command
1737
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1738
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1739
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1740
      </command>
1741
      <command
1742
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1743
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1744
            name="%command.name.LINK_WITH_TAXON_SELECTION">
1745
      </command>
1746
      <command
1747
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1748
            id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
1749
            name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
1750
      </command>
1751
      <command
1752
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1753
            id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
1754
            name="%command.name.REUSE_SINGLE_READ">
1755
      </command>
1756
      <command
1757
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1758
            id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
1759
            name="%command.name.REMOVE_SINGLE_READ">
1760
      </command>
1761
      <command
1762
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
1763
            id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
1764
            name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
1765
      </command>
1766
      <command
1767
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenSpecimenEditorForTypeSpecimenHandler"
1768
            id="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
1769
            name="%command.name.OPEN_EDITOR_FOR_TYPE_SPECIMEN">
1770
      </command>
1771
      <command
1772
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptInBulkEditorHandler"
1773
            id="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
1774
            name="Open bulk editor for taxon relationship">
1775
      </command>
1776
        
1777
   </extension>
1778
   <extension
1779
         point="org.eclipse.core.expressions.definitions">
1780
      <definition
1781
            id="nameEditorActive">
1782
         <with
1783
               variable="activeEditorId">
1784
            <equals
1785
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1786
            </equals>
1787
         </with>
1788
      </definition>
1789
      <definition
1790
            id="isAcceptedTaxon">
1791
         <with
1792
               variable="selection">
1793
            <test
1794
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1795
            </test>
1796
         </with>
1797
      </definition>
1798
      <definition
1799
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1800
         <with
1801
               variable="selection">
1802
            <test
1803
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
1804
            </test>
1805
         </with>
1806
      </definition>
1807
       <definition
1808
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
1809
         <with
1810
               variable="selection">
1811
            <test
1812
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
1813
            </test>
1814
         </with>
1815
      </definition>
1816
      <definition
1817
            id="isSynonym">
1818
         <with
1819
               variable="selection">
1820
            <test
1821
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1822
            </test>
1823
         </with>
1824
      </definition>
1825
      <definition
1826
            id="isMisapplication">
1827
         <with
1828
               variable="selection">
1829
            <test
1830
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1831
            </test>
1832
         </with>
1833
      </definition>
1834
      <definition
1835
            id="isTaxonBase">
1836
         <with
1837
               variable="selection">
1838
            <test
1839
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1840
            </test>
1841
         </with>
1842
      </definition>
1843
      <definition
1844
            id="hasEmptyNames">
1845
         <with
1846
               variable="selection">
1847
            <test
1848
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1849
            </test>
1850
         </with>
1851
      </definition>
1852
      <definition
1853
            id="isDeletable">
1854
         <with
1855
               variable="selection">
1856
            <test
1857
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1858
            </test>
1859
         </with>
1860
      </definition>
1861
      <definition
1862
            id="isMedia">
1863
         <with
1864
               variable="selection">
1865
            <test
1866
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1867
            </test>
1868
         </with>
1869
      </definition>
1870
      <definition
1871
            id="isTaxonEditor">
1872
         <with
1873
               variable="selection">
1874
            <test
1875
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1876
            </test>
1877
         </with>
1878
      </definition>
1879
      <definition
1880
            id="isBulkEditor">
1881
         <with
1882
               variable="selection">
1883
            <test
1884
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1885
            </test>
1886
         </with>
1887
      </definition>
1888
      <definition
1889
            id="isDerivateEditor">
1890
         <with
1891
               variable="selection">
1892
            <test
1893
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1894
            </test>
1895
         </with>
1896
      </definition>
1897
      <definition
1898
            id="isDescription">
1899
         <with
1900
               variable="selection">
1901
            <test
1902
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1903
            </test>
1904
         </with>
1905
      </definition>
1906
      <definition
1907
            id="isDescriptionElement">
1908
         <with
1909
               variable="selection">
1910
            <test
1911
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1912
            </test>
1913
         </with>
1914
      </definition>
1915
      <definition
1916
            id="isFeatureNodeContainer">
1917
         <with
1918
               variable="selection">
1919
            <test
1920
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1921
            </test>
1922
         </with>
1923
      </definition>
1924
      <definition
1925
            id="isImageGallery">
1926
         <with
1927
               variable="selection">
1928
            <test
1929
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1930
            </test>
1931
         </with>
1932
      </definition>
1933
      <definition
1934
            id="isAcceptedAndHasNoHomotypicSynonyms">
1935
         <with
1936
               variable="selection">
1937
            <test
1938
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1939
            </test>
1940
         </with>
1941
      </definition>
1942
      <definition
1943
            id="isIndividualsAssociation">
1944
         <with
1945
               variable="selection">
1946
            <test
1947
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1948
            </test>
1949
         </with>
1950
      </definition>
1951
      <definition
1952
            id="isRemoting">
1953
         <test
1954
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1955
         </test>
1956
      </definition>
1957
       <definition
1958
            id="isKeyNode">
1959
          <with
1960
                variable="selection">
1961
             <test
1962
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1963
             </test>
1964
          </with>
1965
      </definition>
1966
      <definition
1967
            id="isSequence">
1968
         <with
1969
               variable="selection">
1970
            <test
1971
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1972
            </test>
1973
         </with>
1974
      </definition>
1975
      <definition
1976
            id="isSingleRead">
1977
         <with
1978
               variable="selection">
1979
            <test
1980
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1981
            </test>
1982
         </with>
1983
      </definition>
1984
      <definition
1985
            id="isSingleReadReusableHere">
1986
         <with
1987
               variable="selection">
1988
            <test
1989
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
1990
            </test>
1991
         </with>
1992
      </definition>
1993
      <definition
1994
            id="isSingleReadReused">
1995
         <with
1996
               variable="selection">
1997
            <test
1998
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
1999
            </test>
2000
         </with>
2001
      </definition>
2002
      <definition
2003
            id="isDerivativeEditorLinkedToTaxonSelection">
2004
         <with
2005
               variable="activeEditor">
2006
            <test
2007
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
2008
            </test>
2009
         </with>
2010
      </definition>
2011
      <definition
2012
            id="isOrphanedTaxon">
2013
         <with
2014
               variable="selection">
2015
            <test
2016
                  forcePluginActivation="true"
2017
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
2018
            </test>
2019
         </with>
2020
      </definition>
2021
   </extension>
2022
   <extension
2023
         point="org.eclipse.core.expressions.propertyTesters">
2024
      <propertyTester
2025
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
2026
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2027
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
2028
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
2029
            type="java.lang.Object">
2030
      </propertyTester>
2031
      <propertyTester
2032
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
2033
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2034
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
2035
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
2036
            type="org.eclipse.jface.viewers.TreeSelection">
2037
      </propertyTester>
2038
      <propertyTester
2039
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2040
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2041
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
2042
            properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
2043
            type="org.eclipse.jface.viewers.IStructuredSelection">
2044
      </propertyTester>
2045
      <propertyTester
2046
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2047
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2048
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
2049
            properties="isLinkedWithTaxonSelection"
2050
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
2051
      </propertyTester>
2052
      <propertyTester
2053
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2054
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2055
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
2056
            properties="isKeyNode"
2057
            type="org.eclipse.jface.viewers.IStructuredSelection">
2058
      </propertyTester>
2059
   </extension>
2060
   <extension
2061
         point="org.eclipse.ui.bindings">   
2062
      <scheme
2063
            description="%scheme.description"
2064
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
2065
            name="%scheme.name">
2066
      </scheme>
2067
   </extension>
2068
    <!--extension
2069
         point="org.eclipse.ui.importWizards">
2070
      <wizard
2071
            category="eu.etaxonomy.taxeditor.import.category.cdm"
2072
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2073
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
2074
            name="%wizard.name">
2075
         <description>
2076
            %wizard.description
2077
         </description>
2078
      </wizard>
2079
   </extension-->
2080
   <extension
2081
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
2082
      <viewCommandMapping
2083
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
2084
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2085
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2086
      </viewCommandMapping>
2087
      <viewCommandMapping
2088
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
2089
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
2090
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2091
      </viewCommandMapping>
2092
      <viewCommandMapping
2093
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2094
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
2095
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2096
      </viewCommandMapping>
2097
      <viewCommandMapping
2098
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2099
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2100
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2101
      </viewCommandMapping>
2102
      <viewCommandMapping
2103
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
2104
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
2105
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
2106
      </viewCommandMapping>
2107
      <viewCommandMapping
2108
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
2109
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
2110
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2111
      </viewCommandMapping>
2112
      <viewCommandMapping
2113
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
2114
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
2115
            viewerName="Name Editor">
2116
      </viewCommandMapping>
2117
      <viewCommandMapping
2118
            commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
2119
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
2120
            viewerName="Bulk Editor">
2121
      </viewCommandMapping>
2122
    </extension>
2123
</plugin>
(5-5/6)