Project

General

Profile

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

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