Project

General

Profile

Download (80.4 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
           class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
27
           icon="icons/edit_16x16.gif"
28
           id="eu.etaxonomy.taxeditor.editor.taxon"
29
           name="%editor.name">
30
 	  </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor"
33
            default="true"
34
            id="eu.etaxonomy.taxeditor.editor.taxon.name"
35
            name="%editor.name.0">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.KeyEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key"
41
            name="%editor.name.1">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
47
            name="%editor.name.2">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
53
            name="%editor.name.3">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.group.authority"
59
            name="%editor.name.4">
60
      </editor>
61
      <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
63
            default="false"
64
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
65
            name="%editor.name.6">
66
      </editor>
67
      <editor
68
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
69
            default="false"
70
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
71
            name="%editor.name.7">
72
      </editor>
73
         <editor
74
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
75
            icon="icons/check.png"
76
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
77
            name="%editor.name.8">
78
      </editor>
79
   </extension>
80
      <extension
81
            point="org.eclipse.ui.views">
82
         <view
83
               allowMultiple="false"
84
               category="eu.etaxonomy.taxeditor.editor.category"
85
               class="eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveViewPart"
86
               icon="icons/address-book-new.png"
87
               id="eu.etaxonomy.taxeditor.editor.view.descriptive"
88
               name="%view.name"
89
               restorable="true">
90
         </view>
91
          <view
92
                allowMultiple="false"
93
                category="eu.etaxonomy.taxeditor.editor.category"
94
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
95
                icon="icons/leaf.png"
96
                id="eu.etaxonomy.taxeditor.editor.view.uses"
97
                name="%view.name.0"
98
                restorable="true">
99
         </view>
100
         <view
101
               allowMultiple="false"
102
               category="eu.etaxonomy.taxeditor.editor.category"
103
               class="eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart"
104
               icon="icons/camera-photo.png"
105
               id="eu.etaxonomy.taxeditor.editor.view.media"
106
               name="%view.name.1"
107
               restorable="true">
108
         </view>
109
         <view
110
               category="eu.etaxonomy.taxeditor.editor.category"
111
               class="eu.etaxonomy.taxeditor.editor.view.concept.ConceptViewPart"
112
               id="eu.etaxonomy.taxeditor.editor.view.concept"
113
               name="%view.name.2"
114
               restorable="true">
115
         </view>
116
         <view
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
119
               icon="icons/address-book-new.png"
120
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
121
               name="%view.name.3"
122
               restorable="true">
123
         </view>
124
         <category
125
               id="eu.etaxonomy.taxeditor.editor.category"
126
               name="%category.name">
127
         </category>
128
         <view
129
               allowMultiple="true"
130
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
131
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
132
               name="%view.name.4">
133
         </view>
134
         <view
135
               allowMultiple="true"
136
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
137
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
138
               name="%view.name.5">
139
         </view>
140
         <view
141
               allowMultiple="false"
142
               category="eu.etaxonomy.taxeditor.editor.category"
143
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
144
               icon="icons/edit_16x16.gif"
145
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
146
               name="%view.name.6">
147
         </view>
148
      </extension>
149
      
150
	<!-- VALIDATION RELATED STUFF -->
151
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
152
		<super type="org.eclipse.core.resources.problemmarker"/>
153
		<attribute name="databaseId"/>
154
		<attribute name="userFriendlyTypeName"/>
155
		<attribute name="userFriendlyDescription"/>
156
		<attribute name="userFriendlyFieldName"/>
157
		<attribute name="validatorMessage"/>
158
		<attribute name="invalidValue"/>
159
		<attribute name="validatorClass"/>
160
		<attribute name="entityClass"/>
161
		<attribute name="entityId"/>
162
   		<persistent value="false"/>
163
   	</extension>
164

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