Project

General

Profile

Download (66.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
   </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
      
1304
      <category
1305
            id="eu.etaxonomy.taxeditor.editor.new.category"
1306
            name="%category.name.4">
1307
      </category>
1308
      <command
1309
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1310
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1311
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1312
            name="%command.name.23">
1313
      </command>
1314
      <command
1315
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1316
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1317
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1318
            name="%command.name.24">
1319
      </command>
1320
      <command
1321
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1322
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1323
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1324
            name="%command.name.25">
1325
      </command>
1326
      <command
1327
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1328
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1329
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1330
            name="%command.name.26">
1331
      </command>
1332
      <command
1333
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1334
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1335
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1336
            name="%command.name.27">
1337
      </command>
1338
      <category
1339
            id="eu.etaxonomy.taxeditor.editor.key.category"
1340
            name="%category.name.5">
1341
      </category>
1342
      <command
1343
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1344
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1345
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1346
            name="%command.name.28">
1347
      </command>
1348
      <command
1349
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1350
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1351
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1352
            name="%command.name.29">
1353
      </command>
1354
      <command
1355
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1356
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1357
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1358
            name="%command.name.30">
1359
      </command>
1360
      <command
1361
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1362
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1363
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1364
            name="%command.name.31">
1365
      </command>
1366
      <command
1367
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1368
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1369
            name="%command.name.50">
1370
      </command>
1371
      <category
1372
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1373
            name="%category.name.6">
1374
      </category>
1375
      <command
1376
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1377
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1378
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1379
            name="%command.name.32">
1380
      </command>
1381
      <command
1382
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1383
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1384
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1385
            name="%command.name.33">
1386
      </command>
1387
      <category
1388
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1389
            name="%category.name.7">
1390
      </category>
1391
      <command
1392
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1393
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1394
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1395
            name="%command.name.34">
1396
      </command>
1397
      <command
1398
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1399
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1400
            name="%command.name.35">
1401
      </command>
1402
       <command
1403
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1404
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1405
             name="%command.name.38">
1406
       </command>
1407
      <command
1408
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1409
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1410
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1411
            name="%command.name.39">
1412
      </command>
1413
      <command
1414
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1415
            name="%command.name.41">
1416
      </command>
1417
      <command
1418
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1419
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1420
            name="%command.name.42">
1421
         <commandParameter
1422
               id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1423
               name="%commandParameter.name"
1424
               optional="false"
1425
               typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1426
         </commandParameter>
1427
      </command>
1428
      <commandParameterType
1429
            converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1430
            id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1431
            type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1432
      </commandParameterType>
1433
      <command
1434
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1435
            id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1436
            name="%command.name.43">
1437
      </command>
1438
      <command
1439
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1440
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1441
            name="%command.name.44">
1442
      </command>
1443
      <command
1444
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1445
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1446
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1447
            name="%command.name.13">
1448
      </command>
1449
       
1450
      <command
1451
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1452
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1453
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1454
            name="%command.name.12">
1455
      </command>
1456
        
1457
   </extension>
1458
   <extension
1459
         point="org.eclipse.core.expressions.definitions">
1460
      <definition
1461
            id="nameEditorActive">
1462
         <with
1463
               variable="activeEditorId">
1464
            <equals
1465
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1466
            </equals>
1467
         </with>
1468
      </definition>
1469
      <definition
1470
            id="isAcceptedTaxon">
1471
         <with
1472
               variable="selection">
1473
            <test
1474
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1475
            </test>
1476
         </with>
1477
      </definition>
1478
      <definition
1479
            id="isSynonym">
1480
         <with
1481
               variable="selection">
1482
            <test
1483
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1484
            </test>
1485
         </with>
1486
      </definition>
1487
      <definition
1488
            id="isMisapplication">
1489
         <with
1490
               variable="selection">
1491
            <test
1492
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1493
            </test>
1494
         </with>
1495
      </definition>
1496
      <definition
1497
            id="isTaxonBase">
1498
         <with
1499
               variable="selection">
1500
            <test
1501
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1502
            </test>
1503
         </with>
1504
      </definition>
1505
      <definition
1506
            id="hasEmptyNames">
1507
         <with
1508
               variable="selection">
1509
            <test
1510
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1511
            </test>
1512
         </with>
1513
      </definition>
1514
      <definition
1515
            id="isDeletable">
1516
         <with
1517
               variable="selection">
1518
            <test
1519
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1520
            </test>
1521
         </with>
1522
      </definition>
1523
      <definition
1524
            id="isMedia">
1525
         <with
1526
               variable="selection">
1527
            <test
1528
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1529
            </test>
1530
         </with>
1531
      </definition>
1532
      <definition
1533
            id="isTaxonEditor">
1534
         <with
1535
               variable="selection">
1536
            <test
1537
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1538
            </test>
1539
         </with>
1540
      </definition>
1541
      <definition
1542
            id="isBulkEditor">
1543
         <with
1544
               variable="selection">
1545
            <test
1546
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1547
            </test>
1548
         </with>
1549
      </definition>
1550
      <definition
1551
            id="isDerivateEditor">
1552
         <with
1553
               variable="selection">
1554
            <test
1555
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1556
            </test>
1557
         </with>
1558
      </definition>
1559
      <definition
1560
            id="isDescription">
1561
         <with
1562
               variable="selection">
1563
            <test
1564
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1565
            </test>
1566
         </with>
1567
      </definition>
1568
      <definition
1569
            id="isDescriptionElement">
1570
         <with
1571
               variable="selection">
1572
            <test
1573
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1574
            </test>
1575
         </with>
1576
      </definition>
1577
      <definition
1578
            id="isFeatureNodeContainer">
1579
         <with
1580
               variable="selection">
1581
            <test
1582
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1583
            </test>
1584
         </with>
1585
      </definition>
1586
      <definition
1587
            id="isImageGallery">
1588
         <with
1589
               variable="selection">
1590
            <test
1591
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1592
            </test>
1593
         </with>
1594
      </definition>
1595
      <definition
1596
            id="isAcceptedAndHasNoHomotypicSynonyms">
1597
         <with
1598
               variable="selection">
1599
            <test
1600
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1601
            </test>
1602
         </with>
1603
      </definition>
1604
      <definition
1605
            id="isGroupEditor">
1606
         <with
1607
               variable="activeEditor">
1608
            <test
1609
                  property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1610
            </test>
1611
         </with>
1612
      </definition>
1613
      <definition
1614
            id="isIndividualsAssociation">
1615
         <with
1616
               variable="selection">
1617
            <test
1618
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1619
            </test>
1620
         </with>
1621
      </definition>
1622
      <definition
1623
            id="isSequence">
1624
         <with
1625
               variable="selection">
1626
            <test
1627
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1628
            </test>
1629
         </with>
1630
      </definition>
1631
      <definition
1632
            id="isSingleRead">
1633
         <with
1634
               variable="selection">
1635
            <test
1636
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1637
            </test>
1638
         </with>
1639
      </definition>
1640
   </extension>
1641
   <extension
1642
         point="org.eclipse.core.expressions.propertyTesters">
1643
      <propertyTester
1644
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1645
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1646
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1647
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1648
            type="org.eclipse.jface.viewers.IStructuredSelection">
1649
      </propertyTester>
1650
      <propertyTester
1651
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1652
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1653
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1654
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1655
            type="org.eclipse.jface.viewers.TreeSelection">
1656
      </propertyTester>
1657
      <propertyTester
1658
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1659
            id="taxeditor-bulkeditor.PropertyTester"
1660
            namespace="taxeditor-bulkeditor.propertyTester"
1661
            properties="isGroupEditor"
1662
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1663
      </propertyTester>
1664
      <propertyTester
1665
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1666
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1667
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1668
            properties="isSequence,isSingleRead"
1669
            type="org.eclipse.jface.viewers.IStructuredSelection">
1670
      </propertyTester>
1671
   </extension>
1672
   <extension
1673
         point="org.eclipse.ui.bindings">   
1674
      <scheme
1675
            description="%scheme.description"
1676
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1677
            name="%scheme.name">
1678
      </scheme>
1679
   </extension>
1680
    <extension
1681
         point="org.eclipse.ui.importWizards">
1682
      <wizard
1683
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1684
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1685
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1686
            name="%wizard.name">
1687
         <description>
1688
            %wizard.description
1689
         </description>
1690
      </wizard>
1691
   </extension>
1692
    <extension
1693
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1694
       <cdmViewer
1695
             class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1696
       </cdmViewer>
1697
    </extension>
1698
</plugin>
(5-5/6)