Project

General

Profile

Download (79.6 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.handler.OpenChecklistEditorHandler"
1236
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
1237
      </handler>
1238
      <handler
1239
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1240
            commandId="org.eclipse.ui.edit.delete">
1241
         <activeWhen>
1242
            <with
1243
                  variable="activePartId">
1244
               <equals
1245
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1246
               </equals>
1247
            </with>
1248
         </activeWhen>
1249
      </handler>
1250
      <handler
1251
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.ToggleShowOnlyIndividualAssociationsHandler"
1252
            commandId="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations">
1253
      </handler>
1254
      <handler
1255
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
1256
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
1257
         <activeWhen>
1258
            <reference
1259
                  definitionId="isRemoting">
1260
            </reference>
1261
         </activeWhen>
1262
      </handler>
1263
      <handler
1264
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
1265
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
1266
         <activeWhen>
1267
            <reference
1268
                  definitionId="isRemoting">
1269
            </reference>
1270
         </activeWhen>
1271
      </handler>
1272
      <handler
1273
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
1274
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
1275
         <activeWhen>
1276
            <with
1277
                  variable="activePartId">
1278
               <equals
1279
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1280
               </equals>
1281
            </with>
1282
         </activeWhen>
1283
      </handler>
1284
      <handler
1285
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForDescriptionElement"
1286
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1287
         <activeWhen>
1288
            <with
1289
                  variable="activePartId">
1290
               <equals
1291
                     value="eu.etaxonomy.taxeditor.editor.view.descriptive">
1292
               </equals>
1293
            </with>
1294
         </activeWhen>
1295
      </handler>
1296
      <handler
1297
            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.OpenDerivativeEditorForTaxonNode"
1298
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor">
1299
         <activeWhen>
1300
            <with
1301
                  variable="selection">
1302
               <reference
1303
                     definitionId="isTaxonNode">
1304
               </reference>
1305
            </with>
1306
         </activeWhen>
1307
      </handler>
1308
   </extension>
1309
   <extension
1310
         name="%extension.name"
1311
         point="org.eclipse.ui.commands">
1312
      <category
1313
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1314
            name="%category.name.0">
1315
      </category>
1316
      <command
1317
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1318
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1319
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1320
            name="%command.name">
1321
      </command>
1322
      <command
1323
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1324
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHomotypicSynonymHandler"
1325
            id="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
1326
            name="%command.name.0">
1327
      </command>
1328
      <command
1329
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1330
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateHeterotypicSynonymHandler"
1331
            id="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
1332
            name="%command.name.1">
1333
      </command>
1334
      <command
1335
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1336
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateSynonymInHomotypicalGroupHandler"
1337
            id="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
1338
            name="%command.name.2">
1339
      </command>
1340
     <command
1341
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1342
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.CreateMisapplicationHandler"
1343
            id="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
1344
            name="%command.name.36">
1345
      </command>
1346
      <!--command
1347
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1348
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1349
            name="Move Taxon">
1350
      </command-->
1351
      <command
1352
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1353
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToSynonymHandler"
1354
            id="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
1355
            name="%command.name.3">
1356
      </command>
1357
      <command
1358
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1359
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeSynonymToAcceptedTaxonHandler"
1360
            id="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
1361
            name="%command.name.4">
1362
      </command>
1363
      <command
1364
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1365
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeToMisapplicationHandler"
1366
            id="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
1367
            name="%command.name.5">
1368
      </command>
1369
      <command
1370
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1371
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SwapSynonymAndAcceptedHandler"
1372
            id="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
1373
            name="%command.name.6">
1374
      </command>
1375
       <command
1376
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1377
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1378
            id="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
1379
            name="%command.name.57">
1380
      </command>
1381
      <command
1382
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1383
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.MoveSynonymToAnotherAcceptedTaxonHandler"
1384
            id="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
1385
            name="%command.name.46">
1386
      </command>
1387
      <command
1388
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1389
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.SetBasionymHandler"
1390
            id="eu.etaxonomy.taxeditor.editor.name.setBasionym"
1391
            name="%command.name.7">
1392
      </command>
1393
      <command
1394
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1395
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.RemoveBasionymHandler"
1396
            id="eu.etaxonomy.taxeditor.editor.name.removeBasionym"
1397
            name="%command.name.8">
1398
      </command>
1399
     <!-- <command
1400
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1401
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1402
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1403
            name="Change Accepted Taxon to Synonym">
1404
      </command>-->
1405
      <command
1406
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1407
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
1408
            id="eu.etaxonomy.taxeditor.editor.name.delete"
1409
            name="%command.name.45">
1410
      </command>
1411
      <command
1412
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1413
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.DeleteAllEmptyNamesHandler"
1414
            id="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
1415
            name="%command.name.9">
1416
      </command>
1417
      <category
1418
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1419
            name="%category.name.1">
1420
      </category>
1421
      <command
1422
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1423
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionElementHandler"
1424
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.createDescriptionElement"
1425
            name="%command.name.10">
1426
      </command>
1427
      <command
1428
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1429
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.CreateDescriptionHandler"
1430
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
1431
            name="%command.name.11">
1432
      </command>
1433
       <command
1434
             categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1435
             defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1436
             id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
1437
             name="%command.name.48">
1438
      </command>
1439
      <category
1440
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1441
            name="%category.name.2">
1442
      </category>
1443
      <command
1444
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1445
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1446
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1447
            name="%command.name.14">
1448
      </command>
1449
      <command
1450
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1451
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1452
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1453
            name="%command.name.16">
1454
      </command>
1455
      <command
1456
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1457
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1458
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1459
            name="%command.name.15">
1460
      </command>
1461
      <command
1462
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1463
            name="%command.name.47">
1464
      </command>
1465
      <category
1466
            id="eu.etaxonomy.taxeditor.editor.media.category"
1467
            name="%category.name.3">
1468
      </category>
1469
      <command
1470
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1471
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageDownInListHandler"
1472
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgdown"
1473
            name="%command.name.19">
1474
      </command>
1475
      <command
1476
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1477
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddImageGalleryHandler"
1478
            id="eu.etaxonomy.taxeditor.editor.media.command.newimagegallery"
1479
            name="%command.name.20">
1480
      </command>
1481
      <command
1482
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1483
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.CreateMediaHandler"
1484
            id="eu.etaxonomy.taxeditor.editor.media.command.newimage"
1485
            name="%command.name.21">
1486
      </command>
1487
      <command
1488
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1489
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.AddExistingMediaHandler"
1490
            id="eu.etaxonomy.taxeditor.editor.media.command.useExistingImage"
1491
            name="%command.name.37">
1492
      </command>
1493
      <command
1494
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1495
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.media.handler.MoveImageUpInListHandler"
1496
            id="eu.etaxonomy.taxeditor.editor.media.command.moveimgup"
1497
            name="%command.name.22">
1498
      </command>
1499
       <command
1500
            categoryId="eu.etaxonomy.taxeditor.editor.media.category"
1501
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DeleteHandler"
1502
            id="eu.etaxonomy.taxeditor.editor.media.command.delete"
1503
            name="%command.name.49">
1504
      </command>
1505
      
1506
      <category
1507
            id="eu.etaxonomy.taxeditor.editor.new.category"
1508
            name="%category.name.4">
1509
      </category>
1510
      <command
1511
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1512
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1513
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1514
            name="%command.name.23">
1515
      </command>
1516
      <command
1517
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1518
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1519
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1520
            name="%command.name.24">
1521
      </command>
1522
      <command
1523
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1524
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1525
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1526
            name="%command.name.25">
1527
      </command>
1528
      <command
1529
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1530
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1531
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1532
            name="%command.name.26">
1533
      </command>
1534
      <category
1535
            id="eu.etaxonomy.taxeditor.editor.key.category"
1536
            name="%category.name.5">
1537
      </category>
1538
      <command
1539
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1540
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateChildNodeHandler"
1541
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1542
            name="%command.name.28">
1543
      </command>
1544
      <command
1545
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1546
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.CreateSiblingNodeHandler"
1547
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1548
            name="%command.name.29">
1549
      </command>
1550
      <command
1551
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1552
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
1553
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1554
            name="%command.name.30">
1555
      </command>
1556
      <command
1557
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1558
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1559
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1560
            name="%command.name.31">
1561
      </command>
1562
      <command
1563
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
1564
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1565
            name="%command.name.50">
1566
      </command>
1567
      <category
1568
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1569
            name="%category.name.6">
1570
      </category>
1571
      <command
1572
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1573
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.CreateConceptRelationHandler"
1574
            id="eu.etaxonomy.taxeditor.editor.name.createConceptRelation"
1575
            name="%command.name.32">
1576
      </command>
1577
      <command
1578
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1579
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.OpenRelatedConceptHandler"
1580
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1581
            name="%command.name.33">
1582
      </command>
1583
      <command
1584
            categoryId="eu.etaxonomy.taxeditor.editor.view.concept.category"
1585
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.concept.handler.DeleteConceptRelationHandler"
1586
            id="eu.etaxonomy.taxeditor.editor.view.concept.command.delete"
1587
            name="%command.name.51">
1588
      </command>
1589
      <category
1590
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1591
            name="%category.name.7">
1592
      </category>
1593
      <command
1594
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1595
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1596
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1597
            name="%command.name.34">
1598
      </command>
1599
       <command
1600
             defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
1601
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1602
             name="%command.name.38">
1603
       </command>
1604
      <command
1605
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1606
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1607
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1608
            name="%command.name.39">
1609
      </command>
1610
      <command
1611
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1612
            name="%command.name.41">
1613
      </command>
1614
      <command
1615
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonHandler"
1616
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1617
            name="%command.name.42">
1618
         <commandParameter
1619
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon.uuid"
1620
               name="%commandParameter.name"
1621
               optional="false"
1622
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1623
         </commandParameter>
1624
      </command>
1625
      <command
1626
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonNodeHandler"
1627
            id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1628
            name="%command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE">
1629
         <commandParameter
1630
               id="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode.uuid"
1631
               name="taxon node uuid"
1632
               optional="true"
1633
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1634
         </commandParameter>
1635
      </command>
1636
      <command
1637
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
1638
            id="eu.etaxonomy.taxeditor.editor.derivate.deepDelete"
1639
            name="%command.name.44">
1640
      </command>
1641
      <command
1642
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1643
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionToOtherTaxonHandler"
1644
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
1645
            name="%command.name.13">
1646
      </command>
1647
       
1648
      <command
1649
            categoryId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1650
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.MoveDescriptionElementsHandler"
1651
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
1652
            name="%command.name.12">
1653
      </command>
1654
      <command
1655
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1656
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1657
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1658
         <commandParameter
1659
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
1660
               name="Specimen Uuids"
1661
               optional="true"
1662
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1663
         </commandParameter>
1664
      </command>
1665
      <command
1666
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1667
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1668
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1669
      </command>
1670
      <command
1671
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ListenToSelectionChangeHandler"
1672
            id="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
1673
            name="%command.name.LINK_WITH_TAXON_SELECTION">
1674
      </command>
1675
      <command
1676
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1677
            id="eu.etaxonomy.taxeditor.editor.derivative.copySingleReadToClipBoard"
1678
            name="%command.name.COPY_SINGLE_READ_TO_CLIPBOARD">
1679
      </command>
1680
      <command
1681
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1682
            id="eu.etaxonomy.taxeditor.editor.derivative.reuseSingleRead"
1683
            name="%command.name.REUSE_SINGLE_READ">
1684
      </command>
1685
      <command
1686
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.SingleReadHandler"
1687
            id="eu.etaxonomy.taxeditor.editor.derivative.removeSingleReadFromSequence"
1688
            name="%command.name.REMOVE_SINGLE_READ">
1689
      </command>
1690
      <command
1691
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.derivate.handler.ToggleLinkWithTaxonSelectionHandler"
1692
            id="eu.etaxonomy.taxeditor.editor.derivative.toggleLinkWithTaxonSelection"
1693
            name="%command.name.TOGGLE_LINK_WITH_TAXON_SELECTION">
1694
      </command>
1695
        
1696
   </extension>
1697
   <extension
1698
         point="org.eclipse.core.expressions.definitions">
1699
      <definition
1700
            id="nameEditorActive">
1701
         <with
1702
               variable="activeEditorId">
1703
            <equals
1704
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1705
            </equals>
1706
         </with>
1707
      </definition>
1708
      <definition
1709
            id="isAcceptedTaxon">
1710
         <with
1711
               variable="selection">
1712
            <test
1713
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1714
            </test>
1715
         </with>
1716
      </definition>
1717
      <definition
1718
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1719
         <with
1720
               variable="selection">
1721
            <test
1722
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
1723
            </test>
1724
         </with>
1725
      </definition>
1726
       <definition
1727
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
1728
         <with
1729
               variable="selection">
1730
            <test
1731
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
1732
            </test>
1733
         </with>
1734
      </definition>
1735
      <definition
1736
            id="isSynonym">
1737
         <with
1738
               variable="selection">
1739
            <test
1740
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1741
            </test>
1742
         </with>
1743
      </definition>
1744
      <definition
1745
            id="isMisapplication">
1746
         <with
1747
               variable="selection">
1748
            <test
1749
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1750
            </test>
1751
         </with>
1752
      </definition>
1753
      <definition
1754
            id="isTaxonBase">
1755
         <with
1756
               variable="selection">
1757
            <test
1758
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1759
            </test>
1760
         </with>
1761
      </definition>
1762
      <definition
1763
            id="hasEmptyNames">
1764
         <with
1765
               variable="selection">
1766
            <test
1767
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1768
            </test>
1769
         </with>
1770
      </definition>
1771
      <definition
1772
            id="isDeletable">
1773
         <with
1774
               variable="selection">
1775
            <test
1776
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1777
            </test>
1778
         </with>
1779
      </definition>
1780
      <definition
1781
            id="isMedia">
1782
         <with
1783
               variable="selection">
1784
            <test
1785
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1786
            </test>
1787
         </with>
1788
      </definition>
1789
      <definition
1790
            id="isTaxonEditor">
1791
         <with
1792
               variable="selection">
1793
            <test
1794
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1795
            </test>
1796
         </with>
1797
      </definition>
1798
      <definition
1799
            id="isBulkEditor">
1800
         <with
1801
               variable="selection">
1802
            <test
1803
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1804
            </test>
1805
         </with>
1806
      </definition>
1807
      <definition
1808
            id="isDerivateEditor">
1809
         <with
1810
               variable="selection">
1811
            <test
1812
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1813
            </test>
1814
         </with>
1815
      </definition>
1816
      <definition
1817
            id="isDescription">
1818
         <with
1819
               variable="selection">
1820
            <test
1821
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1822
            </test>
1823
         </with>
1824
      </definition>
1825
      <definition
1826
            id="isDescriptionElement">
1827
         <with
1828
               variable="selection">
1829
            <test
1830
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1831
            </test>
1832
         </with>
1833
      </definition>
1834
      <definition
1835
            id="isFeatureNodeContainer">
1836
         <with
1837
               variable="selection">
1838
            <test
1839
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1840
            </test>
1841
         </with>
1842
      </definition>
1843
      <definition
1844
            id="isImageGallery">
1845
         <with
1846
               variable="selection">
1847
            <test
1848
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1849
            </test>
1850
         </with>
1851
      </definition>
1852
      <definition
1853
            id="isAcceptedAndHasNoHomotypicSynonyms">
1854
         <with
1855
               variable="selection">
1856
            <test
1857
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1858
            </test>
1859
         </with>
1860
      </definition>
1861
      <definition
1862
            id="isGroupEditor">
1863
         <with
1864
               variable="activeEditor">
1865
            <test
1866
                  property="taxeditor-bulkeditor.propertyTester.isGroupEditor">
1867
            </test>
1868
         </with>
1869
      </definition>
1870
      <definition
1871
            id="isIndividualsAssociation">
1872
         <with
1873
               variable="selection">
1874
            <test
1875
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1876
            </test>
1877
         </with>
1878
      </definition>
1879
      <definition
1880
            id="isRemoting">
1881
         <test
1882
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1883
         </test>
1884
      </definition>
1885
      <definition
1886
            id="isSequence">
1887
         <with
1888
               variable="selection">
1889
            <test
1890
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1891
            </test>
1892
         </with>
1893
      </definition>
1894
      <definition
1895
            id="isSingleRead">
1896
         <with
1897
               variable="selection">
1898
            <test
1899
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1900
            </test>
1901
         </with>
1902
      </definition>
1903
      <definition
1904
            id="isSingleReadReusableHere">
1905
         <with
1906
               variable="selection">
1907
            <test
1908
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReusableHere">
1909
            </test>
1910
         </with>
1911
      </definition>
1912
      <definition
1913
            id="isSingleReadReused">
1914
         <with
1915
               variable="selection">
1916
            <test
1917
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleReadReused">
1918
            </test>
1919
         </with>
1920
      </definition>
1921
      <definition
1922
            id="isDerivativeEditorLinkedToTaxonSelection">
1923
         <with
1924
               variable="activeEditor">
1925
            <test
1926
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
1927
            </test>
1928
         </with>
1929
      </definition>
1930
   </extension>
1931
   <extension
1932
         point="org.eclipse.core.expressions.propertyTesters">
1933
      <propertyTester
1934
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1935
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1936
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1937
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms"
1938
            type="org.eclipse.jface.viewers.IStructuredSelection">
1939
      </propertyTester>
1940
      <propertyTester
1941
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1942
            id="eu.etaxonomy.taxeditor.descriptions.PropertyTester"
1943
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1944
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1945
            type="org.eclipse.jface.viewers.TreeSelection">
1946
      </propertyTester>
1947
      <propertyTester
1948
            class="eu.etaxonomy.taxeditor.bulkeditor.command.BulkEditorPropertyTester"
1949
            id="taxeditor-bulkeditor.PropertyTester"
1950
            namespace="taxeditor-bulkeditor.propertyTester"
1951
            properties="isGroupEditor"
1952
            type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
1953
      </propertyTester>
1954
      <propertyTester
1955
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1956
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1957
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1958
            properties="isSequence,isSingleRead,isSingleReadReusableHere,isSingleReadReused"
1959
            type="org.eclipse.jface.viewers.IStructuredSelection">
1960
      </propertyTester>
1961
      <propertyTester
1962
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1963
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1964
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1965
            properties="isLinkedWithTaxonSelection"
1966
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1967
      </propertyTester>
1968
   </extension>
1969
   <extension
1970
         point="org.eclipse.ui.bindings">   
1971
      <scheme
1972
            description="%scheme.description"
1973
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1974
            name="%scheme.name">
1975
      </scheme>
1976
   </extension>
1977
    <!--extension
1978
         point="org.eclipse.ui.importWizards">
1979
      <wizard
1980
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1981
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1982
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1983
            name="%wizard.name">
1984
         <description>
1985
            %wizard.description
1986
         </description>
1987
      </wizard>
1988
   </extension-->
1989
   <extension
1990
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1991
      <viewCommandMapping
1992
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1993
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1994
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
1995
      </viewCommandMapping>
1996
      <viewCommandMapping
1997
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1998
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
1999
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
2000
      </viewCommandMapping>
2001
      <viewCommandMapping
2002
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2003
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
2004
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2005
      </viewCommandMapping>
2006
      <viewCommandMapping
2007
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
2008
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
2009
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
2010
      </viewCommandMapping>
2011
    </extension>
2012
</plugin>
(5-5/6)