Project

General

Profile

Download (61.8 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="Validation Error" 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
         <separator
527
               name="taxeditor-editor.separator3"
528
               visible="true">
529
         </separator>
530
         <command
531
               commandId="org.eclipse.ui.views.showView"
532
               label="%command.label.18"
533
               style="push">
534
            <parameter
535
                  name="org.eclipse.ui.views.showView.viewId"
536
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
537
            </parameter>
538
         </command>
539
         <separator
540
               name="taxeditor-editor.separator4"
541
               visible="true">
542
         </separator>
543
         <command
544
               commandId="org.eclipse.ui.file.save"
545
               label="%command.label.19"
546
               style="push">
547
         </command>
548
      </menuContribution>
549
      <menuContribution
550
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
551
         <command
552
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
553
               label="%command.label.20"
554
               style="push">
555
         </command>
556
         <separator
557
               name="taxeditor-editor.separator1"
558
               visible="true">
559
         </separator>
560
         <command
561
               commandId="org.eclipse.ui.edit.delete"
562
               label="%command.label.21"
563
               style="push">
564
         </command>
565
         <separator
566
               name="taxeditor-editor.separator2"
567
               visible="true">
568
         </separator>
569
         <command
570
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
571
               label="%command.label.22"
572
               style="push">
573
         </command>
574
         <separator
575
               name="taxeditor-editor.separator3"
576
               visible="true">
577
         </separator>
578
      </menuContribution>
579
      <menuContribution
580
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
581
         <command
582
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
583
               label="%command.label.23"
584
               style="push">
585
         </command>
586
         <command
587
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
588
               label="%command.label.24"
589
               style="push">
590
         </command>
591
         <command
592
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
593
               label="%command.label.25"
594
               style="push">
595
         </command>
596
         <command
597
               commandId="org.eclipse.ui.edit.delete"
598
               label="%command.label.26"
599
               style="push">
600
         </command>
601
      </menuContribution>
602
      <menuContribution
603
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
604
         <command
605
               commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
606
               label="%command.label.27"
607
               style="push">
608
         </command>
609
         <separator
610
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
611
               visible="true">
612
         </separator>
613
         <menu
614
               label="%menu.label.1">
615
            <dynamic
616
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
617
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
618
            </dynamic>
619
            <visibleWhen
620
                  checkEnabled="true">
621
               <or>
622
                  <reference
623
                        definitionId="isDescription">
624
                  </reference>
625
                  <reference
626
                        definitionId="isDescriptionElement">
627
                  </reference>
628
                  <reference
629
                        definitionId="isFeatureNodeContainer">
630
                  </reference>
631
               </or>
632
            </visibleWhen>
633
         </menu>
634
         <separator
635
               name="taxeditor-editor.separator1"
636
               visible="true">
637
         </separator>
638
         <command
639
               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
640
               label="%command.label.28"
641
               style="push">
642
            <visibleWhen
643
                  checkEnabled="true">
644
               <reference
645
                     definitionId="isDescription">
646
               </reference>
647
            </visibleWhen>
648
         </command>
649
         <command
650
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
651
               label="%command.label.29"
652
               style="push">
653
            <visibleWhen
654
                  checkEnabled="true">
655
               <or>
656
                  <reference
657
                        definitionId="isDescriptionElement">
658
                  </reference>
659
                  <reference
660
                        definitionId="isFeatureNodeContainer">
661
                  </reference>
662
               </or>
663
            </visibleWhen>
664
         </command>
665
         <separator
666
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
667
               visible="true">
668
         </separator>
669
         <command
670
               commandId="org.eclipse.ui.edit.delete"
671
               label="%command.label.30"
672
               style="push">
673
         </command>
674
         <separator
675
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
676
               visible="true">
677
         </separator>
678
         <command
679
               commandId="org.eclipse.ui.file.save"
680
               label="%command.label.31"
681
               style="push">
682
         </command>
683
      </menuContribution>
684
      <menuContribution
685
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
686
         <dynamic
687
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
688
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
689
         </dynamic>
690
         <command
691
               commandId="org.eclipse.ui.edit.delete"
692
               label="Delete"
693
               style="push">
694
         </command>
695
         <command
696
               commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
697
               label="Create Field Unit"
698
               style="push">
699
         </command>
700
         <command
701
               commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
702
               icon="icons/deep-delete-16x16-32.png"
703
               label="Delete (with children)"
704
               style="push">
705
         </command>
706
      </menuContribution>
707
      <menuContribution
708
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
709
         <dynamic
710
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
711
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
712
         </dynamic>
713
      </menuContribution>
714
      <menuContribution
715
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
716
         <dynamic
717
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
718
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
719
         </dynamic>
720
      </menuContribution>
721
      
722
      
723
      
724
      
725
      <menuContribution
726
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
727
         <command
728
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
729
               label="%command.label.32"
730
               style="push">
731
         </command>
732
         <command
733
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
734
               label="%command.label.33"
735
               style="push">
736
            <visibleWhen
737
                  checkEnabled="true">
738
               <or>
739
                  <reference
740
                        definitionId="isDescription">
741
                  </reference>
742
                  <reference
743
                        definitionId="isDescriptionElement">
744
                  </reference>
745
                  <reference
746
                        definitionId="isFeatureNodeContainer">
747
                  </reference>
748
               </or>
749
            </visibleWhen>
750
         </command>
751
         <command
752
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
753
               label="%command.label.34"
754
               style="push">
755
            <visibleWhen
756
                  checkEnabled="true">
757
               <or>
758
                  <reference
759
                        definitionId="isDescription">
760
                  </reference>
761
                  <reference
762
                        definitionId="isDescriptionElement">
763
                  </reference>
764
                  <reference
765
                        definitionId="isFeatureNodeContainer">
766
                  </reference>
767
               </or>
768
            </visibleWhen>
769
         </command>
770
         <separator
771
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
772
               visible="true">
773
         </separator>
774
         <separator
775
               name="taxeditor-editor.separator1"
776
               visible="true">
777
         </separator>
778
         <separator
779
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
780
               visible="true">
781
         </separator>
782
         <command
783
               commandId="org.eclipse.ui.edit.delete"
784
               label="%command.label.35"
785
               style="push">
786
         </command>
787
         <separator
788
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
789
               visible="true">
790
         </separator>
791
         <command
792
               commandId="org.eclipse.ui.file.save"
793
               label="%command.label.36"
794
               style="push">
795
         </command>
796
      </menuContribution>
797
      
798
      
799
      
800
      
801
      
802
      <menuContribution
803
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
804
         <command
805
               commandId="taxeditor-editor.command.newimagegallery"
806
               label="%command.label.37"
807
               style="push">
808
            <visibleWhen>
809
               <or>
810
                  <reference
811
                        definitionId="isBulkEditor">
812
                  </reference>
813
                  <reference
814
                        definitionId="isTaxonEditor">
815
                  </reference>
816
                  <reference
817
                        definitionId="isDerivateEditor">
818
                  </reference>
819
               </or>
820
            </visibleWhen>
821
         </command>
822
         <separator
823
               name="taxeditor-editor.separator1"
824
               visible="true">
825
         </separator>
826
         <command
827
               commandId="taxeditor-editor.newimage"
828
               label="%command.label.38"
829
               style="push">
830
            <visibleWhen>
831
               <reference
832
                     definitionId="isImageGallery">
833
               </reference>
834
            </visibleWhen>
835
         </command>
836
         <command
837
               commandId="taxeditor-editor.useExistingImage"
838
               label="%command.label.50"
839
               style="push">
840
            <visibleWhen>
841
               <reference
842
                     definitionId="isImageGallery">
843
               </reference>
844
            </visibleWhen>
845
         </command>
846
         <command
847
               commandId="taxeditor-editor.command.moveimgdown"
848
               label="%command.label.39"
849
               style="push">
850
            <visibleWhen>
851
               <reference
852
                     definitionId="isMedia">
853
               </reference>
854
            </visibleWhen>
855
         </command>
856
         <command
857
               commandId="taxeditor-editor.command.moveimgup"
858
               label="%command.label.40"
859
               style="push">
860
            <visibleWhen>
861
               <reference
862
                     definitionId="isMedia">
863
               </reference>
864
            </visibleWhen>
865
         </command>
866
         <separator
867
               name="taxeditor-editor.separator2"
868
               visible="true">
869
         </separator>
870
         <command
871
               commandId="org.eclipse.ui.edit.delete"
872
               label="%command.label.41"
873
               style="push">
874
         </command>
875
         <command
876
               commandId="org.eclipse.ui.file.save"
877
               label="%command.label.42"
878
               style="push">
879
         </command>
880
      </menuContribution>
881
      <menuContribution
882
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
883
         <menu
884
               label="%menu.label.3">
885
            <dynamic
886
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
887
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
888
            </dynamic>
889
         </menu>
890
         <command
891
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
892
               label="%command.label.43"
893
               style="push">
894
         </command>
895
         <separator
896
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
897
               visible="true">
898
         </separator>
899
         <command
900
               commandId="org.eclipse.ui.edit.delete"
901
               label="%command.label.44"
902
               style="push">
903
         </command>
904
      </menuContribution>
905
      <menuContribution
906
            allPopups="false"
907
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
908
         <command
909
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
910
               label="%command.label.45"
911
               style="push">
912
            <visibleWhen>
913
               <reference
914
                     definitionId="isGroup">
915
               </reference>
916
            </visibleWhen>
917
         </command>
918
      </menuContribution>
919
      <menuContribution
920
            allPopups="false"
921
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
922
         <command
923
               commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
924
               icon="icons/link_obj.gif"
925
               style="toggle"
926
               tooltip="Show Only Individuals Associations">
927
         </command>
928
      </menuContribution>
929
      <menuContribution
930
            allPopups="false"
931
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
932
         <command
933
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
934
               label="Open Associated Derivates"
935
               style="push">
936
            <visibleWhen
937
                  checkEnabled="true">
938
               <reference
939
                     definitionId="isCdmStoreConnected">
940
               </reference>
941
            </visibleWhen>
942
         </command>
943
         <separator
944
               name="eu.etaxonomy.taxeditor.editor.separator1"
945
               visible="true">
946
         </separator>
947
      </menuContribution>
948
      <menuContribution
949
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
950
         <separator
951
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
952
               visible="true">
953
         </separator>
954
         <command
955
               commandId="org.eclipse.ui.views.showView"
956
               label="%command.name.40"
957
               style="push">
958
            <parameter
959
                  name="org.eclipse.ui.views.showView.viewId"
960
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
961
            </parameter>
962
         </command>
963
      </menuContribution>
964
   </extension>
965
   <extension
966
         point="org.eclipse.ui.handlers">
967
      <handler
968
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
969
            commandId="org.eclipse.ui.window.newEditor">
970
         <activeWhen>
971
            <not>
972
               <instanceof
973
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
974
               </instanceof>
975
            </not>
976
         </activeWhen>
977
         <enabledWhen>
978
            <count
979
                  value="-1">
980
            </count>
981
         </enabledWhen>
982
      </handler>
983
      <handler
984
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
985
            commandId="org.eclipse.ui.edit.delete">
986
         <activeWhen>
987
            <and>
988
               <reference
989
                     definitionId="isTaxonBase">
990
               </reference>
991
              <not>
992
                  <reference
993
                        definitionId="isAcceptedTaxon">
994
                  </reference>
995
               </not>
996
            </and>
997
         </activeWhen>
998
      </handler>
999
      <handler
1000
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1001
            commandId="org.eclipse.ui.edit.delete">
1002
          <activeWhen>
1003
             <with
1004
                   variable="activePartId">
1005
                <or>
1006
                   <equals
1007
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1008
                   </equals>
1009
                   <equals
1010
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1011
                   </equals>
1012
                </or>
1013
             </with>
1014
          </activeWhen>
1015
      </handler>
1016
      <handler
1017
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1018
            commandId="org.eclipse.ui.edit.delete">
1019
         <activeWhen>
1020
            <with
1021
                  variable="activePartId">
1022
               <equals
1023
                     value="eu.etaxonomy.taxeditor.editor.key">
1024
               </equals>
1025
            </with>
1026
         </activeWhen>
1027
      </handler>
1028
      <handler
1029
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1030
            commandId="org.eclipse.ui.edit.delete">
1031
         <activeWhen>
1032
            <with
1033
                  variable="activePartId">
1034
               <equals
1035
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1036
               </equals>
1037
            </with>
1038
         </activeWhen>
1039
      </handler>
1040
      <handler
1041
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1042
            commandId="org.eclipse.ui.edit.delete">
1043
         <activeWhen>
1044
            <with
1045
                  variable="activePartId">
1046
               <equals
1047
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
1048
               </equals>
1049
            </with>
1050
         </activeWhen>
1051
      </handler>
1052
      <handler
1053
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1054
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1055
      </handler>
1056
      <handler
1057
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1058
            commandId="org.eclipse.ui.edit.delete">
1059
         <activeWhen>
1060
            <with
1061
                  variable="activePartId">
1062
               <equals
1063
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1064
               </equals>
1065
            </with>
1066
         </activeWhen>
1067
      </handler>
1068
      <handler
1069
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1070
            commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1071
         <activeWhen>
1072
            <with
1073
                  variable="activePartId">
1074
               <equals
1075
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
1076
               </equals>
1077
            </with>
1078
         </activeWhen>
1079
      </handler>
1080
      <handler
1081
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1082
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1083
      </handler>
1084
   </extension>
1085
   <extension
1086
         name="%extension.name"
1087
         point="org.eclipse.ui.commands">
1088
      <category
1089
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1090
            name="%category.name.0">
1091
      </category>
1092
      <command
1093
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1094
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1095
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1096
            name="%command.name">
1097
      </command>
1098
      <command
1099
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1100
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1101
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1102
            name="%command.name.0">
1103
      </command>
1104
      <command
1105
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1106
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1107
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1108
            name="%command.name.1">
1109
      </command>
1110
      <command
1111
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1112
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1113
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1114
            name="%command.name.2">
1115
      </command>
1116
     <command
1117
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1118
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1119
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1120
            name="%command.name.36">
1121
      </command>
1122
      <!--command
1123
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1124
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1125
            name="Move Taxon">
1126
      </command-->
1127
      <command
1128
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1129
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1130
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1131
            name="%command.name.3">
1132
      </command>
1133
      <command
1134
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1135
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1136
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1137
            name="%command.name.4">
1138
      </command>
1139
      <command
1140
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1141
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1142
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1143
            name="%command.name.5">
1144
      </command>
1145
      <command
1146
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1147
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1148
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1149
            name="%command.name.6">
1150
      </command>
1151
      <command
1152
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1153
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1154
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1155
            name="%command.name.7">
1156
      </command>
1157
      <command
1158
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1159
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1160
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1161
            name="%command.name.8">
1162
      </command>
1163
     <!-- <command
1164
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1165
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1166
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1167
            name="Change Accepted Taxon to Synonym">
1168
      </command>-->
1169
      <command
1170
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1171
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1172
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1173
            name="%command.name.9">
1174
      </command>
1175
      <category
1176
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1177
            name="%category.name.1">
1178
      </category>
1179
      <command
1180
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1181
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1182
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1183
            name="%command.name.10">
1184
      </command>
1185
      <command
1186
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1187
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1188
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1189
            name="%command.name.11">
1190
      </command>
1191
      <command
1192
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1193
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1194
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1195
            name="%command.name.12">
1196
      </command>
1197
      <command
1198
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1199
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1200
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1201
            name="%command.name.13">
1202
      </command>
1203
      <category
1204
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1205
            name="%category.name.2">
1206
      </category>
1207
      <command
1208
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1209
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1210
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1211
            name="%command.name.14">
1212
      </command>
1213
      <command
1214
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1215
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1216
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1217
            name="%command.name.15">
1218
      </command>
1219
      <command
1220
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1221
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1222
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1223
            name="%command.name.16">
1224
      </command>
1225
      <category
1226
            id="eu.etaxonomy.taxeditor.editor.media.category"
1227
            name="%category.name.3">
1228
      </category>
1229
      <command
1230
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1231
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1232
            id="taxeditor-editor.command.moveimgdown"
1233
            name="%command.name.19">
1234
      </command>
1235
      <command
1236
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1237
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1238
            id="taxeditor-editor.command.newimagegallery"
1239
            name="%command.name.20">
1240
      </command>
1241
      <command
1242
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1243
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1244
            id="taxeditor-editor.newimage"
1245
            name="%command.name.21">
1246
      </command>
1247
      <command
1248
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1249
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1250
            id="taxeditor-editor.useExistingImage"
1251
            name="%command.name.37">
1252
      </command>
1253
      <command
1254
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1255
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1256
            id="taxeditor-editor.command.moveimgup"
1257
            name="%command.name.22">
1258
      </command>
1259
      <category
1260
            id="eu.etaxonomy.taxeditor.editor.new.category"
1261
            name="%category.name.4">
1262
      </category>
1263
      <command
1264
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1265
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1266
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1267
            name="%command.name.23">
1268
      </command>
1269
      <command
1270
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1271
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1272
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1273
            name="%command.name.24">
1274
      </command>
1275
      <command
1276
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1277
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1278
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1279
            name="%command.name.25">
1280
      </command>
1281
      <command
1282
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1283
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1284
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1285
            name="%command.name.26">
1286
      </command>
1287
      <command
1288
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1289
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1290
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1291
            name="%command.name.27">
1292
      </command>
1293
      <category
1294
            id="eu.etaxonomy.taxeditor.editor.key.category"
1295
            name="%category.name.5">
1296
      </category>
1297
      <command
1298
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1299
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1300
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1301
            name="%command.name.28">
1302
      </command>
1303
      <command
1304
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1305
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1306
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1307
            name="%command.name.29">
1308
      </command>
1309
      <command
1310
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1311
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1312
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1313
            name="%command.name.30">
1314
      </command>
1315
      <command
1316
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1317
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1318
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1319
            name="%command.name.31">
1320
      </command>
1321
      <category
1322
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1323
            name="%category.name.6">
1324
      </category>
1325
      <command
1326
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1327
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1328
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1329
            name="%command.name.32">
1330
      </command>
1331
      <command
1332
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1333
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1334
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1335
            name="%command.name.33">
1336
      </command>
1337
      <category
1338
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1339
            name="%category.name.7">
1340
      </category>
1341
      <command
1342
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1343
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1344
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1345
            name="%command.name.34">
1346
      </command>
1347
      <command
1348
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1349
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1350
            name="%command.name.35">
1351
      </command>
1352
       <command
1353
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1354
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1355
             name="%command.name.38">
1356
       </command>
1357
      <command
1358
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1359
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1360
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1361
            name="%command.name.39">
1362
      </command>
1363
      <command
1364
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1365
            name="Show Only Individual Associations">
1366
      </command>
1367
      <command
1368
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1369
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1370
            name="Open Taxon Editor">
1371
         <commandParameter
1372
               id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1373
               name="taxonUUID"
1374
               optional="false"
1375
               typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1376
         </commandParameter>
1377
      </command>
1378
      <commandParameterType
1379
            converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1380
            id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1381
            type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1382
      </commandParameterType>
1383
      <command
1384
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1385
            id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1386
            name="Create Field Unit">
1387
      </command>
1388
      <command
1389
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1390
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1391
            name="Deep Delete">
1392
      </command>
1393
   </extension>
1394
   <extension
1395
         point="org.eclipse.core.expressions.definitions">
1396
      <definition
1397
            id="nameEditorActive">
1398
         <with
1399
               variable="activeEditorId">
1400
            <equals
1401
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1402
            </equals>
1403
         </with>
1404
      </definition>
1405
      <definition
1406
            id="isAcceptedTaxon">
1407
         <with
1408
               variable="selection">
1409
            <test
1410
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1411
            </test>
1412
         </with>
1413
      </definition>
1414
      <definition
1415
            id="isSynonym">
1416
         <with
1417
               variable="selection">
1418
            <test
1419
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1420
            </test>
1421
         </with>
1422
      </definition>
1423
      <definition
1424
            id="isMisapplication">
1425
         <with
1426
               variable="selection">
1427
            <test
1428
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1429
            </test>
1430
         </with>
1431
      </definition>
1432
      <definition
1433
            id="isTaxonBase">
1434
         <with
1435
               variable="selection">
1436
            <test
1437
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1438
            </test>
1439
         </with>
1440
      </definition>
1441
      <definition
1442
            id="hasEmptyNames">
1443
         <with
1444
               variable="selection">
1445
            <test
1446
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1447
            </test>
1448
         </with>
1449
      </definition>
1450
      <definition
1451
            id="isDeletable">
1452
         <with
1453
               variable="selection">
1454
            <test
1455
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1456
            </test>
1457
         </with>
1458
      </definition>
1459
      <definition
1460
            id="isMedia">
1461
         <with
1462
               variable="selection">
1463
            <test
1464
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1465
            </test>
1466
         </with>
1467
      </definition>
1468
      <definition
1469
            id="isTaxonEditor">
1470
         <with
1471
               variable="selection">
1472
            <test
1473
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1474
            </test>
1475
         </with>
1476
      </definition>
1477
      <definition
1478
            id="isBulkEditor">
1479
         <with
1480
               variable="selection">
1481
            <test
1482
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1483
            </test>
1484
         </with>
1485
      </definition>
1486
      <definition
1487
            id="isDerivateEditor">
1488
         <with
1489
               variable="selection">
1490
            <test
1491
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1492
            </test>
1493
         </with>
1494
      </definition>
1495
      <definition
1496
            id="isDescription">
1497
         <with
1498
               variable="selection">
1499
            <test
1500
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1501
            </test>
1502
         </with>
1503
      </definition>
1504
      <definition
1505
            id="isDescriptionElement">
1506
         <with
1507
               variable="selection">
1508
            <test
1509
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1510
            </test>
1511
         </with>
1512
      </definition>
1513
      <definition
1514
            id="isFeatureNodeContainer">
1515
         <with
1516
               variable="selection">
1517
            <test
1518
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1519
            </test>
1520
         </with>
1521
      </definition>
1522
      <definition
1523
            id="isImageGallery">
1524
         <with
1525
               variable="selection">
1526
            <test
1527
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1528
            </test>
1529
         </with>
1530
      </definition>
1531
      <definition
1532
            id="isAcceptedAndHasNoHomotypicSynonyms">
1533
         <with
1534
               variable="selection">
1535
            <test
1536
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1537
            </test>
1538
         </with>
1539
      </definition>
1540
      <definition
1541
            id="isGroup">
1542
         <with
1543
               variable="activeEditor">
1544
            <test
1545
                  property="taxeditor-bulkeditor.propertyTester.isGroup">
1546
            </test>
1547
         </with>
1548
      </definition>
1549
   </extension>
1550
   <extension
1551
         point="org.eclipse.core.expressions.propertyTesters">
1552
      <propertyTester
1553
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1554
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1555
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1556
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1557
            type="org.eclipse.jface.viewers.IStructuredSelection">
1558
      </propertyTester>
1559
      <propertyTester
1560
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1561
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1562
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1563
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1564
            type="org.eclipse.jface.viewers.TreeSelection">
1565
      </propertyTester>
1566
      <propertyTester
1567
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1568
            id="taxeditor-bulkeditor.PropertyTester"
1569
            namespace="taxeditor-bulkeditor.propertyTester"
1570
            properties="isGroup"
1571
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1572
      </propertyTester>
1573
   </extension>
1574
   <extension
1575
         point="org.eclipse.ui.bindings">   
1576
      <scheme
1577
            description="%scheme.description"
1578
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1579
            name="%scheme.name">
1580
      </scheme>
1581
   </extension>
1582
    <extension
1583
         point="org.eclipse.ui.importWizards">
1584
      <wizard
1585
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1586
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1587
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1588
            name="%wizard.name">
1589
         <description>
1590
            %wizard.description
1591
         </description>
1592
      </wizard>
1593
   </extension>
1594
</plugin>
(5-5/6)