Project

General

Profile

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