Project

General

Profile

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

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