Project

General

Profile

Download (67.2 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.dataimport.SpecimenImportEditor"
63
            default="false"
64
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65
            name="%editor.name.6">
66
      </editor>
67
      <editor
68
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69
            default="false"
70
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71
            name="%editor.name.7">
72
      </editor>
73
         <editor
74
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75
            icon="icons/check.png"
76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77
            name="%editor.name.8">
78
      </editor>
79
   </extension>
80
      <extension
81
            point="org.eclipse.ui.views">
82
          <view
83
                allowMultiple="false"
84
                category="eu.etaxonomy.taxeditor.editor.category"
85
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
86
                icon="icons/leaf.png"
87
                id="eu.etaxonomy.taxeditor.editor.view.uses"
88
                name="%view.name.0"
89
                restorable="true">
90
         </view>
91
         <view
92
               category="eu.etaxonomy.taxeditor.editor.category"
93
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
94
               icon="icons/address-book-new.png"
95
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
96
               name="%view.name.3"
97
               restorable="true">
98
         </view>
99
         <category
100
               id="eu.etaxonomy.taxeditor.editor.category"
101
               name="%category.name">
102
         </category>
103
         <view
104
               allowMultiple="true"
105
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
106
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
107
               name="%view.name.4">
108
         </view>
109
         <view
110
               allowMultiple="true"
111
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
112
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
113
               name="%view.name.5">
114
         </view>
115
         <view
116
               allowMultiple="false"
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
119
               icon="icons/edit_16x16.gif"
120
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
121
               name="%view.name.6">
122
         </view>
123
      </extension>
124
      
125
	<!-- VALIDATION RELATED STUFF -->
126
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
127
		<super type="org.eclipse.core.resources.problemmarker"/>
128
		<attribute name="databaseId"/>
129
		<attribute name="userFriendlyTypeName"/>
130
		<attribute name="userFriendlyDescription"/>
131
		<attribute name="userFriendlyFieldName"/>
132
		<attribute name="validatorMessage"/>
133
		<attribute name="invalidValue"/>
134
		<attribute name="validatorClass"/>
135
		<attribute name="entityClass"/>
136
		<attribute name="entityId"/>
137
   		<persistent value="false"/>
138
   	</extension>
139

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