Project

General

Profile

Download (75.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
63
            default="false"
64
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65
            name="%editor.name.6">
66
      </editor>
67
      <editor
68
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69
            default="false"
70
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71
            name="%editor.name.7">
72
      </editor>
73
         <editor
74
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75
            icon="icons/check.png"
76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77
            name="%editor.name.8">
78
      </editor>
79
         <editor
80
               class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
81
               default="false"
82
               icon="icons/derivate_view-16x16-32.png"
83
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
84
               name="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
         <command
302
               commandId="org.eclipse.ui.views.showView"
303
               label="%command.label.4"
304
               style="push">
305
            <parameter
306
                  name="org.eclipse.ui.views.showView.viewId"
307
                  value="eu.etaxonomy.taxeditor.editor.view.descriptive">
308
            </parameter>
309
            <visibleWhen
310
                  checkEnabled="true">
311
               <reference
312
                     definitionId="isCdmStoreConnected">
313
               </reference>
314
            </visibleWhen>
315
         </command>
316
         <separator
317
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
318
               visible="true">
319
         </separator>
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.openSpecimenEditor"
376
               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?after=org.eclipse.ui.views.showView.supplemental">
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
                  <not>
503
                     <or>
504
                        <reference
505
                              definitionId="isAcceptedTaxon">
506
                        </reference>
507
                        <reference
508
                              definitionId="isMisapplication">
509
                        </reference>
510
                        <reference
511
                              definitionId="isHomotypicSynonymOfAcceptedTaxon">
512
                        </reference>
513
                     </or>
514
                  </not>
515
               </visibleWhen>
516
            </command>
517
            <command
518
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
519
                  label="%command.label.13"
520
                  style="push">
521
               <visibleWhen>
522
                  <not>
523
                     <or>
524
                        <reference
525
                              definitionId="isAcceptedTaxon">
526
                        </reference>
527
                        <reference
528
                              definitionId="isSynonym">
529
                        </reference>
530
                     </or>
531
                  </not>
532
               </visibleWhen>
533
            </command>
534
            <command
535
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
536
                  label="%command.label.14"
537
                  style="push">
538
               <visibleWhen>
539
                  <not>
540
                     <or>
541
                        <reference
542
                              definitionId="isAcceptedTaxon">
543
                        </reference>
544
                        <reference
545
                              definitionId="isMisapplication">
546
                        </reference>
547
                     </or>
548
                  </not>
549
               </visibleWhen>
550
            </command>
551
         </menu>
552
         <separator
553
               name="taxeditor-editor.separator1"
554
               visible="true">
555
         </separator>
556
         <command
557
               commandId="eu.etaxonomy.taxeditor.editor.name.delete"
558
               label="%command.label.15"
559
               style="push">
560
            <visibleWhen>
561
               <or>
562
                  <reference
563
                        definitionId="isSynonym">
564
                  </reference>
565
                  <reference
566
                        definitionId="isMisapplication">
567
                  </reference>
568
                  <reference
569
                        definitionId="isConceptRelation">
570
                  </reference>
571
               </or>
572
            </visibleWhen>
573
         </command>
574
         <command
575
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
576
               label="%command.label.16"
577
               style="push">
578
            <visibleWhen>
579
               <reference
580
                     definitionId="hasEmptyNames">
581
               </reference>
582
            </visibleWhen>
583
         </command>
584
         <separator
585
               name="taxeditor-editor.separator2"
586
               visible="true">
587
         </separator>
588
         <dynamic
589
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
590
               id="taxeditor-editor.dynamic.setBasionym">
591
            <visibleWhen>
592
               <or>
593
                  <reference
594
                        definitionId="isAcceptedTaxon">
595
                  </reference>
596
                  <reference
597
                        definitionId="isSynonym">
598
                  </reference>
599
               </or>
600
            </visibleWhen>
601
         </dynamic>
602
         <command
603
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
604
               label="%command.label.17"
605
               style="push">
606
            <visibleWhen>
607
               <reference
608
                     definitionId="isSynonym">
609
               </reference>
610
            </visibleWhen>
611
         </command>
612
         <command
613
                  commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
614
                  label="%command.label.56"
615
                  style="push">
616
               <visibleWhen>
617
                   <reference
618
                         definitionId="isSynonym">
619
                   </reference>
620
                </visibleWhen>
621
          </command>
622
         <separator
623
               name="taxeditor-editor.separator3"
624
               visible="true">
625
         </separator>
626
         <command
627
               commandId="org.eclipse.ui.views.showView"
628
               label="%command.label.18"
629
               style="push">
630
            <parameter
631
                  name="org.eclipse.ui.views.showView.viewId"
632
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
633
            </parameter>
634
         </command>
635
         <separator
636
               name="taxeditor-editor.separator4"
637
               visible="true">
638
         </separator>
639
         <command
640
               commandId="org.eclipse.ui.file.save"
641
               label="%command.label.19"
642
               style="push">
643
         </command>
644
      </menuContribution>
645
      <menuContribution
646
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
647
         <command
648
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
649
               label="%command.label.20"
650
               style="push">
651
         </command>
652
         <separator
653
               name="taxeditor-editor.separator1"
654
               visible="true">
655
         </separator>
656
         <command
657
               commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
658
               label="%command.label.21"
659
               style="push">
660
         </command>
661
         <separator
662
               name="taxeditor-editor.separator2"
663
               visible="true">
664
         </separator>
665
         <command
666
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
667
               label="%command.label.22"
668
               style="push">
669
         </command>
670
         <separator
671
               name="taxeditor-editor.separator3"
672
               visible="true">
673
         </separator>
674
      </menuContribution>
675
      <menuContribution
676
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
677
         <command
678
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
679
               label="%command.label.23"
680
               style="push">
681
         </command>
682
         <command
683
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
684
               label="%command.label.24"
685
               style="push">
686
         </command>
687
         <command
688
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
689
               label="%command.label.25"
690
               style="push">
691
         </command>
692
         <command
693
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
694
               label="%command.label.26"
695
               style="push">
696
         </command>
697
      </menuContribution>
698
      <menuContribution
699
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
700
         <command
701
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
702
               label="%command.label.27"
703
               style="push">
704
         </command>
705
         <separator
706
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
707
               visible="true">
708
         </separator>
709
         <menu
710
               label="%menu.label.1">
711
            <dynamic
712
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
713
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
714
            </dynamic>
715
            <visibleWhen
716
                  checkEnabled="true">
717
               <or>
718
                  <reference
719
                        definitionId="isDescription">
720
                  </reference>
721
                  <reference
722
                        definitionId="isDescriptionElement">
723
                  </reference>
724
                  <reference
725
                        definitionId="isFeatureNodeContainer">
726
                  </reference>
727
               </or>
728
            </visibleWhen>
729
         </menu>
730
         <command
731
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
732
               label="%command.label.28"
733
               style="push">
734
            <visibleWhen
735
                  checkEnabled="true">
736
               <reference
737
                     definitionId="isDescription">
738
               </reference>
739
            </visibleWhen>
740
         </command>
741
         <command
742
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
743
               label="%command.label.29"
744
               style="push">
745
            <visibleWhen
746
                  checkEnabled="true">
747
               <or>
748
                  <reference
749
                        definitionId="isFeatureNodeContainer">
750
                  </reference>
751
                   <reference
752
                        definitionId="isDescriptionElement">
753
                  </reference>
754
              </or>
755
            </visibleWhen>
756
         </command>
757
         <separator
758
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
759
               visible="true">
760
         </separator>
761
                  <command
762
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
763
               label="%command.label.30"
764
               style="push">
765
         </command>
766
         <separator
767
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
768
               visible="true">
769
         </separator>
770
         <command
771
               commandId="org.eclipse.ui.file.save"
772
               label="%command.label.31"
773
               style="push">
774
         </command>
775
         <separator
776
               name="eu.etaxonomy.taxeditor.editor.separator1">
777
         </separator>
778
      </menuContribution>
779
      <menuContribution
780
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
781
         <separator
782
               name="eu.etaxonomy.taxeditor.editor.separator4"
783
               visible="true">
784
         </separator>
785
         <dynamic
786
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
787
               id="eu.etaxonomy.taxeditor.editor.derivativeEditor.CdmViewerContextMenu">
788
         </dynamic>
789
         <dynamic
790
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
791
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
792
         </dynamic>
793
         <command
794
               commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
795
               label="Link with taxon selection"
796
               style="push">
797
            <visibleWhen
798
                  checkEnabled="true">
799
               <not>
800
                  <reference
801
                        definitionId="isDerivativeEditorLinkedToTaxonSelection">
802
                  </reference>
803
               </not>
804
            </visibleWhen>
805
         </command>
806
         <command
807
               commandId="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
808
               label="Unlink from taxon selection"
809
               style="push">
810
            <visibleWhen
811
                  checkEnabled="true">
812
               <reference
813
                     definitionId="isDerivativeEditorLinkedToTaxonSelection">
814
               </reference>
815
            </visibleWhen>
816
         </command>
817
         <separator
818
               name="eu.etaxonomy.taxeditor.editor.separator3"
819
               visible="true">
820
         </separator>
821
         <command
822
               commandId="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
823
               id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleReadMenuItem"
824
               label="Reuse single read here"
825
               style="push">
826
            <visibleWhen
827
                  checkEnabled="true">
828
               <reference
829
                     definitionId="isSingleReadReusableHere">
830
               </reference>
831
            </visibleWhen>
832
         </command>
833
         <command
834
               commandId="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
835
               label="Reuse for other sequence"
836
               style="push">
837
            <visibleWhen
838
                  checkEnabled="true">
839
               <reference
840
                     definitionId="isSingleRead">
841
               </reference>
842
            </visibleWhen>
843
         </command>
844
         <command
845
               commandId="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
846
               label="Remove from this sequence"
847
               style="push">
848
            <visibleWhen
849
                  checkEnabled="true">
850
               <reference
851
                     definitionId="isSingleReadReused">
852
               </reference>
853
            </visibleWhen>
854
         </command>
855
         <separator
856
               name="eu.etaxonomy.taxeditor.editor.separator7"
857
               visible="true">
858
         </separator>
859
         <command
860
               commandId="org.eclipse.ui.edit.delete"
861
               label="%command.label.52"
862
               style="push">
863
         </command>
864
         <command
865
               commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
866
               icon="icons/deep-delete-16x16-32.png"
867
               label="%command.label.54"
868
               style="push">
869
         </command>
870
      </menuContribution>
871
      <menuContribution
872
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
873
         <dynamic
874
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
875
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
876
         </dynamic>
877
      </menuContribution>
878
      <menuContribution
879
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
880
         <dynamic
881
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
882
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
883
         </dynamic>
884
      </menuContribution>
885
      
886
      
887
      
888
      
889
      <menuContribution
890
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
891
         <command
892
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
893
               label="%command.label.32"
894
               style="push">
895
         </command>
896
         <command
897
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
898
               label="%command.label.33"
899
               style="push">
900
            <visibleWhen
901
                  checkEnabled="true">
902
               <or>
903
                  <reference
904
                        definitionId="isDescription">
905
                  </reference>
906
                  <reference
907
                        definitionId="isDescriptionElement">
908
                  </reference>
909
                  <reference
910
                        definitionId="isFeatureNodeContainer">
911
                  </reference>
912
               </or>
913
            </visibleWhen>
914
         </command>
915
         <command
916
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
917
               label="%command.label.34"
918
               style="push">
919
            <visibleWhen
920
                  checkEnabled="true">
921
               <or>
922
                  <reference
923
                        definitionId="isDescription">
924
                  </reference>
925
                  <reference
926
                        definitionId="isDescriptionElement">
927
                  </reference>
928
                  <reference
929
                        definitionId="isFeatureNodeContainer">
930
                  </reference>
931
               </or>
932
            </visibleWhen>
933
         </command>
934
         <separator
935
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
936
               visible="true">
937
         </separator>
938
         <separator
939
               name="taxeditor-editor.separator1"
940
               visible="true">
941
         </separator>
942
         <separator
943
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
944
               visible="true">
945
         </separator>
946
         <command
947
               commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
948
               label="%command.label.35"
949
               style="push">
950
         </command>
951
         <separator
952
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
953
               visible="true">
954
         </separator>
955
         <command
956
               commandId="org.eclipse.ui.file.save"
957
               label="%command.label.36"
958
               style="push">
959
         </command>
960
      </menuContribution>
961
      
962
      
963
      
964
      
965
      
966
      <menuContribution
967
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
968
         <command
969
               commandId="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
970
               label="%command.label.37"
971
               style="push">
972
            <visibleWhen>
973
               <or>
974
                  <reference
975
                        definitionId="isBulkEditor">
976
                  </reference>
977
                  <reference
978
                        definitionId="isTaxonEditor">
979
                  </reference>
980
                  <reference
981
                        definitionId="isDerivateEditor">
982
                  </reference>
983
               </or>
984
            </visibleWhen>
985
         </command>
986
         <separator
987
               name="taxeditor-editor.separator1"
988
               visible="true">
989
         </separator>
990
         <command
991
               commandId="eu.etaxonomy.taxeditor.editor.media.command.newimage"
992
               label="%command.label.38"
993
               style="push">
994
            <visibleWhen>
995
               <reference
996
                     definitionId="isImageGallery">
997
               </reference>
998
            </visibleWhen>
999
         </command>
1000
         <command
1001
               commandId="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1002
               label="%command.label.50"
1003
               style="push">
1004
            <visibleWhen>
1005
               <reference
1006
                     definitionId="isImageGallery">
1007
               </reference>
1008
            </visibleWhen>
1009
         </command>
1010
         <command
1011
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1012
               label="%command.label.39"
1013
               style="push">
1014
            <visibleWhen>
1015
               <reference
1016
                     definitionId="isMedia">
1017
               </reference>
1018
            </visibleWhen>
1019
         </command>
1020
         <command
1021
               commandId="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1022
               label="%command.label.40"
1023
               style="push">
1024
            <visibleWhen>
1025
               <reference
1026
                     definitionId="isMedia">
1027
               </reference>
1028
            </visibleWhen>
1029
         </command>
1030
         <separator
1031
               name="taxeditor-editor.separator2"
1032
               visible="true">
1033
         </separator>
1034
         <command
1035
               commandId="eu.etaxonomy.taxeditor.editor.media.command.delete"
1036
               label="%command.label.41"
1037
               style="push">
1038
         </command>
1039
         <command
1040
               commandId="org.eclipse.ui.file.save"
1041
               label="%command.label.42"
1042
               style="push">
1043
         </command>
1044
      </menuContribution>
1045
      <menuContribution
1046
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
1047
         <menu
1048
               label="%menu.label.3">
1049
            <dynamic
1050
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
1051
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
1052
            </dynamic>
1053
         </menu>
1054
         <command
1055
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1056
               label="%command.label.43"
1057
               style="push">
1058
         </command>
1059
         <separator
1060
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
1061
               visible="true">
1062
         </separator>
1063
         <command
1064
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1065
               label="%command.label.44"
1066
               style="push">
1067
         </command>
1068
      </menuContribution>
1069
      <menuContribution
1070
            allPopups="false"
1071
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
1072
         <command
1073
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1074
               label="%command.label.45"
1075
               style="push">
1076
            <visibleWhen>
1077
               <reference
1078
                     definitionId="isGroupEditor">
1079
               </reference>
1080
            </visibleWhen>
1081
         </command>
1082
      </menuContribution>
1083
      <menuContribution
1084
            allPopups="false"
1085
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
1086
         <command
1087
               commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1088
               icon="icons/link_obj.gif"
1089
               style="toggle"
1090
               tooltip="%command.tooltip">
1091
         </command>
1092
      </menuContribution>
1093
      <menuContribution
1094
            allPopups="false"
1095
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
1096
         <toolbar
1097
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
1098
            <command
1099
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1100
                  icon="icons/synced.gif"
1101
                  label="Link with Taxon Selection"
1102
                  style="toggle">
1103
               <visibleWhen
1104
                     checkEnabled="true">
1105
                  <with
1106
                        variable="activePartId">
1107
                     <equals
1108
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1109
                     </equals>
1110
                  </with>
1111
               </visibleWhen>
1112
            </command>
1113
         </toolbar>
1114
      </menuContribution>
1115
   </extension>
1116
   <extension
1117
         point="org.eclipse.ui.handlers">
1118
      <handler
1119
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
1120
            commandId="org.eclipse.ui.window.newEditor">
1121
         <activeWhen>
1122
            <not>
1123
               <instanceof
1124
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1125
               </instanceof>
1126
            </not>
1127
         </activeWhen>
1128
         <enabledWhen>
1129
            <count
1130
                  value="-1">
1131
            </count>
1132
         </enabledWhen>
1133
      </handler>
1134
      <handler
1135
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1136
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
1137
         <activeWhen>
1138
            <and>
1139
               <reference
1140
                     definitionId="isTaxonBase">
1141
               </reference>
1142
              <not>
1143
                  <reference
1144
                        definitionId="isAcceptedTaxon">
1145
                  </reference>
1146
               </not>
1147
            </and>
1148
         </activeWhen>
1149
      </handler>
1150
      <handler
1151
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1152
            commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete">
1153
          <activeWhen>
1154
             <with
1155
                   variable="activePartId">
1156
                <or>
1157
                   <equals
1158
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1159
                   </equals>
1160
                   <equals
1161
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1162
                   </equals>
1163
                   <equals
1164
                     	value="eu.etaxonomy.taxeditor.editor.view.uses">
1165
               		</equals>
1166
                </or>
1167
           	 </with>
1168
         </activeWhen>
1169
      </handler>
1170
      <handler
1171
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1172
            commandId="eu.etaxonomy.taxeditor.editor.key.polytomous.command.delete">
1173
         <activeWhen>
1174
            <with
1175
                  variable="activePartId">
1176
               <equals
1177
                     value="eu.etaxonomy.taxeditor.editor.key">
1178
               </equals>
1179
            </with>
1180
         </activeWhen>
1181
      </handler>
1182
      <handler
1183
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1184
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.delete">
1185
         <activeWhen>
1186
            <with
1187
                  variable="activePartId">
1188
               <equals
1189
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1190
               </equals>
1191
            </with>
1192
         </activeWhen>
1193
      </handler>
1194
      <handler
1195
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1196
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1197
      </handler>
1198
      <handler
1199
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1200
            commandId="org.eclipse.ui.edit.delete">
1201
         <activeWhen>
1202
            <with
1203
                  variable="activePartId">
1204
               <equals
1205
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1206
               </equals>
1207
            </with>
1208
         </activeWhen>
1209
      </handler>
1210
      <handler
1211
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1212
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1213
      </handler>
1214
      <handler
1215
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1216
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1217
         <activeWhen>
1218
            <reference
1219
                  definitionId="isRemoting">
1220
            </reference>
1221
         </activeWhen>
1222
      </handler>
1223
      <handler
1224
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1225
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1226
         <activeWhen>
1227
            <reference
1228
                  definitionId="isRemoting">
1229
            </reference>
1230
         </activeWhen>
1231
      </handler>
1232
      <handler
1233
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
1234
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
1235
         <activeWhen>
1236
            <with
1237
                  variable="activePartId">
1238
               <equals
1239
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1240
               </equals>
1241
            </with>
1242
         </activeWhen>
1243
      </handler>
1244
   </extension>
1245
   <extension
1246
         name="%extension.name"
1247
         point="org.eclipse.ui.commands">
1248
      <category
1249
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1250
            name="%category.name.0">
1251
      </category>
1252
      <command
1253
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1254
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1255
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1256
            name="%command.name">
1257
      </command>
1258
      <command
1259
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1260
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1261
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1262
            name="%command.name.0">
1263
      </command>
1264
      <command
1265
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1266
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1267
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1268
            name="%command.name.1">
1269
      </command>
1270
      <command
1271
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1272
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1273
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1274
            name="%command.name.2">
1275
      </command>
1276
     <command
1277
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1278
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1279
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1280
            name="%command.name.36">
1281
      </command>
1282
      <!--command
1283
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1284
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1285
            name="Move Taxon">
1286
      </command-->
1287
      <command
1288
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1289
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1290
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1291
            name="%command.name.3">
1292
      </command>
1293
      <command
1294
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1295
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1296
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1297
            name="%command.name.4">
1298
      </command>
1299
      <command
1300
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1301
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1302
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1303
            name="%command.name.5">
1304
      </command>
1305
      <command
1306
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1307
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1308
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1309
            name="%command.name.6">
1310
      </command>
1311
      <command
1312
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1313
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1314
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1315
            name="%command.name.46">
1316
      </command>
1317
      <command
1318
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1319
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1320
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1321
            name="%command.name.7">
1322
      </command>
1323
      <command
1324
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1325
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1326
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1327
            name="%command.name.8">
1328
      </command>
1329
     <!-- <command
1330
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1331
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1332
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1333
            name="Change Accepted Taxon to Synonym">
1334
      </command>-->
1335
      <command
1336
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1337
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1338
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1339
            name="%command.name.45">
1340
      </command>
1341
      <command
1342
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1343
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1344
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1345
            name="%command.name.9">
1346
      </command>
1347
      <category
1348
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1349
            name="%category.name.1">
1350
      </category>
1351
      <command
1352
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1353
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1354
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1355
            name="%command.name.10">
1356
      </command>
1357
      <command
1358
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1359
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1360
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1361
            name="%command.name.11">
1362
      </command>
1363
       <command
1364
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1365
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1366
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1367
             name="%command.name.48">
1368
      </command>
1369
      <category
1370
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1371
            name="%category.name.2">
1372
      </category>
1373
      <command
1374
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1375
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1376
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1377
            name="%command.name.14">
1378
      </command>
1379
      <command
1380
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1381
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1382
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1383
            name="%command.name.16">
1384
      </command>
1385
      <command
1386
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1387
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1388
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1389
            name="%command.name.15">
1390
      </command>
1391
      <command
1392
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1393
            name="%command.name.47">
1394
      </command>
1395
      <category
1396
            id="eu.etaxonomy.taxeditor.editor.media.category"
1397
            name="%category.name.3">
1398
      </category>
1399
      <command
1400
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1401
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1402
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1403
            name="%command.name.19">
1404
      </command>
1405
      <command
1406
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1407
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1408
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1409
            name="%command.name.20">
1410
      </command>
1411
      <command
1412
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1413
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1414
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1415
            name="%command.name.21">
1416
      </command>
1417
      <command
1418
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1419
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1420
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1421
            name="%command.name.37">
1422
      </command>
1423
      <command
1424
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1425
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1426
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1427
            name="%command.name.22">
1428
      </command>
1429
       <command
1430
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1431
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1432
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1433
            name="%command.name.49">
1434
      </command>
1435
      
1436
      <category
1437
            id="eu.etaxonomy.taxeditor.editor.new.category"
1438
            name="%category.name.4">
1439
      </category>
1440
      <command
1441
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1442
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1443
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1444
            name="%command.name.23">
1445
      </command>
1446
      <command
1447
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1448
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1449
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1450
            name="%command.name.24">
1451
      </command>
1452
      <command
1453
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1454
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1455
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1456
            name="%command.name.25">
1457
      </command>
1458
      <command
1459
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1460
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1461
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1462
            name="%command.name.26">
1463
      </command>
1464
      <category
1465
            id="eu.etaxonomy.taxeditor.editor.key.category"
1466
            name="%category.name.5">
1467
      </category>
1468
      <command
1469
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1470
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1471
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1472
            name="%command.name.28">
1473
      </command>
1474
      <command
1475
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1476
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1477
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1478
            name="%command.name.29">
1479
      </command>
1480
      <command
1481
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1482
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1483
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1484
            name="%command.name.30">
1485
      </command>
1486
      <command
1487
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1488
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1489
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1490
            name="%command.name.31">
1491
      </command>
1492
      <command
1493
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1494
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1495
            name="%command.name.50">
1496
      </command>
1497
      <category
1498
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1499
            name="%category.name.6">
1500
      </category>
1501
      <command
1502
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1503
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1504
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1505
            name="%command.name.32">
1506
      </command>
1507
      <command
1508
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1509
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1510
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1511
            name="%command.name.33">
1512
      </command>
1513
      <command
1514
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1515
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1516
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1517
            name="%command.name.51">
1518
      </command>
1519
      <category
1520
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1521
            name="%category.name.7">
1522
      </category>
1523
      <command
1524
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1525
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1526
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1527
            name="%command.name.34">
1528
      </command>
1529
       <command
1530
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1531
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1532
             name="%command.name.38">
1533
       </command>
1534
      <command
1535
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1536
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1537
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1538
            name="%command.name.39">
1539
      </command>
1540
      <command
1541
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1542
            name="%command.name.41">
1543
      </command>
1544
      <command
1545
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonHandler"
1546
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1547
            name="%command.name.42">
1548
         <commandParameter
1549
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1550
               name="%commandParameter.name"
1551
               optional="false"
1552
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1553
         </commandParameter>
1554
      </command>
1555
      <command
1556
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1557
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1558
            name="Open Taxon Editor for taxonnode">
1559
         <commandParameter
1560
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1561
               name="taxon node uuid"
1562
               optional="true"
1563
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1564
         </commandParameter>
1565
      </command>
1566
      <command
1567
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1568
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1569
            name="%command.name.44">
1570
      </command>
1571
      <command
1572
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1573
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1574
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1575
            name="%command.name.13">
1576
      </command>
1577
       
1578
      <command
1579
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1580
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1581
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1582
            name="%command.name.12">
1583
      </command>
1584
      <command
1585
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1586
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1587
            name="Open Derivative Editor">
1588
      </command>
1589
      <command
1590
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1591
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1592
            name="Link with taxon selection">
1593
      </command>
1594
      <command
1595
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1596
            id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
1597
            name="Copy SingleRead to clipboard">
1598
      </command>
1599
      <command
1600
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1601
            id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
1602
            name="Reuse SingleRead">
1603
      </command>
1604
      <command
1605
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1606
            id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
1607
            name="Remove SingleRead from sequence">
1608
      </command>
1609
      <command
1610
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
1611
            id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
1612
            name="Toggle link with taxon selection">
1613
      </command>
1614
        
1615
   </extension>
1616
   <extension
1617
         point="org.eclipse.core.expressions.definitions">
1618
      <definition
1619
            id="nameEditorActive">
1620
         <with
1621
               variable="activeEditorId">
1622
            <equals
1623
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1624
            </equals>
1625
         </with>
1626
      </definition>
1627
      <definition
1628
            id="isAcceptedTaxon">
1629
         <with
1630
               variable="selection">
1631
            <test
1632
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1633
            </test>
1634
         </with>
1635
      </definition>
1636
      <definition
1637
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1638
         <with
1639
               variable="selection">
1640
            <test
1641
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isHomotypicSynonymOfAcceptedTaxon">
1642
            </test>
1643
         </with>
1644
      </definition>
1645
      <definition
1646
            id="isSynonym">
1647
         <with
1648
               variable="selection">
1649
            <test
1650
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1651
            </test>
1652
         </with>
1653
      </definition>
1654
      <definition
1655
            id="isMisapplication">
1656
         <with
1657
               variable="selection">
1658
            <test
1659
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1660
            </test>
1661
         </with>
1662
      </definition>
1663
      <definition
1664
            id="isTaxonBase">
1665
         <with
1666
               variable="selection">
1667
            <test
1668
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1669
            </test>
1670
         </with>
1671
      </definition>
1672
      <definition
1673
            id="hasEmptyNames">
1674
         <with
1675
               variable="selection">
1676
            <test
1677
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1678
            </test>
1679
         </with>
1680
      </definition>
1681
      <definition
1682
            id="isDeletable">
1683
         <with
1684
               variable="selection">
1685
            <test
1686
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1687
            </test>
1688
         </with>
1689
      </definition>
1690
      <definition
1691
            id="isMedia">
1692
         <with
1693
               variable="selection">
1694
            <test
1695
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1696
            </test>
1697
         </with>
1698
      </definition>
1699
      <definition
1700
            id="isTaxonEditor">
1701
         <with
1702
               variable="selection">
1703
            <test
1704
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1705
            </test>
1706
         </with>
1707
      </definition>
1708
      <definition
1709
            id="isBulkEditor">
1710
         <with
1711
               variable="selection">
1712
            <test
1713
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1714
            </test>
1715
         </with>
1716
      </definition>
1717
      <definition
1718
            id="isDerivateEditor">
1719
         <with
1720
               variable="selection">
1721
            <test
1722
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1723
            </test>
1724
         </with>
1725
      </definition>
1726
      <definition
1727
            id="isDescription">
1728
         <with
1729
               variable="selection">
1730
            <test
1731
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1732
            </test>
1733
         </with>
1734
      </definition>
1735
      <definition
1736
            id="isDescriptionElement">
1737
         <with
1738
               variable="selection">
1739
            <test
1740
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1741
            </test>
1742
         </with>
1743
      </definition>
1744
      <definition
1745
            id="isFeatureNodeContainer">
1746
         <with
1747
               variable="selection">
1748
            <test
1749
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1750
            </test>
1751
         </with>
1752
      </definition>
1753
      <definition
1754
            id="isImageGallery">
1755
         <with
1756
               variable="selection">
1757
            <test
1758
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1759
            </test>
1760
         </with>
1761
      </definition>
1762
      <definition
1763
            id="isAcceptedAndHasNoHomotypicSynonyms">
1764
         <with
1765
               variable="selection">
1766
            <test
1767
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1768
            </test>
1769
         </with>
1770
      </definition>
1771
      <definition
1772
            id="isGroupEditor">
1773
         <with
1774
               variable="activeEditor">
1775
            <test
1776
                  property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1777
            </test>
1778
         </with>
1779
      </definition>
1780
      <definition
1781
            id="isIndividualsAssociation">
1782
         <with
1783
               variable="selection">
1784
            <test
1785
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1786
            </test>
1787
         </with>
1788
      </definition>
1789
      <definition
1790
            id="isRemoting">
1791
         <test
1792
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1793
         </test>
1794
      </definition>
1795
      <definition
1796
            id="isSequence">
1797
         <with
1798
               variable="selection">
1799
            <test
1800
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1801
            </test>
1802
         </with>
1803
      </definition>
1804
      <definition
1805
            id="isSingleRead">
1806
         <with
1807
               variable="selection">
1808
            <test
1809
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1810
            </test>
1811
         </with>
1812
      </definition>
1813
      <definition
1814
            id="isSingleReadReusableHere">
1815
         <with
1816
               variable="selection">
1817
            <test
1818
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
1819
            </test>
1820
         </with>
1821
      </definition>
1822
      <definition
1823
            id="isSingleReadReused">
1824
         <with
1825
               variable="selection">
1826
            <test
1827
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
1828
            </test>
1829
         </with>
1830
      </definition>
1831
      <definition
1832
            id="isDerivativeEditorLinkedToTaxonSelection">
1833
         <with
1834
               variable="activeEditor">
1835
            <test
1836
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
1837
            </test>
1838
         </with>
1839
      </definition>
1840
   </extension>
1841
   <extension
1842
         point="org.eclipse.core.expressions.propertyTesters">
1843
      <propertyTester
1844
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1845
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1846
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1847
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1848
            type="org.eclipse.jface.viewers.IStructuredSelection">
1849
      </propertyTester>
1850
      <propertyTester
1851
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1852
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1853
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1854
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1855
            type="org.eclipse.jface.viewers.TreeSelection">
1856
      </propertyTester>
1857
      <propertyTester
1858
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1859
            id="taxeditor-bulkeditor.PropertyTester"
1860
            namespace="taxeditor-bulkeditor.propertyTester"
1861
            properties="isGroupEditor"
1862
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1863
      </propertyTester>
1864
      <propertyTester
1865
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1866
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1867
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1868
            properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
1869
            type="org.eclipse.jface.viewers.IStructuredSelection">
1870
      </propertyTester>
1871
      <propertyTester
1872
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1873
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1874
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1875
            properties="isLinkedWithTaxonSelection"
1876
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1877
      </propertyTester>
1878
   </extension>
1879
   <extension
1880
         point="org.eclipse.ui.bindings">   
1881
      <scheme
1882
            description="%scheme.description"
1883
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1884
            name="%scheme.name">
1885
      </scheme>
1886
   </extension>
1887
    <!--extension
1888
         point="org.eclipse.ui.importWizards">
1889
      <wizard
1890
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1891
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1892
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1893
            name="%wizard.name">
1894
         <description>
1895
            %wizard.description
1896
         </description>
1897
      </wizard>
1898
   </extension-->
1899
   <extension
1900
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1901
      <viewCommandMapping
1902
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1903
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1904
            viewerName="Taxon Editor">
1905
      </viewCommandMapping>
1906
      <viewCommandMapping
1907
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1908
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
1909
            viewerName="TaxonEditor">
1910
      </viewCommandMapping>
1911
    </extension>
1912
</plugin>
(5-5/6)