Project

General

Profile

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