Project

General

Profile

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