Project

General

Profile

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

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