Project

General

Profile

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

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