Project

General

Profile

Download (63.7 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
63
            default="false"
64
            icon="icons/derivate_view-16x16-32.png"
65
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView"
66
            name="%editor.name.5">
67
      </editor>
68
      <editor
69
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
70
            default="false"
71
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
72
            name="%editor.name.6">
73
      </editor>
74
      <editor
75
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
76
            default="false"
77
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
78
            name="%editor.name.7">
79
      </editor>
80
         <editor
81
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
82
            icon="icons/check.png"
83
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
84
            name="%editor.name.8">
85
      </editor>
86
   </extension>
87
      <extension
88
            point="org.eclipse.ui.views">
89
         <view
90
               allowMultiple="false"
91
               category="eu.etaxonomy.taxeditor.editor.category"
92
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
93
               icon="icons/address-book-new.png"
94
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
95
               name="%view.name"
96
               restorable="true">
97
         </view>
98
          <view
99
                allowMultiple="false"
100
                category="eu.etaxonomy.taxeditor.editor.category"
101
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
102
                icon="icons/leaf.png"
103
                id="eu.etaxonomy.taxeditor.editor.view.uses"
104
                name="%view.name.0"
105
                restorable="true">
106
         </view>
107
         <view
108
               allowMultiple="false"
109
               category="eu.etaxonomy.taxeditor.editor.category"
110
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
111
               icon="icons/camera-photo.png"
112
               id="eu.etaxonomy.taxeditor.editor.view.media"
113
               name="%view.name.1"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
119
               id="eu.etaxonomy.taxeditor.editor.view.concept"
120
               name="%view.name.2"
121
               restorable="true">
122
         </view>
123
         <view
124
               category="eu.etaxonomy.taxeditor.editor.category"
125
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
126
               icon="icons/address-book-new.png"
127
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
128
               name="%view.name.3"
129
               restorable="true">
130
         </view>
131
         <category
132
               id="eu.etaxonomy.taxeditor.editor.category"
133
               name="%category.name">
134
         </category>
135
         <view
136
               allowMultiple="true"
137
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
138
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
139
               name="%view.name.4">
140
         </view>
141
         <view
142
               allowMultiple="true"
143
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
144
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
145
               name="%view.name.5">
146
         </view>
147
         <view
148
               allowMultiple="false"
149
               category="eu.etaxonomy.taxeditor.editor.category"
150
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
151
               icon="icons/edit_16x16.gif"
152
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
153
               name="%view.name.6">
154
         </view>
155
      </extension>
156
      
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="Validation Problems Marker Generator">  
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="org.eclipse.ui.edit.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
         <separator
527
               name="taxeditor-editor.separator3"
528
               visible="true">
529
         </separator>
530
         <command
531
               commandId="org.eclipse.ui.views.showView"
532
               label="%command.label.18"
533
               style="push">
534
            <parameter
535
                  name="org.eclipse.ui.views.showView.viewId"
536
                  value="eu.etaxonomy.taxeditor.editor.forms.detailsView">
537
            </parameter>
538
         </command>
539
         <separator
540
               name="taxeditor-editor.separator4"
541
               visible="true">
542
         </separator>
543
         <command
544
               commandId="org.eclipse.ui.file.save"
545
               label="%command.label.19"
546
               style="push">
547
         </command>
548
      </menuContribution>
549
      <menuContribution
550
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
551
         <command
552
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
553
               label="%command.label.20"
554
               style="push">
555
         </command>
556
         <separator
557
               name="taxeditor-editor.separator1"
558
               visible="true">
559
         </separator>
560
         <command
561
               commandId="org.eclipse.ui.edit.delete"
562
               label="%command.label.21"
563
               style="push">
564
         </command>
565
         <separator
566
               name="taxeditor-editor.separator2"
567
               visible="true">
568
         </separator>
569
         <command
570
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
571
               label="%command.label.22"
572
               style="push">
573
         </command>
574
         <separator
575
               name="taxeditor-editor.separator3"
576
               visible="true">
577
         </separator>
578
      </menuContribution>
579
      <menuContribution
580
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
581
         <command
582
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
583
               label="%command.label.23"
584
               style="push">
585
         </command>
586
         <command
587
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
588
               label="%command.label.24"
589
               style="push">
590
         </command>
591
         <command
592
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
593
               label="%command.label.25"
594
               style="push">
595
         </command>
596
         <command
597
               commandId="org.eclipse.ui.edit.delete"
598
               label="%command.label.26"
599
               style="push">
600
         </command>
601
      </menuContribution>
602
      <menuContribution
603
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
604
         <command
605
               commandId="eu.etaxonomy.taxeditor.description.commands.adddescription"
606
               label="%command.label.27"
607
               style="push">
608
         </command>
609
         <separator
610
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
611
               visible="true">
612
         </separator>
613
         <menu
614
               label="%menu.label.1">
615
            <dynamic
616
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
617
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
618
            </dynamic>
619
            <visibleWhen
620
                  checkEnabled="true">
621
               <or>
622
                  <reference
623
                        definitionId="isDescription">
624
                  </reference>
625
                  <reference
626
                        definitionId="isDescriptionElement">
627
                  </reference>
628
                  <reference
629
                        definitionId="isFeatureNodeContainer">
630
                  </reference>
631
               </or>
632
            </visibleWhen>
633
         </menu>
634
         <separator
635
               name="taxeditor-editor.separator1"
636
               visible="true">
637
         </separator>
638
         <command
639
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
640
               label="%command.label.51"
641
               style="push">
642
            <visibleWhen
643
                  checkEnabled="true">
644
               <and>
645
                  <with
646
                        variable="selection">
647
                     <count
648
                           value="+">
649
                     </count>
650
                  </with>
651
                  <reference
652
                        definitionId="isIndividualsAssociation">
653
                  </reference>
654
               </and>
655
            </visibleWhen>
656
         </command>
657
         <command
658
               commandId="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
659
               label="%command.label.28"
660
               style="push">
661
            <visibleWhen
662
                  checkEnabled="true">
663
               <reference
664
                     definitionId="isDescription">
665
               </reference>
666
            </visibleWhen>
667
         </command>
668
         <command
669
               commandId="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
670
               label="%command.label.29"
671
               style="push">
672
            <visibleWhen
673
                  checkEnabled="true">
674
               <or>
675
                  <reference
676
                        definitionId="isDescriptionElement">
677
                  </reference>
678
                  <reference
679
                        definitionId="isFeatureNodeContainer">
680
                  </reference>
681
               </or>
682
            </visibleWhen>
683
         </command>
684
         <separator
685
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
686
               visible="true">
687
         </separator>
688
         <command
689
               commandId="org.eclipse.ui.edit.delete"
690
               label="%command.label.30"
691
               style="push">
692
         </command>
693
         <separator
694
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
695
               visible="true">
696
         </separator>
697
         <command
698
               commandId="org.eclipse.ui.file.save"
699
               label="%command.label.31"
700
               style="push">
701
         </command>
702
         <separator
703
               name="eu.etaxonomy.taxeditor.editor.separator1">
704
         </separator>
705
      </menuContribution>
706
      <menuContribution
707
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
708
         <command
709
               commandId="org.eclipse.ui.edit.delete"
710
               label="%command.label.52"
711
               style="push">
712
         </command>
713
         <command
714
               commandId="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
715
               label="%command.label.53"
716
               style="push">
717
         </command>
718
         <command
719
               commandId="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
720
               icon="icons/deep-delete-16x16-32.png"
721
               label="%command.label.54"
722
               style="push">
723
         </command>
724
         <dynamic
725
               class="eu.etaxonomy.taxeditor.editor.view.derivate.contextMenu.DerivateViewContextMenu"
726
               id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
727
         </dynamic>
728
      </menuContribution>
729
      <menuContribution
730
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
731
         <dynamic
732
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
733
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
734
         </dynamic>
735
      </menuContribution>
736
      <menuContribution
737
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
738
         <dynamic
739
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
740
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
741
         </dynamic>
742
      </menuContribution>
743
      
744
      
745
      
746
      
747
      <menuContribution
748
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
749
         <command
750
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
751
               label="%command.label.32"
752
               style="push">
753
         </command>
754
         <command
755
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
756
               label="%command.label.33"
757
               style="push">
758
            <visibleWhen
759
                  checkEnabled="true">
760
               <or>
761
                  <reference
762
                        definitionId="isDescription">
763
                  </reference>
764
                  <reference
765
                        definitionId="isDescriptionElement">
766
                  </reference>
767
                  <reference
768
                        definitionId="isFeatureNodeContainer">
769
                  </reference>
770
               </or>
771
            </visibleWhen>
772
         </command>
773
         <command
774
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
775
               label="%command.label.34"
776
               style="push">
777
            <visibleWhen
778
                  checkEnabled="true">
779
               <or>
780
                  <reference
781
                        definitionId="isDescription">
782
                  </reference>
783
                  <reference
784
                        definitionId="isDescriptionElement">
785
                  </reference>
786
                  <reference
787
                        definitionId="isFeatureNodeContainer">
788
                  </reference>
789
               </or>
790
            </visibleWhen>
791
         </command>
792
         <separator
793
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
794
               visible="true">
795
         </separator>
796
         <separator
797
               name="taxeditor-editor.separator1"
798
               visible="true">
799
         </separator>
800
         <separator
801
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
802
               visible="true">
803
         </separator>
804
         <command
805
               commandId="org.eclipse.ui.edit.delete"
806
               label="%command.label.35"
807
               style="push">
808
         </command>
809
         <separator
810
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
811
               visible="true">
812
         </separator>
813
         <command
814
               commandId="org.eclipse.ui.file.save"
815
               label="%command.label.36"
816
               style="push">
817
         </command>
818
      </menuContribution>
819
      
820
      
821
      
822
      
823
      
824
      <menuContribution
825
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.media">
826
         <command
827
               commandId="taxeditor-editor.command.newimagegallery"
828
               label="%command.label.37"
829
               style="push">
830
            <visibleWhen>
831
               <or>
832
                  <reference
833
                        definitionId="isBulkEditor">
834
                  </reference>
835
                  <reference
836
                        definitionId="isTaxonEditor">
837
                  </reference>
838
                  <reference
839
                        definitionId="isDerivateEditor">
840
                  </reference>
841
               </or>
842
            </visibleWhen>
843
         </command>
844
         <separator
845
               name="taxeditor-editor.separator1"
846
               visible="true">
847
         </separator>
848
         <command
849
               commandId="taxeditor-editor.newimage"
850
               label="%command.label.38"
851
               style="push">
852
            <visibleWhen>
853
               <reference
854
                     definitionId="isImageGallery">
855
               </reference>
856
            </visibleWhen>
857
         </command>
858
         <command
859
               commandId="taxeditor-editor.useExistingImage"
860
               label="%command.label.50"
861
               style="push">
862
            <visibleWhen>
863
               <reference
864
                     definitionId="isImageGallery">
865
               </reference>
866
            </visibleWhen>
867
         </command>
868
         <command
869
               commandId="taxeditor-editor.command.moveimgdown"
870
               label="%command.label.39"
871
               style="push">
872
            <visibleWhen>
873
               <reference
874
                     definitionId="isMedia">
875
               </reference>
876
            </visibleWhen>
877
         </command>
878
         <command
879
               commandId="taxeditor-editor.command.moveimgup"
880
               label="%command.label.40"
881
               style="push">
882
            <visibleWhen>
883
               <reference
884
                     definitionId="isMedia">
885
               </reference>
886
            </visibleWhen>
887
         </command>
888
         <separator
889
               name="taxeditor-editor.separator2"
890
               visible="true">
891
         </separator>
892
         <command
893
               commandId="org.eclipse.ui.edit.delete"
894
               label="%command.label.41"
895
               style="push">
896
         </command>
897
         <command
898
               commandId="org.eclipse.ui.file.save"
899
               label="%command.label.42"
900
               style="push">
901
         </command>
902
      </menuContribution>
903
      <menuContribution
904
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.concept">
905
         <menu
906
               label="%menu.label.3">
907
            <dynamic
908
                  class="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationMenu"
909
                  id="eu.etaxonomy.taxeditor.editor.view.concept.menus.new">
910
            </dynamic>
911
         </menu>
912
         <command
913
               commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
914
               label="%command.label.43"
915
               style="push">
916
         </command>
917
         <separator
918
               name="eu.etaxonomy.taxeditor.editor.view.concept.menu.separator1"
919
               visible="true">
920
         </separator>
921
         <command
922
               commandId="org.eclipse.ui.edit.delete"
923
               label="%command.label.44"
924
               style="push">
925
         </command>
926
      </menuContribution>
927
      <menuContribution
928
            allPopups="false"
929
            locationURI="popup:#BulkEditorContext?before=taxeditor-bulkeditor.separator1">
930
         <command
931
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
932
               label="%command.label.45"
933
               style="push">
934
            <visibleWhen>
935
               <reference
936
                     definitionId="isGroup">
937
               </reference>
938
            </visibleWhen>
939
         </command>
940
      </menuContribution>
941
      <menuContribution
942
            allPopups="false"
943
            locationURI="toolbar:eu.etaxonomy.taxeditor.editor.view.descriptive">
944
         <command
945
               commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
946
               icon="icons/link_obj.gif"
947
               style="toggle"
948
               tooltip="%command.tooltip">
949
         </command>
950
      </menuContribution>
951
      <menuContribution
952
            allPopups="false"
953
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup?after=taxeditor-navigation.separator2">
954
         <command
955
               commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
956
               label="%command.label.55"
957
               style="push">
958
            <visibleWhen
959
                  checkEnabled="false">
960
               <and>
961
                  <reference
962
                        definitionId="isCdmStoreConnected">
963
                  </reference>
964
                  <reference
965
                        definitionId="isTaxonNode">
966
                  </reference>
967
               </and>
968
            </visibleWhen>
969
         </command>
970
         <separator
971
               name="eu.etaxonomy.taxeditor.editor.separator1"
972
               visible="true">
973
         </separator>
974
      </menuContribution>
975
      <menuContribution
976
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
977
         <separator
978
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
979
               visible="true">
980
         </separator>
981
         <command
982
               commandId="org.eclipse.ui.views.showView"
983
               label="%command.name.40"
984
               style="push">
985
            <parameter
986
                  name="org.eclipse.ui.views.showView.viewId"
987
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
988
            </parameter>
989
         </command>
990
      </menuContribution>
991
   </extension>
992
   <extension
993
         point="org.eclipse.ui.handlers">
994
      <handler
995
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
996
            commandId="org.eclipse.ui.window.newEditor">
997
         <activeWhen>
998
            <not>
999
               <instanceof
1000
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
1001
               </instanceof>
1002
            </not>
1003
         </activeWhen>
1004
         <enabledWhen>
1005
            <count
1006
                  value="-1">
1007
            </count>
1008
         </enabledWhen>
1009
      </handler>
1010
      <handler
1011
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1012
            commandId="org.eclipse.ui.edit.delete">
1013
         <activeWhen>
1014
            <and>
1015
               <reference
1016
                     definitionId="isTaxonBase">
1017
               </reference>
1018
              <not>
1019
                  <reference
1020
                        definitionId="isAcceptedTaxon">
1021
                  </reference>
1022
               </not>
1023
            </and>
1024
         </activeWhen>
1025
      </handler>
1026
      <handler
1027
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1028
            commandId="org.eclipse.ui.edit.delete">
1029
          <activeWhen>
1030
             <with
1031
                   variable="activePartId">
1032
                <or>
1033
                   <equals
1034
                         value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1035
                   </equals>
1036
                   <equals
1037
                         value="eu.etaxonomy.taxeditor.editor.view.media">
1038
                   </equals>
1039
                </or>
1040
             </with>
1041
          </activeWhen>
1042
      </handler>
1043
      <handler
1044
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1045
            commandId="org.eclipse.ui.edit.delete">
1046
         <activeWhen>
1047
            <with
1048
                  variable="activePartId">
1049
               <equals
1050
                     value="eu.etaxonomy.taxeditor.editor.key">
1051
               </equals>
1052
            </with>
1053
         </activeWhen>
1054
      </handler>
1055
      <handler
1056
            class="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1057
            commandId="org.eclipse.ui.edit.delete">
1058
         <activeWhen>
1059
            <with
1060
                  variable="activePartId">
1061
               <equals
1062
                     value="eu.etaxonomy.taxeditor.editor.view.concept">
1063
               </equals>
1064
            </with>
1065
         </activeWhen>
1066
      </handler>
1067
      <handler
1068
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1069
            commandId="org.eclipse.ui.edit.delete">
1070
         <activeWhen>
1071
            <with
1072
                  variable="activePartId">
1073
               <equals
1074
                     value="eu.etaxonomy.taxeditor.editor.view.uses">
1075
               </equals>
1076
            </with>
1077
         </activeWhen>
1078
      </handler>
1079
      <handler
1080
            class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1081
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1082
      </handler>
1083
      <handler
1084
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1085
            commandId="org.eclipse.ui.edit.delete">
1086
         <activeWhen>
1087
            <with
1088
                  variable="activePartId">
1089
               <equals
1090
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1091
               </equals>
1092
            </with>
1093
         </activeWhen>
1094
      </handler>
1095
      <handler
1096
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivateEditorForTaxonHandler"
1097
            commandId="eu.etaxonomy.taxeditor.editor.handler.openDerivateView">
1098
         <activeWhen>
1099
            <with
1100
                  variable="activePartId">
1101
               <equals
1102
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
1103
               </equals>
1104
            </with>
1105
         </activeWhen>
1106
      </handler>
1107
      <handler
1108
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1109
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1110
      </handler>
1111
      <handler
1112
            class="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1113
            commandId="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler">
1114
      </handler>
1115
   </extension>
1116
   <extension
1117
         name="%extension.name"
1118
         point="org.eclipse.ui.commands">
1119
      <category
1120
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1121
            name="%category.name.0">
1122
      </category>
1123
      <command
1124
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1125
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1126
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1127
            name="%command.name">
1128
      </command>
1129
      <command
1130
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1131
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1132
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1133
            name="%command.name.0">
1134
      </command>
1135
      <command
1136
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1137
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1138
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1139
            name="%command.name.1">
1140
      </command>
1141
      <command
1142
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1143
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1144
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1145
            name="%command.name.2">
1146
      </command>
1147
     <command
1148
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1149
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1150
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1151
            name="%command.name.36">
1152
      </command>
1153
      <!--command
1154
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1155
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1156
            name="Move Taxon">
1157
      </command-->
1158
      <command
1159
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1160
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1161
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1162
            name="%command.name.3">
1163
      </command>
1164
      <command
1165
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1166
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1167
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1168
            name="%command.name.4">
1169
      </command>
1170
      <command
1171
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1172
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1173
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1174
            name="%command.name.5">
1175
      </command>
1176
      <command
1177
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1178
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1179
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1180
            name="%command.name.6">
1181
      </command>
1182
      <command
1183
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1184
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1185
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1186
            name="%command.name.7">
1187
      </command>
1188
      <command
1189
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1190
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1191
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1192
            name="%command.name.8">
1193
      </command>
1194
     <!-- <command
1195
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1196
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1197
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1198
            name="Change Accepted Taxon to Synonym">
1199
      </command>-->
1200
      <command
1201
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1202
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1203
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1204
            name="%command.name.9">
1205
      </command>
1206
      <category
1207
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1208
            name="%category.name.1">
1209
      </category>
1210
      <command
1211
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1212
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1213
            id="eu.etaxonomy.taxeditor.editor.description.createDescriptionElement"
1214
            name="%command.name.10">
1215
      </command>
1216
      <command
1217
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1218
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1219
            id="eu.etaxonomy.taxeditor.description.commands.adddescription"
1220
            name="%command.name.11">
1221
      </command>
1222
      <command
1223
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1224
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1225
            id="eu.etaxonomy.taxeditor.description.commands.moveDescriptionElements"
1226
            name="%command.name.12">
1227
      </command>
1228
      <command
1229
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1230
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1231
            id="eu.etaxonomy.taxeditor.editor.commands.description.moveDescriptionToTaxon"
1232
            name="%command.name.13">
1233
      </command>
1234
      <category
1235
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1236
            name="%category.name.2">
1237
      </category>
1238
      <command
1239
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1240
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1241
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1242
            name="%command.name.14">
1243
      </command>
1244
      <command
1245
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1246
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1247
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1248
            name="%command.name.15">
1249
      </command>
1250
      <command
1251
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1252
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1253
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1254
            name="%command.name.16">
1255
      </command>
1256
      <category
1257
            id="eu.etaxonomy.taxeditor.editor.media.category"
1258
            name="%category.name.3">
1259
      </category>
1260
      <command
1261
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1262
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1263
            id="taxeditor-editor.command.moveimgdown"
1264
            name="%command.name.19">
1265
      </command>
1266
      <command
1267
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1268
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1269
            id="taxeditor-editor.command.newimagegallery"
1270
            name="%command.name.20">
1271
      </command>
1272
      <command
1273
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1274
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1275
            id="taxeditor-editor.newimage"
1276
            name="%command.name.21">
1277
      </command>
1278
      <command
1279
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1280
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1281
            id="taxeditor-editor.useExistingImage"
1282
            name="%command.name.37">
1283
      </command>
1284
      <command
1285
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1286
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1287
            id="taxeditor-editor.command.moveimgup"
1288
            name="%command.name.22">
1289
      </command>
1290
      <category
1291
            id="eu.etaxonomy.taxeditor.editor.new.category"
1292
            name="%category.name.4">
1293
      </category>
1294
      <command
1295
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1296
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1297
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1298
            name="%command.name.23">
1299
      </command>
1300
      <command
1301
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1302
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1303
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1304
            name="%command.name.24">
1305
      </command>
1306
      <command
1307
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1308
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1309
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1310
            name="%command.name.25">
1311
      </command>
1312
      <command
1313
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1314
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1315
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1316
            name="%command.name.26">
1317
      </command>
1318
      <command
1319
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1320
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewSpecimenHandler"
1321
            id="eu.etaxonomy.taxeditor.editor.command.new.specimen"
1322
            name="%command.name.27">
1323
      </command>
1324
      <category
1325
            id="eu.etaxonomy.taxeditor.editor.key.category"
1326
            name="%category.name.5">
1327
      </category>
1328
      <command
1329
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1330
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1331
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1332
            name="%command.name.28">
1333
      </command>
1334
      <command
1335
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1336
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1337
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1338
            name="%command.name.29">
1339
      </command>
1340
      <command
1341
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1342
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1343
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1344
            name="%command.name.30">
1345
      </command>
1346
      <command
1347
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1348
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1349
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1350
            name="%command.name.31">
1351
      </command>
1352
      <category
1353
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1354
            name="%category.name.6">
1355
      </category>
1356
      <command
1357
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1358
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1359
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1360
            name="%command.name.32">
1361
      </command>
1362
      <command
1363
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1364
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1365
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1366
            name="%command.name.33">
1367
      </command>
1368
      <category
1369
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1370
            name="%category.name.7">
1371
      </category>
1372
      <command
1373
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1374
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1375
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1376
            name="%command.name.34">
1377
      </command>
1378
      <command
1379
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1380
            id="eu.etaxonomy.taxeditor.editor.handler.openDerivateView"
1381
            name="%command.name.35">
1382
      </command>
1383
       <command
1384
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1385
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1386
             name="%command.name.38">
1387
       </command>
1388
      <command
1389
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1390
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1391
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1392
            name="%command.name.39">
1393
      </command>
1394
      <command
1395
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1396
            name="%command.name.41">
1397
      </command>
1398
      <command
1399
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenTaxonEditorHandler"
1400
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditor"
1401
            name="%command.name.42">
1402
         <commandParameter
1403
               id="eu.etaxonomy.taxeditor.editor.taxonParameter"
1404
               name="taxonUUID"
1405
               optional="false"
1406
               typeId="eu.etaxonomy.taxeditor.editor.taxonParameterType">
1407
         </commandParameter>
1408
      </command>
1409
      <commandParameterType
1410
            converter="eu.etaxonomy.taxeditor.editor.handler.TaxonParameterConverter"
1411
            id="eu.etaxonomy.taxeditor.editor.taxonParameterType"
1412
            type="eu.etaxonomy.cdm.model.taxon.TaxonBase">
1413
      </commandParameterType>
1414
      <command
1415
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler"
1416
            id="eu.etaxonomy.taxeditor.editor.derivate.createFieldUnit"
1417
            name="%command.name.43">
1418
      </command>
1419
      <command
1420
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1421
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1422
            name="%command.name.44">
1423
      </command>
1424
      <command
1425
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.FixClassificationHierarchyHandler"
1426
            id="eu.etaxonomy.taxeditor.editor.handler.OpenFixClassificationHierarchyHandler"
1427
            name="%command.name.45">
1428
      </command>
1429
   </extension>
1430
   <extension
1431
         point="org.eclipse.core.expressions.definitions">
1432
      <definition
1433
            id="nameEditorActive">
1434
         <with
1435
               variable="activeEditorId">
1436
            <equals
1437
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1438
            </equals>
1439
         </with>
1440
      </definition>
1441
      <definition
1442
            id="isAcceptedTaxon">
1443
         <with
1444
               variable="selection">
1445
            <test
1446
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1447
            </test>
1448
         </with>
1449
      </definition>
1450
      <definition
1451
            id="isSynonym">
1452
         <with
1453
               variable="selection">
1454
            <test
1455
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1456
            </test>
1457
         </with>
1458
      </definition>
1459
      <definition
1460
            id="isMisapplication">
1461
         <with
1462
               variable="selection">
1463
            <test
1464
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1465
            </test>
1466
         </with>
1467
      </definition>
1468
      <definition
1469
            id="isTaxonBase">
1470
         <with
1471
               variable="selection">
1472
            <test
1473
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1474
            </test>
1475
         </with>
1476
      </definition>
1477
      <definition
1478
            id="hasEmptyNames">
1479
         <with
1480
               variable="selection">
1481
            <test
1482
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1483
            </test>
1484
         </with>
1485
      </definition>
1486
      <definition
1487
            id="isDeletable">
1488
         <with
1489
               variable="selection">
1490
            <test
1491
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1492
            </test>
1493
         </with>
1494
      </definition>
1495
      <definition
1496
            id="isMedia">
1497
         <with
1498
               variable="selection">
1499
            <test
1500
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1501
            </test>
1502
         </with>
1503
      </definition>
1504
      <definition
1505
            id="isTaxonEditor">
1506
         <with
1507
               variable="selection">
1508
            <test
1509
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1510
            </test>
1511
         </with>
1512
      </definition>
1513
      <definition
1514
            id="isBulkEditor">
1515
         <with
1516
               variable="selection">
1517
            <test
1518
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1519
            </test>
1520
         </with>
1521
      </definition>
1522
      <definition
1523
            id="isDerivateEditor">
1524
         <with
1525
               variable="selection">
1526
            <test
1527
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1528
            </test>
1529
         </with>
1530
      </definition>
1531
      <definition
1532
            id="isDescription">
1533
         <with
1534
               variable="selection">
1535
            <test
1536
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1537
            </test>
1538
         </with>
1539
      </definition>
1540
      <definition
1541
            id="isDescriptionElement">
1542
         <with
1543
               variable="selection">
1544
            <test
1545
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1546
            </test>
1547
         </with>
1548
      </definition>
1549
      <definition
1550
            id="isFeatureNodeContainer">
1551
         <with
1552
               variable="selection">
1553
            <test
1554
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1555
            </test>
1556
         </with>
1557
      </definition>
1558
      <definition
1559
            id="isImageGallery">
1560
         <with
1561
               variable="selection">
1562
            <test
1563
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1564
            </test>
1565
         </with>
1566
      </definition>
1567
      <definition
1568
            id="isAcceptedAndHasNoHomotypicSynonyms">
1569
         <with
1570
               variable="selection">
1571
            <test
1572
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1573
            </test>
1574
         </with>
1575
      </definition>
1576
      <definition
1577
            id="isGroup">
1578
         <with
1579
               variable="activeEditor">
1580
            <test
1581
                  property="taxeditor-bulkeditor.propertyTester.isGroup">
1582
            </test>
1583
         </with>
1584
      </definition>
1585
      <definition
1586
            id="isIndividualsAssociation">
1587
         <with
1588
               variable="selection">
1589
            <test
1590
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1591
            </test>
1592
         </with>
1593
      </definition>
1594
   </extension>
1595
   <extension
1596
         point="org.eclipse.core.expressions.propertyTesters">
1597
      <propertyTester
1598
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1599
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1600
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1601
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms"
1602
            type="org.eclipse.jface.viewers.IStructuredSelection">
1603
      </propertyTester>
1604
      <propertyTester
1605
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1606
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1607
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1608
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1609
            type="org.eclipse.jface.viewers.TreeSelection">
1610
      </propertyTester>
1611
      <propertyTester
1612
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1613
            id="taxeditor-bulkeditor.PropertyTester"
1614
            namespace="taxeditor-bulkeditor.propertyTester"
1615
            properties="isGroup"
1616
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1617
      </propertyTester>
1618
   </extension>
1619
   <extension
1620
         point="org.eclipse.ui.bindings">   
1621
      <scheme
1622
            description="%scheme.description"
1623
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1624
            name="%scheme.name">
1625
      </scheme>
1626
   </extension>
1627
    <extension
1628
         point="org.eclipse.ui.importWizards">
1629
      <wizard
1630
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1631
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1632
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1633
            name="%wizard.name">
1634
         <description>
1635
            %wizard.description
1636
         </description>
1637
      </wizard>
1638
   </extension>
1639
    <extension
1640
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1641
       <cdmViewer
1642
             class="eu.etaxonomy.taxeditor.editor.EditorCdmViewer">
1643
       </cdmViewer>
1644
    </extension>
1645
</plugin>
(5-5/6)