Project

General

Profile

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