Project

General

Profile

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