Project

General

Profile

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