Project

General

Profile

Download (67.7 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
      <!-- VALIDATION RELATED STUFF -->
157
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
158
		<super type="org.eclipse.core.resources.problemmarker"/>
159
		<attribute name="databaseId"/>
160
		<attribute name="userFriendlyTypeName"/>
161
		<attribute name="userFriendlyDescription"/>
162
		<attribute name="userFriendlyFieldName"/>
163
		<attribute name="validatorMessage"/>
164
		<attribute name="invalidValue"/>
165
		<attribute name="validatorClass"/>
166
		<attribute name="entityClass"/>
167
		<attribute name="entityId"/>
168
   		<persistent value="false"/>
169
   	</extension>
170

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