Project

General

Profile

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