Project

General

Profile

Download (84.3 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
   </extension>
80
      <extension
81
            point="org.eclipse.ui.views">
82
         <view
83
               allowMultiple="false"
84
               category="eu.etaxonomy.taxeditor.editor.category"
85
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
86
               icon="icons/address-book-new.png"
87
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
88
               name="%view.name"
89
               restorable="true">
90
         </view>
91
          <view
92
                allowMultiple="false"
93
                category="eu.etaxonomy.taxeditor.editor.category"
94
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
95
                icon="icons/leaf.png"
96
                id="eu.etaxonomy.taxeditor.editor.view.uses"
97
                name="%view.name.0"
98
                restorable="true">
99
         </view>
100
         <view
101
               allowMultiple="false"
102
               category="eu.etaxonomy.taxeditor.editor.category"
103
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
104
               icon="icons/camera-photo.png"
105
               id="eu.etaxonomy.taxeditor.editor.view.media"
106
               name="%view.name.1"
107
               restorable="true">
108
         </view>
109
         <view
110
               category="eu.etaxonomy.taxeditor.editor.category"
111
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
112
               id="eu.etaxonomy.taxeditor.editor.view.concept"
113
               name="%view.name.2"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
119
               icon="icons/address-book-new.png"
120
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
121
               name="%view.name.3"
122
               restorable="true">
123
         </view>
124
         <category
125
               id="eu.etaxonomy.taxeditor.editor.category"
126
               name="%category.name">
127
         </category>
128
         <view
129
               allowMultiple="true"
130
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
131
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
132
               name="%view.name.4">
133
         </view>
134
         <view
135
               allowMultiple="true"
136
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
137
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
138
               name="%view.name.5">
139
         </view>
140
         <view
141
               allowMultiple="false"
142
               category="eu.etaxonomy.taxeditor.editor.category"
143
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
144
               icon="icons/edit_16x16.gif"
145
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146
               name="%view.name.6">
147
         </view>
148
      </extension>
149
      
150
	<!-- VALIDATION RELATED STUFF -->
151
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
152
		<super type="org.eclipse.core.resources.problemmarker"/>
153
		<attribute name="databaseId"/>
154
		<attribute name="userFriendlyTypeName"/>
155
		<attribute name="userFriendlyDescription"/>
156
		<attribute name="userFriendlyFieldName"/>
157
		<attribute name="validatorMessage"/>
158
		<attribute name="invalidValue"/>
159
		<attribute name="validatorClass"/>
160
		<attribute name="entityClass"/>
161
		<attribute name="entityId"/>
162
   		<persistent value="false"/>
163
   	</extension>
164

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