Project

General

Profile

Download (67.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
                   <reference
689
                        definitionId="isDescriptionElement">
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="isGroupEditor">
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
      <handler
1113
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1114
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1115
         <activeWhen>
1116
            <reference
1117
                  definitionId="isRemoting">
1118
            </reference>
1119
         </activeWhen>
1120
      </handler>
1121
      <handler
1122
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1123
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1124
         <activeWhen>
1125
            <reference
1126
                  definitionId="isRemoting">
1127
            </reference>
1128
         </activeWhen>
1129
      </handler>
1130
   </extension>
1131
   <extension
1132
         name="%extension.name"
1133
         point="org.eclipse.ui.commands">
1134
      <category
1135
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1136
            name="%category.name.0">
1137
      </category>
1138
      <command
1139
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1140
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1141
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1142
            name="%command.name">
1143
      </command>
1144
      <command
1145
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1146
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1147
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1148
            name="%command.name.0">
1149
      </command>
1150
      <command
1151
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1152
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1153
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1154
            name="%command.name.1">
1155
      </command>
1156
      <command
1157
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1158
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1159
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1160
            name="%command.name.2">
1161
      </command>
1162
     <command
1163
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1164
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1165
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1166
            name="%command.name.36">
1167
      </command>
1168
      <!--command
1169
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1170
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1171
            name="Move Taxon">
1172
      </command-->
1173
      <command
1174
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1175
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1176
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1177
            name="%command.name.3">
1178
      </command>
1179
      <command
1180
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1181
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1182
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1183
            name="%command.name.4">
1184
      </command>
1185
      <command
1186
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1187
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1188
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1189
            name="%command.name.5">
1190
      </command>
1191
      <command
1192
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1193
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1194
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1195
            name="%command.name.6">
1196
      </command>
1197
      <command
1198
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1199
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1200
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1201
            name="%command.name.46">
1202
      </command>
1203
      <command
1204
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1205
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1206
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1207
            name="%command.name.7">
1208
      </command>
1209
      <command
1210
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1211
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1212
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1213
            name="%command.name.8">
1214
      </command>
1215
     <!-- <command
1216
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1217
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1218
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1219
            name="Change Accepted Taxon to Synonym">
1220
      </command>-->
1221
      <command
1222
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1223
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1224
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1225
            name="%command.name.45">
1226
      </command>
1227
      <command
1228
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1229
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1230
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1231
            name="%command.name.9">
1232
      </command>
1233
      <category
1234
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1235
            name="%category.name.1">
1236
      </category>
1237
      <command
1238
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1239
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1240
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1241
            name="%command.name.10">
1242
      </command>
1243
      <command
1244
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1245
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1246
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1247
            name="%command.name.11">
1248
      </command>
1249
       <command
1250
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1251
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1252
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1253
             name="%command.name.48">
1254
      </command>
1255
      <category
1256
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1257
            name="%category.name.2">
1258
      </category>
1259
      <command
1260
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1261
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1262
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1263
            name="%command.name.14">
1264
      </command>
1265
      <command
1266
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1267
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1268
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1269
            name="%command.name.16">
1270
      </command>
1271
      <command
1272
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1273
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1274
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1275
            name="%command.name.15">
1276
      </command>
1277
      <command
1278
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1279
            name="%command.name.47">
1280
      </command>
1281
      <category
1282
            id="eu.etaxonomy.taxeditor.editor.media.category"
1283
            name="%category.name.3">
1284
      </category>
1285
      <command
1286
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1287
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1288
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1289
            name="%command.name.19">
1290
      </command>
1291
      <command
1292
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1293
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1294
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1295
            name="%command.name.20">
1296
      </command>
1297
      <command
1298
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1299
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1300
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1301
            name="%command.name.21">
1302
      </command>
1303
      <command
1304
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1305
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1306
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1307
            name="%command.name.37">
1308
      </command>
1309
      <command
1310
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1311
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1312
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1313
            name="%command.name.22">
1314
      </command>
1315
       <command
1316
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1317
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1318
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1319
            name="%command.name.49">
1320
      </command>
1321
      
1322
      <category
1323
            id="eu.etaxonomy.taxeditor.editor.new.category"
1324
            name="%category.name.4">
1325
      </category>
1326
      <command
1327
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1328
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1329
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1330
            name="%command.name.23">
1331
      </command>
1332
      <command
1333
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1334
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1335
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1336
            name="%command.name.24">
1337
      </command>
1338
      <command
1339
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1340
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1341
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1342
            name="%command.name.25">
1343
      </command>
1344
      <command
1345
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1346
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1347
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1348
            name="%command.name.26">
1349
      </command>
1350
      <command
1351
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1352
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1353
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1354
            name="%command.name.27">
1355
      </command>
1356
      <category
1357
            id="eu.etaxonomy.taxeditor.editor.key.category"
1358
            name="%category.name.5">
1359
      </category>
1360
      <command
1361
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1362
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1363
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1364
            name="%command.name.28">
1365
      </command>
1366
      <command
1367
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1368
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1369
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1370
            name="%command.name.29">
1371
      </command>
1372
      <command
1373
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1374
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1375
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1376
            name="%command.name.30">
1377
      </command>
1378
      <command
1379
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1380
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1381
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1382
            name="%command.name.31">
1383
      </command>
1384
      <command
1385
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1386
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1387
            name="%command.name.50">
1388
      </command>
1389
      <category
1390
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1391
            name="%category.name.6">
1392
      </category>
1393
      <command
1394
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1395
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1396
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1397
            name="%command.name.32">
1398
      </command>
1399
      <command
1400
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1401
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1402
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1403
            name="%command.name.33">
1404
      </command>
1405
      <category
1406
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1407
            name="%category.name.7">
1408
      </category>
1409
      <command
1410
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1411
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1412
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1413
            name="%command.name.34">
1414
      </command>
1415
      <command
1416
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1417
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1418
            name="%command.name.35">
1419
      </command>
1420
       <command
1421
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1422
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1423
             name="%command.name.38">
1424
       </command>
1425
      <command
1426
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1427
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1428
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1429
            name="%command.name.39">
1430
      </command>
1431
      <command
1432
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1433
            name="%command.name.41">
1434
      </command>
1435
      <command
1436
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1437
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1438
            name="%command.name.42">
1439
         <commandParameter
1440
               id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1441
               name="%commandParameter.name"
1442
               optional="false"
1443
               typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1444
         </commandParameter>
1445
      </command>
1446
      <commandParameterType
1447
            converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1448
            id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1449
            type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1450
      </commandParameterType>
1451
      <command
1452
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1453
            id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1454
            name="%command.name.43">
1455
      </command>
1456
      <command
1457
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1458
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1459
            name="%command.name.44">
1460
      </command>
1461
      <command
1462
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1463
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1464
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1465
            name="%command.name.13">
1466
      </command>
1467
       
1468
      <command
1469
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1470
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1471
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1472
            name="%command.name.12">
1473
      </command>
1474
        
1475
   </extension>
1476
   <extension
1477
         point="org.eclipse.core.expressions.definitions">
1478
      <definition
1479
            id="nameEditorActive">
1480
         <with
1481
               variable="activeEditorId">
1482
            <equals
1483
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1484
            </equals>
1485
         </with>
1486
      </definition>
1487
      <definition
1488
            id="isAcceptedTaxon">
1489
         <with
1490
               variable="selection">
1491
            <test
1492
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1493
            </test>
1494
         </with>
1495
      </definition>
1496
      <definition
1497
            id="isSynonym">
1498
         <with
1499
               variable="selection">
1500
            <test
1501
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1502
            </test>
1503
         </with>
1504
      </definition>
1505
      <definition
1506
            id="isMisapplication">
1507
         <with
1508
               variable="selection">
1509
            <test
1510
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1511
            </test>
1512
         </with>
1513
      </definition>
1514
      <definition
1515
            id="isTaxonBase">
1516
         <with
1517
               variable="selection">
1518
            <test
1519
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1520
            </test>
1521
         </with>
1522
      </definition>
1523
      <definition
1524
            id="hasEmptyNames">
1525
         <with
1526
               variable="selection">
1527
            <test
1528
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1529
            </test>
1530
         </with>
1531
      </definition>
1532
      <definition
1533
            id="isDeletable">
1534
         <with
1535
               variable="selection">
1536
            <test
1537
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1538
            </test>
1539
         </with>
1540
      </definition>
1541
      <definition
1542
            id="isMedia">
1543
         <with
1544
               variable="selection">
1545
            <test
1546
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1547
            </test>
1548
         </with>
1549
      </definition>
1550
      <definition
1551
            id="isTaxonEditor">
1552
         <with
1553
               variable="selection">
1554
            <test
1555
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1556
            </test>
1557
         </with>
1558
      </definition>
1559
      <definition
1560
            id="isBulkEditor">
1561
         <with
1562
               variable="selection">
1563
            <test
1564
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1565
            </test>
1566
         </with>
1567
      </definition>
1568
      <definition
1569
            id="isDerivateEditor">
1570
         <with
1571
               variable="selection">
1572
            <test
1573
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1574
            </test>
1575
         </with>
1576
      </definition>
1577
      <definition
1578
            id="isDescription">
1579
         <with
1580
               variable="selection">
1581
            <test
1582
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1583
            </test>
1584
         </with>
1585
      </definition>
1586
      <definition
1587
            id="isDescriptionElement">
1588
         <with
1589
               variable="selection">
1590
            <test
1591
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1592
            </test>
1593
         </with>
1594
      </definition>
1595
      <definition
1596
            id="isFeatureNodeContainer">
1597
         <with
1598
               variable="selection">
1599
            <test
1600
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1601
            </test>
1602
         </with>
1603
      </definition>
1604
      <definition
1605
            id="isImageGallery">
1606
         <with
1607
               variable="selection">
1608
            <test
1609
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1610
            </test>
1611
         </with>
1612
      </definition>
1613
      <definition
1614
            id="isAcceptedAndHasNoHomotypicSynonyms">
1615
         <with
1616
               variable="selection">
1617
            <test
1618
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1619
            </test>
1620
         </with>
1621
      </definition>
1622
      <definition
1623
            id="isGroupEditor">
1624
         <with
1625
               variable="activeEditor">
1626
            <test
1627
                  property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1628
            </test>
1629
         </with>
1630
      </definition>
1631
      <definition
1632
            id="isIndividualsAssociation">
1633
         <with
1634
               variable="selection">
1635
            <test
1636
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1637
            </test>
1638
         </with>
1639
      </definition>
1640
      <definition
1641
            id="isRemoting">
1642
         <test
1643
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1644
         </test>
1645
      </definition>
1646
      <definition
1647
            id="isSequence">
1648
         <with
1649
               variable="selection">
1650
            <test
1651
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1652
            </test>
1653
         </with>
1654
      </definition>
1655
      <definition
1656
            id="isSingleRead">
1657
         <with
1658
               variable="selection">
1659
            <test
1660
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1661
            </test>
1662
         </with>
1663
      </definition>
1664
   </extension>
1665
   <extension
1666
         point="org.eclipse.core.expressions.propertyTesters">
1667
      <propertyTester
1668
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1669
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1670
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1671
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1672
            type="org.eclipse.jface.viewers.IStructuredSelection">
1673
      </propertyTester>
1674
      <propertyTester
1675
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1676
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1677
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1678
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1679
            type="org.eclipse.jface.viewers.TreeSelection">
1680
      </propertyTester>
1681
      <propertyTester
1682
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1683
            id="taxeditor-bulkeditor.PropertyTester"
1684
            namespace="taxeditor-bulkeditor.propertyTester"
1685
            properties="isGroupEditor"
1686
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1687
      </propertyTester>
1688
      <propertyTester
1689
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1690
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1691
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1692
            properties="isSequence,isSingleRead"
1693
            type="org.eclipse.jface.viewers.IStructuredSelection">
1694
      </propertyTester>
1695
   </extension>
1696
   <extension
1697
         point="org.eclipse.ui.bindings">   
1698
      <scheme
1699
            description="%scheme.description"
1700
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1701
            name="%scheme.name">
1702
      </scheme>
1703
   </extension>
1704
    <extension
1705
         point="org.eclipse.ui.importWizards">
1706
      <wizard
1707
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1708
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1709
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1710
            name="%wizard.name">
1711
         <description>
1712
            %wizard.description
1713
         </description>
1714
      </wizard>
1715
   </extension>
1716
   <extension
1717
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1718
       <cdmViewer
1719
             class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1720
       </cdmViewer>
1721
    </extension>
1722
</plugin>
(5-5/6)