Project

General

Profile

Download (58.3 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.uses.UsesViewPart"
86
                icon="icons/leaf.png"
87
                id="eu.etaxonomy.taxeditor.editor.view.uses"
88
                name="%view.name.0"
89
                restorable="true">
90
         </view>
91
         <view
92
               category="eu.etaxonomy.taxeditor.editor.category"
93
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
94
               icon="icons/address-book-new.png"
95
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
96
               name="%view.name.3"
97
               restorable="true">
98
         </view>
99
         <category
100
               id="eu.etaxonomy.taxeditor.editor.category"
101
               name="%category.name">
102
         </category>
103
         <view
104
               allowMultiple="true"
105
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
106
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
107
               name="%view.name.4">
108
         </view>
109
         <view
110
               allowMultiple="true"
111
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
112
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
113
               name="%view.name.5">
114
         </view>
115
         <view
116
               allowMultiple="false"
117
               category="eu.etaxonomy.taxeditor.editor.category"
118
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
119
               icon="icons/edit_16x16.gif"
120
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
121
               name="%view.name.6">
122
         </view>
123
      </extension>
124
      
125
	<!-- VALIDATION RELATED STUFF -->
126
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
127
		<super type="org.eclipse.core.resources.problemmarker"/>
128
		<attribute name="databaseId"/>
129
		<attribute name="userFriendlyTypeName"/>
130
		<attribute name="userFriendlyDescription"/>
131
		<attribute name="userFriendlyFieldName"/>
132
		<attribute name="validatorMessage"/>
133
		<attribute name="invalidValue"/>
134
		<attribute name="validatorClass"/>
135
		<attribute name="entityClass"/>
136
		<attribute name="entityId"/>
137
   		<persistent value="false"/>
138
   	</extension>
139

    
140
	<extension point="org.eclipse.ui.ide.markerSupport">
141
	    <markerContentGenerator
142
		    id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator" 
143
		    name="%markerContentGenerator.name">  
144
	    	<markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
145
	    	
146
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
147
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
148
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
149
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
150
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
151
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
152
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
153
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
154
	    </markerContentGenerator>
155
	    
156
		<markerField
157
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
158
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
159
			name="%marker.field.0">
160
		</markerField>
161
		<markerField
162
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
163
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
164
			name="%marker.field.1">
165
		</markerField>
166
		<markerField
167
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
168
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
169
			name="%marker.field.2 = Attribute">
170
		</markerField>
171
		<markerField
172
			class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
173
			id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
174
			name="%marker.field.3 = Problematic Value">
175
		</markerField>
176
		<markerField
177
			class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
178
			id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
179
			name="%marker.field.4 = Problem description">
180
		</markerField>
181
		<markerField
182
			class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
183
			id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
184
			name="%marker.field.5">
185
		</markerField>
186
		<markerField
187
			class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
188
			id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
189
			name="%marker.field.6">
190
		</markerField>
191
		<markerField
192
			class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
193
			id="eu.etaxonomy.taxeditor.markers.validation.entityId"
194
			name="%marker.field.7">
195
		</markerField>
196
	</extension>
197
	
198
  <extension
199
         point="org.eclipse.ui.elementFactories">
200
      <factory
201
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
202
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
203
      </factory>
204
   </extension>
205
   <extension
206
         point="org.eclipse.ui.menus">
207
      <menuContribution
208
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
209
         <command
210
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
211
               label="%command.label.46"
212
               style="push">
213
            <visibleWhen
214
                  checkEnabled="true">
215
               <reference
216
                     definitionId="isCdmStoreConnected">
217
               </reference>
218
            </visibleWhen>
219
         </command>
220
         <command
221
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
222
               label="%command.label.47"
223
               style="push">
224
            <visibleWhen
225
                  checkEnabled="true">
226
               <reference
227
                     definitionId="isCdmStoreConnected">
228
               </reference>
229
            </visibleWhen>
230
         </command>
231
         <command
232
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
233
               label="%command.label.1"
234
               style="push">
235
            <visibleWhen
236
                  checkEnabled="true">
237
               <reference
238
                     definitionId="isCdmStoreConnected">
239
               </reference>
240
            </visibleWhen>
241
         </command>
242
         <command
243
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
244
               label="%command.label.2"
245
               style="push">
246
            <visibleWhen
247
                  checkEnabled="true">
248
               <reference
249
                     definitionId="isCdmStoreConnected">
250
               </reference>
251
            </visibleWhen>
252
         </command>
253
         <separator
254
               name="eu.etaxonomy.navigation.menu.new.separator2"
255
               visible="true">
256
         </separator>
257
         <separator
258
               name="eu.etaxonomy.navigation.menu.new.separator3"
259
               visible="true">
260
         </separator>
261
         <command
262
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
263
               label="%command.label.48"
264
               style="push">
265
         </command>
266
      </menuContribution>
267
      <menuContribution
268
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.details">
269
         <separator
270
               name="eu.etaxonomy.taxeditor.editor.showViewMenu"
271
               visible="true">
272
         </separator>
273
         <command
274
               commandId="org.eclipse.ui.views.showView"
275
               label="%command.label.7"
276
               style="push">
277
            <parameter
278
                  name="org.eclipse.ui.views.showView.viewId"
279
                  value="eu.etaxonomy.taxeditor.editor.view.concept.graph">
280
            </parameter>
281
            <visibleWhen
282
                  checkEnabled="true">
283
               <and>
284
                  <reference
285
                        definitionId="isShowExperimentalFeatures">
286
                  </reference>
287
                  <reference
288
                        definitionId="isCdmStoreConnected">
289
                  </reference>
290
               </and>
291
            </visibleWhen>
292
         </command>
293
      </menuContribution>
294
      <menuContribution
295
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
296
         <separator
297
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
298
               visible="true">
299
         </separator>
300
         <command
301
               commandId="org.eclipse.ui.views.showView"
302
               label="%command.name.40"
303
               style="push">
304
            <parameter
305
                  name="org.eclipse.ui.views.showView.viewId"
306
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
307
            </parameter>
308
            <visibleWhen
309
                  checkEnabled="true">
310
               <reference
311
                     definitionId="isCdmStoreConnected">
312
               </reference>
313
            </visibleWhen>
314
         </command>
315
      </menuContribution>
316
      <menuContribution
317
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
318
         <command
319
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
320
               label="%command.label.8"
321
               style="push">
322
         </command>
323
      </menuContribution>
324
      <menuContribution
325
            locationURI="popup:eu.etaxonomy.taxeditor.editor.taxon.name">
326
         <menu
327
               label="%menu.label">
328
            <command
329
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHeterotypicSynoym"
330
                  label="%command.label.9"
331
                  style="push">
332
               <visibleWhen>
333
                  <reference
334
                        definitionId="isAcceptedTaxon">
335
                  </reference>
336
               </visibleWhen>
337
            </command>
338
            <command
339
                  commandId="eu.etaxonomy.taxeditor.editor.name.createHomotypicSynoym"
340
                  label="%command.label.10"
341
                  style="push">
342
               <visibleWhen>
343
                  <reference
344
                        definitionId="isAcceptedTaxon">
345
                  </reference>
346
               </visibleWhen>
347
            </command>
348
            <command
349
                  commandId="eu.etaxonomy.taxeditor.editor.name.createSynonymInHomotypicalGroup"
350
                  label="%command.label.11"
351
                  style="push">
352
               <visibleWhen>
353
                  <reference
354
                        definitionId="isSynonym">
355
                  </reference>
356
               </visibleWhen>
357
            </command>
358
            <separator
359
                  name="separator1"
360
                  visible="true">
361
            </separator>
362
           <command
363
                  commandId="eu.etaxonomy.taxeditor.editor.name.createMisapplication"
364
                  label="%command.label.49"
365
                  style="push">
366
               <visibleWhen>
367
                  <or>
368
                     <reference
369
                           definitionId="isAcceptedTaxon">
370
                     </reference>
371
                     <reference
372
                           definitionId="isMisapplication">
373
                     </reference>
374
                  </or>
375
               </visibleWhen>
376
            </command>
377
         </menu>
378
        <!--<command
379
               commandId="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
380
               label="Change Accepted Taxon to Synonym"
381
               style="push">
382
            <visibleWhen
383
                  checkEnabled="true">
384
               <reference
385
                     definitionId="isAcceptedAndHasNoHomotypicSynonyms">
386
               </reference>
387
            </visibleWhen
388
                <visibleWhen>                  
389
                     <or>
390
                        <reference
391
                              definitionId="isAcceptedTaxon">
392
                        </reference>
393
                        <reference
394
                              definitionId="isMisapplication">
395
                        </reference>
396
                     </or>                  
397
               </visibleWhen>
398
         </command>-->
399
         <menu
400
               label="%menu.label.0">
401
            <command
402
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToAcceptedTaxon"
403
                  label="%command.label.12"
404
                  style="push">
405
               <visibleWhen>
406
               <and>
407
                  <not>
408
                     <or>
409
                        <reference
410
                              definitionId="isAcceptedTaxon">
411
                        </reference>
412
                        <reference
413
                              definitionId="isMisapplication">
414
                        </reference>
415
                     </or>
416
                     </not>
417
                       <reference
418
                              definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
419
                        </reference>
420
                  </and>
421
               </visibleWhen>
422
            </command>
423
            <command
424
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToSynonym"
425
                  label="%command.label.13"
426
                  style="push">
427
               <visibleWhen>
428
                  <not>
429
                     <or>
430
                        <reference
431
                              definitionId="isAcceptedTaxon">
432
                        </reference>
433
                        <reference
434
                              definitionId="isSynonym">
435
                        </reference>
436
                     </or>
437
                  </not>
438
               </visibleWhen>
439
            </command>
440
            <command
441
                  commandId="eu.etaxonomy.taxeditor.editor.name.changeToMisapplication"
442
                  label="%command.label.14"
443
                  style="push">
444
               <visibleWhen>
445
                  <not>
446
                     <or>
447
                        <reference
448
                              definitionId="isAcceptedTaxon">
449
                        </reference>
450
                        <reference
451
                              definitionId="isMisapplication">
452
                        </reference>
453
                     </or>
454
                  </not>
455
               </visibleWhen>
456
            </command>
457
         </menu>
458
         <separator
459
               name="taxeditor-editor.separator1"
460
               visible="true">
461
         </separator>
462
         <command
463
               commandId="eu.etaxonomy.taxeditor.editor.name.delete"
464
               label="%command.label.15"
465
               style="push">
466
            <visibleWhen>
467
               <or>
468
                  <reference
469
                        definitionId="isSynonym">
470
                  </reference>
471
                  <reference
472
                        definitionId="isMisapplication">
473
                  </reference>
474
                  <reference
475
                        definitionId="isConceptRelation">
476
                  </reference>
477
               </or>
478
            </visibleWhen>
479
         </command>
480
         <command
481
               commandId="eu.etaxonomy.taxeditor.editor.name.deleteAllEmptyNames"
482
               label="%command.label.16"
483
               style="push">
484
            <visibleWhen>
485
               <reference
486
                     definitionId="hasEmptyNames">
487
               </reference>
488
            </visibleWhen>
489
         </command>
490
         <separator
491
               name="taxeditor-editor.separator2"
492
               visible="true">
493
         </separator>
494
        <!-- <dynamic
495
               class="eu.etaxonomy.taxeditor.editor.name.handler.GroupBasionymContributionItem"
496
               id="taxeditor-editor.dynamic.setBasionym">
497
            <visibleWhen>
498
               <or>
499
                  <reference
500
                        definitionId="isAcceptedTaxon">
501
                  </reference>
502
                  <reference
503
                        definitionId="isSynonym">
504
                  </reference>
505
               </or>
506
            </visibleWhen>
507
         </dynamic>-->
508
         <command
509
               commandId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAccepted"
510
               label="%command.label.17"
511
               style="push">
512
            <visibleWhen>
513
               <reference
514
                     definitionId="isSynonym">
515
               </reference>
516
            </visibleWhen>
517
         </command>
518
          <command
519
               commandId="eu.etaxonomy.taxeditor.editor.name.setAsBasionym"
520
               label="%command.label.57"
521
               style="push">
522
            <visibleWhen>
523
              <reference
524
                     definitionId="isSynonymInHomotypicalGroupWithMoreSynonyms">
525
               </reference>
526
           </visibleWhen>
527
         </command>
528
         <command
529
                  commandId="eu.etaxonomy.taxeditor.editor.name.moveSynonymToAnotherAcceptedTaxon"
530
                  label="%command.label.56"
531
                  style="push">
532
               <visibleWhen>
533
                  <and>
534
                   <reference
535
                         definitionId="isSynonym">
536
                   </reference>
537
                   <reference
538
                         definitionId="isNotHomotypicSynonymOfAcceptedTaxon">
539
                   </reference>
540
                   </and>
541
                </visibleWhen>
542
          </command>
543
         <separator
544
               name="taxeditor-editor.separator3"
545
               visible="true">
546
         </separator>
547
         <command
548
               commandId="org.eclipse.ui.views.showView"
549
               label="%command.label.18"
550
               style="push">
551
            <parameter
552
                  name="org.eclipse.ui.views.showView.viewId"
553
                  value="eu.etaxonomy.taxeditor.view.detail">
554
            </parameter>
555
         </command>
556
         <separator
557
               name="taxeditor-editor.separator4"
558
               visible="true">
559
         </separator>
560
         <command
561
               commandId="org.eclipse.ui.file.save"
562
               label="%command.label.19"
563
               style="push">
564
         </command>
565
      </menuContribution>
566
      <menuContribution
567
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
568
         <command
569
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
570
               label="%command.label.20"
571
               style="push">
572
         </command>
573
         <command
574
               commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
575
               label="%command.label.21"
576
               style="push">
577
         </command>
578
         <separator
579
               name="taxeditor-editor.separator2"
580
               visible="true">
581
         </separator>
582
         <command
583
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
584
               label="%command.label.22"
585
               style="push">
586
         </command>
587
         <separator
588
               name="taxeditor-editor.separator3"
589
               visible="true">
590
         </separator>
591
      </menuContribution>
592
      <menuContribution
593
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
594
         <menu
595
               label="%menu.label.4">
596
            <command
597
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
598
                  label="%command.label.58"
599
                  style="push">
600
            </command>
601
            <command
602
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
603
                  label="%command.label.23"
604
                  style="push">
605
            </command>
606
         </menu>
607
         <command
608
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
609
               label="%command.label.24"
610
               style="push">
611
         </command>
612
       <!--  <dynamic
613
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
614
               id="eu.etaxonomy.taxeditor.editor.polytomous.list.cdmViewerContextMenu">
615
         </dynamic>-->
616
         <command
617
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
618
               label="%command.label.25"
619
               style="push">
620
         </command>
621
         <command
622
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
623
               label="%command.label.26"
624
               style="push">
625
         </command>
626
         <separator
627
               name="eu.etaxonomy.taxeditor.editor.separator1">
628
         </separator>
629
      </menuContribution>
630
      <menuContribution
631
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.descriptive">
632
         <command
633
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescription"
634
               label="%command.label.27"
635
               style="push">
636
         </command>
637
         <menu
638
               label="%menu.label.1">
639
            <dynamic
640
                  class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DynamicFeatureMenu"
641
                  id="eu.etaxonomy.taxeditor.dynamicFeatureMenu">
642
            </dynamic>
643
            <visibleWhen
644
                  checkEnabled="true">
645
               <or>
646
                  <reference
647
                        definitionId="isDescription">
648
                  </reference>
649
                  <reference
650
                        definitionId="isDescriptionElement">
651
                  </reference>
652
                  <reference
653
                        definitionId="isFeatureNodeContainer">
654
                  </reference>
655
               </or>
656
            </visibleWhen>
657
         </menu>
658
         <separator
659
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator3"
660
               visible="true">
661
         </separator>
662
         <command
663
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionToTaxon"
664
               label="%command.label.28"
665
               style="push">
666
            <visibleWhen
667
                  checkEnabled="true">
668
               <reference
669
                     definitionId="isDescription">
670
               </reference>
671
            </visibleWhen>
672
         </command>
673
         <command
674
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElements"
675
               label="%command.label.29"
676
               style="push">
677
            <visibleWhen
678
                  checkEnabled="true">
679
               <or>
680
                  <reference
681
                        definitionId="isFeatureNodeContainer">
682
                  </reference>
683
                   <reference
684
                        definitionId="isDescriptionElement">
685
                  </reference>
686
              </or>
687
            </visibleWhen>
688
         </command>
689
         <separator
690
               name="eu.etaxonomy.taxeditor.editor.separator1">
691
         </separator>
692
         <dynamic
693
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
694
               id="eu.etaxonomy.taxeditor.editor.descriptive.cdmViewerContextMenu">
695
         </dynamic>
696
         <separator
697
               name="eu.etaxonomy.taxeditor.editor.separator1">
698
         </separator>
699
         <separator
700
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
701
               visible="true">
702
         </separator>
703
                  <command
704
               commandId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.delete"
705
               label="%command.label.30"
706
               style="push">
707
                     <visibleWhen
708
                           checkEnabled="true">
709
                        <count
710
                              value="+">
711
                        </count>
712
                     </visibleWhen>
713
         </command>
714
         <separator
715
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
716
               visible="true">
717
         </separator>
718
         <command
719
               commandId="org.eclipse.ui.file.save"
720
               label="%command.label.31"
721
               style="push">
722
         </command>
723
         <separator
724
               name="eu.etaxonomy.taxeditor.editor.separator1">
725
         </separator>
726
      </menuContribution>
727
      <menuContribution
728
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
729
         <dynamic
730
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
731
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
732
         </dynamic>
733
      </menuContribution>
734
      <menuContribution
735
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
736
         <dynamic
737
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
738
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
739
         </dynamic>
740
      </menuContribution>
741
      
742
      <menuContribution
743
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.uses">
744
         <command
745
               commandId="eu.etaxonomy.taxeditor.use.commands.adduse"
746
               label="%command.label.32"
747
               style="push">
748
         </command>
749
         <command
750
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
751
               label="%command.label.33"
752
               style="push">
753
            <visibleWhen
754
                  checkEnabled="true">
755
               <or>
756
                  <reference
757
                        definitionId="isDescription">
758
                  </reference>
759
                  <reference
760
                        definitionId="isDescriptionElement">
761
                  </reference>
762
                  <reference
763
                        definitionId="isFeatureNodeContainer">
764
                  </reference>
765
               </or>
766
            </visibleWhen>
767
         </command>
768
         <command
769
               commandId="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
770
               label="%command.label.34"
771
               style="push">
772
            <visibleWhen
773
                  checkEnabled="true">
774
               <or>
775
                  <reference
776
                        definitionId="isDescription">
777
                  </reference>
778
                  <reference
779
                        definitionId="isDescriptionElement">
780
                  </reference>
781
                  <reference
782
                        definitionId="isFeatureNodeContainer">
783
                  </reference>
784
               </or>
785
            </visibleWhen>
786
         </command>
787
         <separator
788
               name="eu.etaxonomy.taxeditor.usesEditor.separator3"
789
               visible="true">
790
         </separator>
791
         <separator
792
               name="taxeditor-editor.separator1"
793
               visible="true">
794
         </separator>
795
         <separator
796
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterNew"
797
               visible="true">
798
         </separator>
799
         <command
800
               commandId="eu.etaxonomy.taxeditor.editor.use.command.delete"
801
               label="%command.label.35"
802
               style="push">
803
         </command>
804
         <separator
805
               name="eu.etaxonomy.taxeditor.taxonDescriptionEditor.separator.afterDelete"
806
               visible="true">
807
         </separator>
808
         <command
809
               commandId="org.eclipse.ui.file.save"
810
               label="%command.label.36"
811
               style="push">
812
         </command>
813
      </menuContribution>
814
      
815
      
816
      
817
      
818
      
819
      <menuContribution
820
            allPopups="false"
821
            locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
822
         <command
823
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
824
               label="%command.label.45"
825
               style="push">
826
            <visibleWhen>
827
               <reference
828
                     definitionId="isGroupEditor">
829
               </reference>
830
            </visibleWhen>
831
         </command>
832
      </menuContribution>
833
      <menuContribution
834
            allPopups="false"
835
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
836
         <toolbar
837
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
838
            <command
839
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
840
                  icon="icons/synced.gif"
841
                  label="%command.label.LINK_WITH_TAXON_SELECTIO"
842
                  style="toggle">
843
               <visibleWhen
844
                     checkEnabled="true">
845
                  <with
846
                        variable="activePartId">
847
                     <equals
848
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
849
                     </equals>
850
                  </with>
851
               </visibleWhen>
852
            </command>
853
         </toolbar>
854
      </menuContribution>
855
      <menuContribution
856
            locationURI="menu:bulkeditor.menus.openmenu">
857
         <command
858
               commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
859
               label="%command.label.DERIVATIVE_EDITOR"
860
               style="push">
861
            <visibleWhen
862
                  checkEnabled="true">
863
               <reference
864
                     definitionId="isCdmStoreConnected">
865
               </reference>
866
            </visibleWhen>
867
         </command>
868
      </menuContribution>
869
   </extension>
870
   <extension
871
         point="org.eclipse.ui.handlers">
872
      <handler
873
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
874
            commandId="org.eclipse.ui.window.newEditor">
875
         <activeWhen>
876
            <not>
877
               <instanceof
878
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
879
               </instanceof>
880
            </not>
881
         </activeWhen>
882
         <enabledWhen>
883
            <count
884
                  value="-1">
885
            </count>
886
         </enabledWhen>
887
      </handler>
888
      <handler
889
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
890
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
891
         <activeWhen>
892
            <and>
893
               <reference
894
                     definitionId="isTaxonBase">
895
               </reference>
896
              <not>
897
                  <reference
898
                        definitionId="isAcceptedTaxon">
899
                  </reference>
900
               </not>
901
            </and>
902
         </activeWhen>
903
      </handler>
904
      <handler
905
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
906
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
907
         <activeWhen>
908
           <with
909
                  variable="activePartId">
910
               <equals
911
                     value="eu.etaxonomy.taxeditor.editor.key">
912
               </equals>
913
            </with>
914
         </activeWhen>
915
         <enabledWhen>
916
            <with
917
                  variable="selection">
918
               <test
919
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
920
               </test>
921
            </with>
922
         </enabledWhen>
923
      </handler>
924
      <handler
925
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
926
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
927
        <activeWhen>
928
            <reference
929
                  definitionId="isRemoting">
930
            </reference>
931
         </activeWhen>
932
      </handler>
933
       <handler
934
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
935
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
936
          <enabledWhen>
937
             <with
938
                   variable="selection">
939
            <test
940
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
941
            </test>
942
         
943
             </with>
944
          </enabledWhen>
945
      </handler>
946
      <handler
947
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
948
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
949
         <activeWhen>
950
            <with
951
                  variable="activePartId">
952
               <equals
953
                     value="eu.etaxonomy.taxeditor.editor.key">
954
               </equals>
955
            </with>
956
         </activeWhen>
957
         <enabledWhen>
958
             <with
959
                   variable="selection">
960
            <test
961
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
962
            </test>
963
         
964
             </with>
965
          </enabledWhen>
966
      </handler>
967
      <handler
968
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
969
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
970
         <activeWhen>
971
            <with
972
                  variable="activePartId">
973
               <equals
974
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
975
               </equals>
976
            </with>
977
         </activeWhen>
978
      </handler>
979
      <handler
980
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
981
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
982
         <enabledWhen>
983
            <with
984
                  variable="selection">
985
               <test
986
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
987
               </test>
988
            </with>
989
         </enabledWhen>
990
      </handler>
991
   </extension>
992
   <extension
993
         name="%extension.name"
994
         point="org.eclipse.ui.commands">
995
      <category
996
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
997
            name="%category.name.0">
998
      </category>
999
      <command
1000
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1001
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
1002
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
1003
            name="%command.name">
1004
      </command>
1005
    <!--  <command
1006
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
1007
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
1008
            name="Move Taxon">
1009
      </command>-->
1010
     <!-- <command
1011
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
1012
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
1013
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
1014
            name="Change Accepted Taxon to Synonym">
1015
      </command>-->
1016
      <category
1017
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
1018
            name="%category.name.1">
1019
      </category>
1020
      <category
1021
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1022
            name="%category.name.2">
1023
      </category>
1024
      <command
1025
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1026
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseHandler"
1027
            id="eu.etaxonomy.taxeditor.use.commands.adduse"
1028
            name="%command.name.14">
1029
      </command>
1030
      <command
1031
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1032
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseRecordHandler"
1033
            id="eu.etaxonomy.taxeditor.editor.use.createUseRecord"
1034
            name="%command.name.16">
1035
      </command>
1036
      <command
1037
            categoryId="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
1038
            defaultHandler="eu.etaxonomy.taxeditor.editor.view.uses.handler.CreateUseSummaryHandler"
1039
            id="eu.etaxonomy.taxeditor.editor.use.createUseSummary"
1040
            name="%command.name.15">
1041
      </command>
1042
      <command
1043
            id="eu.etaxonomy.taxeditor.editor.use.command.delete"
1044
            name="%command.name.47">
1045
      </command>
1046
      <category
1047
            id="eu.etaxonomy.taxeditor.editor.media.category"
1048
            name="%category.name.3">
1049
      </category>
1050
      
1051
      <category
1052
            id="eu.etaxonomy.taxeditor.editor.new.category"
1053
            name="%category.name.4">
1054
      </category>
1055
      <command
1056
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1057
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
1058
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
1059
            name="%command.name.23">
1060
      </command>
1061
      <command
1062
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1063
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
1064
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
1065
            name="%command.name.24">
1066
      </command>
1067
      <command
1068
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1069
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
1070
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
1071
            name="%command.name.25">
1072
      </command>
1073
      <command
1074
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1075
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
1076
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
1077
            name="%command.name.26">
1078
      </command>
1079
      <category
1080
            id="eu.etaxonomy.taxeditor.editor.key.category"
1081
            name="%category.name.5">
1082
      </category>
1083
      <command
1084
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1085
           
1086
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
1087
            name="%command.name.28">
1088
      </command>
1089
       <command
1090
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1091
            
1092
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
1093
            name="%command.name.58">
1094
      </command>
1095
        <command
1096
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1097
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
1098
            name="%command.name.29">
1099
      </command>
1100
      <command
1101
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1102
           
1103
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
1104
            name="%command.name.30">
1105
      </command>
1106
      <command
1107
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1108
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
1109
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
1110
            name="%command.name.31">
1111
      </command>
1112
      <command
1113
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
1114
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
1115
            name="%command.name.50">
1116
      </command>
1117
      <category
1118
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
1119
            name="%category.name.6">
1120
      </category>
1121
      <category
1122
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1123
            name="%category.name.7">
1124
      </category>
1125
      <command
1126
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
1127
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
1128
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
1129
            name="%command.name.34">
1130
      </command>
1131
       <command
1132
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1133
             name="%command.name.38">
1134
          <commandParameter
1135
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
1136
                name="taxonNodeUuid"
1137
                optional="true"
1138
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1139
          </commandParameter>
1140
       </command>
1141
      <command
1142
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
1143
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
1144
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
1145
            name="%command.name.39">
1146
      </command>
1147
      <command
1148
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
1149
            name="%command.name.41">
1150
      </command>
1151
       
1152
      <command
1153
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1154
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1155
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1156
         <commandParameter
1157
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
1158
               name="Specimen Uuids"
1159
               optional="true"
1160
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
1161
         </commandParameter>
1162
      </command>
1163
      <command
1164
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
1165
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
1166
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
1167
      </command>
1168
        
1169
   </extension>
1170
   <extension
1171
         point="org.eclipse.core.expressions.definitions">
1172
      <definition
1173
            id="nameEditorActive">
1174
         <with
1175
               variable="activeEditorId">
1176
            <equals
1177
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
1178
            </equals>
1179
         </with>
1180
      </definition>
1181
      <definition
1182
            id="isAcceptedTaxon">
1183
         <with
1184
               variable="selection">
1185
            <test
1186
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
1187
            </test>
1188
         </with>
1189
      </definition>
1190
      <definition
1191
            id="isNotHomotypicSynonymOfAcceptedTaxon">
1192
         <with
1193
               variable="selection">
1194
            <test
1195
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
1196
            </test>
1197
         </with>
1198
      </definition>
1199
       <definition
1200
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
1201
         <with
1202
               variable="selection">
1203
            <test
1204
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
1205
            </test>
1206
         </with>
1207
      </definition>
1208
      <definition
1209
            id="isSynonym">
1210
         <with
1211
               variable="selection">
1212
            <test
1213
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
1214
            </test>
1215
         </with>
1216
      </definition>
1217
      <definition
1218
            id="isMisapplication">
1219
         <with
1220
               variable="selection">
1221
            <test
1222
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
1223
            </test>
1224
         </with>
1225
      </definition>
1226
      <definition
1227
            id="isTaxonBase">
1228
         <with
1229
               variable="selection">
1230
            <test
1231
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
1232
            </test>
1233
         </with>
1234
      </definition>
1235
      <definition
1236
            id="hasEmptyNames">
1237
         <with
1238
               variable="selection">
1239
            <test
1240
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
1241
            </test>
1242
         </with>
1243
      </definition>
1244
      <definition
1245
            id="isDeletable">
1246
         <with
1247
               variable="selection">
1248
            <test
1249
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
1250
            </test>
1251
         </with>
1252
      </definition>
1253
      <definition
1254
            id="isMedia">
1255
         <with
1256
               variable="selection">
1257
            <test
1258
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
1259
            </test>
1260
         </with>
1261
      </definition>
1262
      <definition
1263
            id="isTaxonEditor">
1264
         <with
1265
               variable="selection">
1266
            <test
1267
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
1268
            </test>
1269
         </with>
1270
      </definition>
1271
      <definition
1272
            id="isBulkEditor">
1273
         <with
1274
               variable="selection">
1275
            <test
1276
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
1277
            </test>
1278
         </with>
1279
      </definition>
1280
      <definition
1281
            id="isDerivateEditor">
1282
         <with
1283
               variable="selection">
1284
            <test
1285
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
1286
            </test>
1287
         </with>
1288
      </definition>
1289
      <definition
1290
            id="isDescription">
1291
         <with
1292
               variable="selection">
1293
            <test
1294
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
1295
            </test>
1296
         </with>
1297
      </definition>
1298
      <definition
1299
            id="isDescriptionElement">
1300
         <with
1301
               variable="selection">
1302
            <test
1303
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
1304
            </test>
1305
         </with>
1306
      </definition>
1307
      <definition
1308
            id="isFeatureNodeContainer">
1309
         <with
1310
               variable="selection">
1311
            <test
1312
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
1313
            </test>
1314
         </with>
1315
      </definition>
1316
      <definition
1317
            id="isImageGallery">
1318
         <with
1319
               variable="selection">
1320
            <test
1321
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
1322
            </test>
1323
         </with>
1324
      </definition>
1325
      <definition
1326
            id="isAcceptedAndHasNoHomotypicSynonyms">
1327
         <with
1328
               variable="selection">
1329
            <test
1330
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
1331
            </test>
1332
         </with>
1333
      </definition>
1334
      <definition
1335
            id="isIndividualsAssociation">
1336
         <with
1337
               variable="selection">
1338
            <test
1339
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
1340
            </test>
1341
         </with>
1342
      </definition>
1343
      <definition
1344
            id="isRemoting">
1345
         <test
1346
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
1347
         </test>
1348
      </definition>
1349
       <definition
1350
            id="isKeyNode">
1351
          <with
1352
                variable="selection">
1353
             <test
1354
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
1355
             </test>
1356
          </with>
1357
      </definition>
1358
      <definition
1359
            id="isSequence">
1360
         <with
1361
               variable="selection">
1362
            <test
1363
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
1364
            </test>
1365
         </with>
1366
      </definition>
1367
      <definition
1368
            id="isSingleRead">
1369
         <with
1370
               variable="selection">
1371
            <test
1372
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
1373
            </test>
1374
         </with>
1375
      </definition>
1376
      <definition
1377
            id="isSpecimenOrObservationBase">
1378
         <with
1379
               variable="selection">
1380
            <test
1381
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
1382
            </test>
1383
         </with>
1384
      </definition>
1385
      <definition
1386
            id="isDerivativeEditorLinkedToTaxonSelection">
1387
         <with
1388
               variable="activeEditor">
1389
            <test
1390
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
1391
            </test>
1392
         </with>
1393
      </definition>
1394
      <definition
1395
            id="isOrphanedTaxon">
1396
         <with
1397
               variable="selection">
1398
            <test
1399
                  forcePluginActivation="true"
1400
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
1401
            </test>
1402
         </with>
1403
      </definition>
1404
      <definition
1405
            id="isAddDerivateAllowed">
1406
         <with
1407
               variable="selection">
1408
            <test
1409
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
1410
            </test>
1411
         </with>
1412
      </definition>
1413
      <definition
1414
            id="isAddMediaAllowed">
1415
         <with
1416
               variable="selection">
1417
            <test
1418
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
1419
            </test>
1420
         </with>
1421
      </definition>
1422
   </extension>
1423
   <extension
1424
         point="org.eclipse.core.expressions.propertyTesters">
1425
      <propertyTester
1426
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
1427
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1428
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
1429
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
1430
            type="java.lang.Object">
1431
      </propertyTester>
1432
      <propertyTester
1433
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
1434
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1435
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
1436
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
1437
            type="java.lang.Object">
1438
      </propertyTester>
1439
      <propertyTester
1440
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1441
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1442
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
1443
            properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
1444
            type="org.eclipse.jface.viewers.IStructuredSelection">
1445
      </propertyTester>
1446
      <propertyTester
1447
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1448
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1449
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
1450
            properties="isLinkedWithTaxonSelection"
1451
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
1452
      </propertyTester>
1453
      <propertyTester
1454
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1455
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1456
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
1457
            properties="isKeyNode"
1458
            type="org.eclipse.jface.viewers.IStructuredSelection">
1459
      </propertyTester>
1460
   </extension>
1461
   <extension
1462
         point="org.eclipse.ui.bindings">   
1463
      <scheme
1464
            description="%scheme.description"
1465
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
1466
            name="%scheme.name">
1467
      </scheme>
1468
   </extension>
1469
    <!--extension
1470
         point="org.eclipse.ui.importWizards">
1471
      <wizard
1472
            category="eu.etaxonomy.taxeditor.import.category.cdm"
1473
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1474
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
1475
            name="%wizard.name">
1476
         <description>
1477
            %wizard.description
1478
         </description>
1479
      </wizard>
1480
   </extension-->
1481
   <extension
1482
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
1483
      <viewCommandMapping
1484
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
1485
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1486
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
1487
      </viewCommandMapping>
1488
      <viewCommandMapping
1489
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
1490
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
1491
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
1492
      </viewCommandMapping>
1493
      <viewCommandMapping
1494
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1495
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
1496
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1497
      </viewCommandMapping>
1498
      <viewCommandMapping
1499
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1500
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
1501
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1502
      </viewCommandMapping>
1503
      <viewCommandMapping
1504
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
1505
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
1506
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
1507
      </viewCommandMapping>
1508
      <viewCommandMapping
1509
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
1510
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
1511
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
1512
      </viewCommandMapping>
1513
      <viewCommandMapping
1514
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1515
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1516
            viewerName="Name Editor">
1517
      </viewCommandMapping>
1518
      <viewCommandMapping
1519
            commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
1520
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1521
            viewerName="Bulk Editor">
1522
      </viewCommandMapping>
1523
      <viewCommandMapping
1524
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1525
            selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
1526
            viewerName="Specimen Editor">
1527
      </viewCommandMapping>
1528
    </extension>
1529
   <extension
1530
         id="eu.etaxonomy.taxeditor.editor.workbench.model"
1531
         name="Editor Workbench Model"
1532
         point="org.eclipse.e4.workbench.model">
1533
      <fragment
1534
            apply="always"
1535
            uri="fragment.e4xmi">
1536
      </fragment>
1537
   </extension>
1538
</plugin>
(6-6/7)