Project

General

Profile

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