Project

General

Profile

Download (83.1 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
63
            default="false"
64
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65
            name="%editor.name.6">
66
      </editor>
67
      <editor
68
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69
            default="false"
70
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71
            name="%editor.name.7">
72
      </editor>
73
         <editor
74
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75
            icon="icons/check.png"
76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77
            name="%editor.name.8">
78
      </editor>
79
         <editor
80
               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
81
               default="false"
82
               icon="icons/derivate_view-16x16-32.png"
83
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
84
               name="%editor.name.DERIVATIVE_EDITOR">
85
         </editor>
86
   </extension>
87
      <extension
88
            point="org.eclipse.ui.views">
89
         <view
90
               allowMultiple="false"
91
               category="eu.etaxonomy.taxeditor.editor.category"
92
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
93
               icon="icons/address-book-new.png"
94
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
95
               name="%view.name"
96
               restorable="true">
97
         </view>
98
          <view
99
                allowMultiple="false"
100
                category="eu.etaxonomy.taxeditor.editor.category"
101
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
102
                icon="icons/leaf.png"
103
                id="eu.etaxonomy.taxeditor.editor.view.uses"
104
                name="%view.name.0"
105
                restorable="true">
106
         </view>
107
         <view
108
               allowMultiple="false"
109
               category="eu.etaxonomy.taxeditor.editor.category"
110
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
111
               icon="icons/camera-photo.png"
112
               id="eu.etaxonomy.taxeditor.editor.view.media"
113
               name="%view.name.1"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
119
               id="eu.etaxonomy.taxeditor.editor.view.concept"
120
               name="%view.name.2"
121
               restorable="true">
122
         </view>
123
         <view
124
               category="eu.etaxonomy.taxeditor.editor.category"
125
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
126
               icon="icons/address-book-new.png"
127
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
128
               name="%view.name.3"
129
               restorable="true">
130
         </view>
131
         <category
132
               id="eu.etaxonomy.taxeditor.editor.category"
133
               name="%category.name">
134
         </category>
135
         <view
136
               allowMultiple="true"
137
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
138
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
139
               name="%view.name.4">
140
         </view>
141
         <view
142
               allowMultiple="true"
143
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
144
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
145
               name="%view.name.5">
146
         </view>
147
         <view
148
               allowMultiple="false"
149
               category="eu.etaxonomy.taxeditor.editor.category"
150
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
151
               icon="icons/edit_16x16.gif"
152
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
153
               name="%view.name.6">
154
         </view>
155
      </extension>
156
      
157
	<!-- VALIDATION RELATED STUFF -->
158
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
159
		<super type="org.eclipse.core.resources.problemmarker"/>
160
		<attribute name="databaseId"/>
161
		<attribute name="userFriendlyTypeName"/>
162
		<attribute name="userFriendlyDescription"/>
163
		<attribute name="userFriendlyFieldName"/>
164
		<attribute name="validatorMessage"/>
165
		<attribute name="invalidValue"/>
166
		<attribute name="validatorClass"/>
167
		<attribute name="entityClass"/>
168
		<attribute name="entityId"/>
169
   		<persistent value="false"/>
170
   	</extension>
171

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