Project

General

Profile

Download (69.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63
            default="false"
64
            icon="icons/derivate_view-16x16-32.png"
65
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66
            name="%editor.name.5">
67
      </editor>
68
      <editor
69
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70
            default="false"
71
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72
            name="%editor.name.6">
73
      </editor>
74
      <editor
75
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76
            default="false"
77
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78
            name="%editor.name.7">
79
      </editor>
80
         <editor
81
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82
            icon="icons/check.png"
83
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84
            name="%editor.name.8">
85
      </editor>
86
   </extension>
87
      <extension
88
            point="org.eclipse.ui.views">
89
         <view
90
               allowMultiple="false"
91
               category="eu.etaxonomy.taxeditor.editor.category"
92
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
93
               icon="icons/address-book-new.png"
94
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
95
               name="%view.name"
96
               restorable="true">
97
         </view>
98
          <view
99
                allowMultiple="false"
100
                category="eu.etaxonomy.taxeditor.editor.category"
101
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
102
                icon="icons/leaf.png"
103
                id="eu.etaxonomy.taxeditor.editor.view.uses"
104
                name="%view.name.0"
105
                restorable="true">
106
         </view>
107
         <view
108
               allowMultiple="false"
109
               category="eu.etaxonomy.taxeditor.editor.category"
110
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
111
               icon="icons/camera-photo.png"
112
               id="eu.etaxonomy.taxeditor.editor.view.media"
113
               name="%view.name.1"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
119
               id="eu.etaxonomy.taxeditor.editor.view.concept"
120
               name="%view.name.2"
121
               restorable="true">
122
         </view>
123
         <view
124
               category="eu.etaxonomy.taxeditor.editor.category"
125
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
126
               icon="icons/address-book-new.png"
127
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
128
               name="%view.name.3"
129
               restorable="true">
130
         </view>
131
         <category
132
               id="eu.etaxonomy.taxeditor.editor.category"
133
               name="%category.name">
134
         </category>
135
         <view
136
               allowMultiple="true"
137
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
138
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
139
               name="%view.name.4">
140
         </view>
141
         <view
142
               allowMultiple="true"
143
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
144
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
145
               name="%view.name.5">
146
         </view>
147
         <view
148
               allowMultiple="false"
149
               category="eu.etaxonomy.taxeditor.editor.category"
150
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
151
               icon="icons/edit_16x16.gif"
152
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
153
               name="%view.name.6">
154
         </view>
155
      </extension>
156
      
157
	<!-- VALIDATION RELATED STUFF -->
158
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
159
		<super type="org.eclipse.core.resources.problemmarker"/>
160
		<attribute name="databaseId"/>
161
		<attribute name="userFriendlyTypeName"/>
162
		<attribute name="userFriendlyDescription"/>
163
		<attribute name="userFriendlyFieldName"/>
164
		<attribute name="validatorMessage"/>
165
		<attribute name="invalidValue"/>
166
		<attribute name="validatorClass"/>
167
		<attribute name="entityClass"/>
168
		<attribute name="entityId"/>
169
   		<persistent value="false"/>
170
   	</extension>
171

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