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