Project

General

Profile

Download (83.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.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.descriptive.DescriptiveViewPart"
86
               icon="icons/address-book-new.png"
87
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
88
               name="%view.name"
89
               restorable="true">
90
         </view>
91
          <view
92
                allowMultiple="false"
93
                category="eu.etaxonomy.taxeditor.editor.category"
94
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
95
                icon="icons/leaf.png"
96
                id="eu.etaxonomy.taxeditor.editor.view.uses"
97
                name="%view.name.0"
98
                restorable="true">
99
         </view>
100
         <view
101
               allowMultiple="false"
102
               category="eu.etaxonomy.taxeditor.editor.category"
103
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
104
               icon="icons/camera-photo.png"
105
               id="eu.etaxonomy.taxeditor.editor.view.media"
106
               name="%view.name.1"
107
               restorable="true">
108
         </view>
109
         <view
110
               category="eu.etaxonomy.taxeditor.editor.category"
111
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
112
               id="eu.etaxonomy.taxeditor.editor.view.concept"
113
               name="%view.name.2"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
119
               icon="icons/address-book-new.png"
120
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
121
               name="%view.name.3"
122
               restorable="true">
123
         </view>
124
         <category
125
               id="eu.etaxonomy.taxeditor.editor.category"
126
               name="%category.name">
127
         </category>
128
         <view
129
               allowMultiple="true"
130
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
131
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
132
               name="%view.name.4">
133
         </view>
134
         <view
135
               allowMultiple="true"
136
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
137
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
138
               name="%view.name.5">
139
         </view>
140
         <view
141
               allowMultiple="false"
142
               category="eu.etaxonomy.taxeditor.editor.category"
143
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
144
               icon="icons/edit_16x16.gif"
145
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146
               name="%view.name.6">
147
         </view>
148
      </extension>
149
      
150
	<!-- VALIDATION RELATED STUFF -->
151
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
152
		<super type="org.eclipse.core.resources.problemmarker"/>
153
		<attribute name="databaseId"/>
154
		<attribute name="userFriendlyTypeName"/>
155
		<attribute name="userFriendlyDescription"/>
156
		<attribute name="userFriendlyFieldName"/>
157
		<attribute name="validatorMessage"/>
158
		<attribute name="invalidValue"/>
159
		<attribute name="validatorClass"/>
160
		<attribute name="entityClass"/>
161
		<attribute name="entityId"/>
162
   		<persistent value="false"/>
163
   	</extension>
164

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