Project

General

Profile

Download (62 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="false">
938
               <and>
939
                  <reference
940
                        definitionId="isCdmStoreConnected">
941
                  </reference>
942
                  <reference
943
                        definitionId="isTaxonNode">
944
                  </reference>
945
               </and>
946
            </visibleWhen>
947
         </command>
948
         <separator
949
               name="eu.etaxonomy.taxeditor.editor.separator1"
950
               visible="true">
951
         </separator>
952
      </menuContribution>
953
      <menuContribution
954
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
955
         <separator
956
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
957
               visible="true">
958
         </separator>
959
         <command
960
               commandId="org.eclipse.ui.views.showView"
961
               label="%command.name.40"
962
               style="push">
963
            <parameter
964
                  name="org.eclipse.ui.views.showView.viewId"
965
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
966
            </parameter>
967
         </command>
968
      </menuContribution>
969
   </extension>
970
   <extension
971
         point="org.eclipse.ui.handlers">
972
      <handler
973
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
974
            commandId="org.eclipse.ui.window.newEditor">
975
         <activeWhen>
976
            <not>
977
               <instanceof
978
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
979
               </instanceof>
980
            </not>
981
         </activeWhen>
982
         <enabledWhen>
983
            <count
984
                  value="-1">
985
            </count>
986
         </enabledWhen>
987
      </handler>
988
      <handler
989
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
990
            commandId="org.eclipse.ui.edit.delete">
991
         <activeWhen>
992
            <and>
993
               <reference
994
                     definitionId="isTaxonBase">
995
               </reference>
996
              <not>
997
                  <reference
998
                        definitionId="isAcceptedTaxon">
999
                  </reference>
1000
               </not>
1001
            </and>
1002
         </activeWhen>
1003
      </handler>
1004
      <handler
1005
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1006
            commandId="org.eclipse.ui.edit.delete">
1007
          <activeWhen>
1008
             <with
1009
                   variable="activePartId">
1010
                <or>
1011
                   <equals
1012
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1013
                   </equals>
1014
                   <equals
1015
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1016
                   </equals>
1017
                </or>
1018
             </with>
1019
          </activeWhen>
1020
      </handler>
1021
      <handler
1022
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1023
            commandId="org.eclipse.ui.edit.delete">
1024
         <activeWhen>
1025
            <with
1026
                  variable="activePartId">
1027
               <equals
1028
                     value="eu.etaxonomy.taxeditor.editor.key">
1029
               </equals>
1030
            </with>
1031
         </activeWhen>
1032
      </handler>
1033
      <handler
1034
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1035
            commandId="org.eclipse.ui.edit.delete">
1036
         <activeWhen>
1037
            <with
1038
                  variable="activePartId">
1039
               <equals
1040
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1041
               </equals>
1042
            </with>
1043
         </activeWhen>
1044
      </handler>
1045
      <handler
1046
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1047
            commandId="org.eclipse.ui.edit.delete">
1048
         <activeWhen>
1049
            <with
1050
                  variable="activePartId">
1051
               <equals
1052
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
1053
               </equals>
1054
            </with>
1055
         </activeWhen>
1056
      </handler>
1057
      <handler
1058
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1059
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1060
      </handler>
1061
      <handler
1062
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1063
            commandId="org.eclipse.ui.edit.delete">
1064
         <activeWhen>
1065
            <with
1066
                  variable="activePartId">
1067
               <equals
1068
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1069
               </equals>
1070
            </with>
1071
         </activeWhen>
1072
      </handler>
1073
      <handler
1074
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1075
            commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1076
         <activeWhen>
1077
            <with
1078
                  variable="activePartId">
1079
               <equals
1080
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
1081
               </equals>
1082
            </with>
1083
         </activeWhen>
1084
      </handler>
1085
      <handler
1086
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1087
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1088
      </handler>
1089
   </extension>
1090
   <extension
1091
         name="%extension.name"
1092
         point="org.eclipse.ui.commands">
1093
      <category
1094
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1095
            name="%category.name.0">
1096
      </category>
1097
      <command
1098
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1099
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1100
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1101
            name="%command.name">
1102
      </command>
1103
      <command
1104
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1105
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1106
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1107
            name="%command.name.0">
1108
      </command>
1109
      <command
1110
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1111
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1112
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1113
            name="%command.name.1">
1114
      </command>
1115
      <command
1116
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1117
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1118
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1119
            name="%command.name.2">
1120
      </command>
1121
     <command
1122
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1123
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1124
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1125
            name="%command.name.36">
1126
      </command>
1127
      <!--command
1128
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1129
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1130
            name="Move Taxon">
1131
      </command-->
1132
      <command
1133
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1134
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1135
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1136
            name="%command.name.3">
1137
      </command>
1138
      <command
1139
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1140
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1141
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1142
            name="%command.name.4">
1143
      </command>
1144
      <command
1145
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1146
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1147
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1148
            name="%command.name.5">
1149
      </command>
1150
      <command
1151
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1152
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1153
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1154
            name="%command.name.6">
1155
      </command>
1156
      <command
1157
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1158
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1159
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1160
            name="%command.name.7">
1161
      </command>
1162
      <command
1163
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1164
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1165
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1166
            name="%command.name.8">
1167
      </command>
1168
     <!-- <command
1169
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1170
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1171
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1172
            name="Change Accepted Taxon to Synonym">
1173
      </command>-->
1174
      <command
1175
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1176
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1177
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1178
            name="%command.name.9">
1179
      </command>
1180
      <category
1181
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1182
            name="%category.name.1">
1183
      </category>
1184
      <command
1185
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1186
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1187
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1188
            name="%command.name.10">
1189
      </command>
1190
      <command
1191
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1192
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1193
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1194
            name="%command.name.11">
1195
      </command>
1196
      <command
1197
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1198
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1199
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1200
            name="%command.name.12">
1201
      </command>
1202
      <command
1203
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1204
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1205
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1206
            name="%command.name.13">
1207
      </command>
1208
      <category
1209
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1210
            name="%category.name.2">
1211
      </category>
1212
      <command
1213
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1214
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1215
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1216
            name="%command.name.14">
1217
      </command>
1218
      <command
1219
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1220
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1221
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1222
            name="%command.name.15">
1223
      </command>
1224
      <command
1225
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1226
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1227
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1228
            name="%command.name.16">
1229
      </command>
1230
      <category
1231
            id="eu.etaxonomy.taxeditor.editor.media.category"
1232
            name="%category.name.3">
1233
      </category>
1234
      <command
1235
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1236
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1237
            id="taxeditor-editor.command.moveimgdown"
1238
            name="%command.name.19">
1239
      </command>
1240
      <command
1241
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1242
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1243
            id="taxeditor-editor.command.newimagegallery"
1244
            name="%command.name.20">
1245
      </command>
1246
      <command
1247
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1248
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1249
            id="taxeditor-editor.newimage"
1250
            name="%command.name.21">
1251
      </command>
1252
      <command
1253
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1254
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1255
            id="taxeditor-editor.useExistingImage"
1256
            name="%command.name.37">
1257
      </command>
1258
      <command
1259
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1260
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1261
            id="taxeditor-editor.command.moveimgup"
1262
            name="%command.name.22">
1263
      </command>
1264
      <category
1265
            id="eu.etaxonomy.taxeditor.editor.new.category"
1266
            name="%category.name.4">
1267
      </category>
1268
      <command
1269
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1270
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1271
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1272
            name="%command.name.23">
1273
      </command>
1274
      <command
1275
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1276
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1277
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1278
            name="%command.name.24">
1279
      </command>
1280
      <command
1281
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1282
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1283
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1284
            name="%command.name.25">
1285
      </command>
1286
      <command
1287
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1288
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1289
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1290
            name="%command.name.26">
1291
      </command>
1292
      <command
1293
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1294
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1295
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1296
            name="%command.name.27">
1297
      </command>
1298
      <category
1299
            id="eu.etaxonomy.taxeditor.editor.key.category"
1300
            name="%category.name.5">
1301
      </category>
1302
      <command
1303
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1304
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1305
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1306
            name="%command.name.28">
1307
      </command>
1308
      <command
1309
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1310
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1311
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1312
            name="%command.name.29">
1313
      </command>
1314
      <command
1315
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1316
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1317
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1318
            name="%command.name.30">
1319
      </command>
1320
      <command
1321
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1322
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1323
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1324
            name="%command.name.31">
1325
      </command>
1326
      <category
1327
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1328
            name="%category.name.6">
1329
      </category>
1330
      <command
1331
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1332
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1333
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1334
            name="%command.name.32">
1335
      </command>
1336
      <command
1337
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1338
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1339
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1340
            name="%command.name.33">
1341
      </command>
1342
      <category
1343
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1344
            name="%category.name.7">
1345
      </category>
1346
      <command
1347
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1348
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1349
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1350
            name="%command.name.34">
1351
      </command>
1352
      <command
1353
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1354
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1355
            name="%command.name.35">
1356
      </command>
1357
       <command
1358
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1359
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1360
             name="%command.name.38">
1361
       </command>
1362
      <command
1363
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1364
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1365
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1366
            name="%command.name.39">
1367
      </command>
1368
      <command
1369
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1370
            name="Show Only Individual Associations">
1371
      </command>
1372
      <command
1373
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1374
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1375
            name="Open Taxon Editor">
1376
         <commandParameter
1377
               id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1378
               name="taxonUUID"
1379
               optional="false"
1380
               typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1381
         </commandParameter>
1382
      </command>
1383
      <commandParameterType
1384
            converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1385
            id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1386
            type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1387
      </commandParameterType>
1388
      <command
1389
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1390
            id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1391
            name="Create Field Unit">
1392
      </command>
1393
      <command
1394
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1395
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1396
            name="Deep Delete">
1397
      </command>
1398
   </extension>
1399
   <extension
1400
         point="org.eclipse.core.expressions.definitions">
1401
      <definition
1402
            id="nameEditorActive">
1403
         <with
1404
               variable="activeEditorId">
1405
            <equals
1406
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1407
            </equals>
1408
         </with>
1409
      </definition>
1410
      <definition
1411
            id="isAcceptedTaxon">
1412
         <with
1413
               variable="selection">
1414
            <test
1415
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1416
            </test>
1417
         </with>
1418
      </definition>
1419
      <definition
1420
            id="isSynonym">
1421
         <with
1422
               variable="selection">
1423
            <test
1424
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1425
            </test>
1426
         </with>
1427
      </definition>
1428
      <definition
1429
            id="isMisapplication">
1430
         <with
1431
               variable="selection">
1432
            <test
1433
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1434
            </test>
1435
         </with>
1436
      </definition>
1437
      <definition
1438
            id="isTaxonBase">
1439
         <with
1440
               variable="selection">
1441
            <test
1442
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1443
            </test>
1444
         </with>
1445
      </definition>
1446
      <definition
1447
            id="hasEmptyNames">
1448
         <with
1449
               variable="selection">
1450
            <test
1451
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1452
            </test>
1453
         </with>
1454
      </definition>
1455
      <definition
1456
            id="isDeletable">
1457
         <with
1458
               variable="selection">
1459
            <test
1460
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1461
            </test>
1462
         </with>
1463
      </definition>
1464
      <definition
1465
            id="isMedia">
1466
         <with
1467
               variable="selection">
1468
            <test
1469
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1470
            </test>
1471
         </with>
1472
      </definition>
1473
      <definition
1474
            id="isTaxonEditor">
1475
         <with
1476
               variable="selection">
1477
            <test
1478
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1479
            </test>
1480
         </with>
1481
      </definition>
1482
      <definition
1483
            id="isBulkEditor">
1484
         <with
1485
               variable="selection">
1486
            <test
1487
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1488
            </test>
1489
         </with>
1490
      </definition>
1491
      <definition
1492
            id="isDerivateEditor">
1493
         <with
1494
               variable="selection">
1495
            <test
1496
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1497
            </test>
1498
         </with>
1499
      </definition>
1500
      <definition
1501
            id="isDescription">
1502
         <with
1503
               variable="selection">
1504
            <test
1505
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1506
            </test>
1507
         </with>
1508
      </definition>
1509
      <definition
1510
            id="isDescriptionElement">
1511
         <with
1512
               variable="selection">
1513
            <test
1514
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1515
            </test>
1516
         </with>
1517
      </definition>
1518
      <definition
1519
            id="isFeatureNodeContainer">
1520
         <with
1521
               variable="selection">
1522
            <test
1523
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1524
            </test>
1525
         </with>
1526
      </definition>
1527
      <definition
1528
            id="isImageGallery">
1529
         <with
1530
               variable="selection">
1531
            <test
1532
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1533
            </test>
1534
         </with>
1535
      </definition>
1536
      <definition
1537
            id="isAcceptedAndHasNoHomotypicSynonyms">
1538
         <with
1539
               variable="selection">
1540
            <test
1541
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1542
            </test>
1543
         </with>
1544
      </definition>
1545
      <definition
1546
            id="isGroup">
1547
         <with
1548
               variable="activeEditor">
1549
            <test
1550
                  property="taxeditor-bulkeditor.propertyTester.isGroup">
1551
            </test>
1552
         </with>
1553
      </definition>
1554
   </extension>
1555
   <extension
1556
         point="org.eclipse.core.expressions.propertyTesters">
1557
      <propertyTester
1558
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1559
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1560
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1561
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1562
            type="org.eclipse.jface.viewers.IStructuredSelection">
1563
      </propertyTester>
1564
      <propertyTester
1565
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1566
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1567
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1568
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor"
1569
            type="org.eclipse.jface.viewers.TreeSelection">
1570
      </propertyTester>
1571
      <propertyTester
1572
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1573
            id="taxeditor-bulkeditor.PropertyTester"
1574
            namespace="taxeditor-bulkeditor.propertyTester"
1575
            properties="isGroup"
1576
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1577
      </propertyTester>
1578
   </extension>
1579
   <extension
1580
         point="org.eclipse.ui.bindings">   
1581
      <scheme
1582
            description="%scheme.description"
1583
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1584
            name="%scheme.name">
1585
      </scheme>
1586
   </extension>
1587
    <extension
1588
         point="org.eclipse.ui.importWizards">
1589
      <wizard
1590
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1591
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1592
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1593
            name="%wizard.name">
1594
         <description>
1595
            %wizard.description
1596
         </description>
1597
      </wizard>
1598
   </extension>
1599
</plugin>
(5-5/6)