Project

General

Profile

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