Project

General

Profile

Download (57.8 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.key.KeyEditor"
27
            default="false"
28
            id="eu.etaxonomy.taxeditor.editor.key"
29
            name="%editor.name.1">
30
      </editor>
31
      <editor
32
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyGraphEditor"
33
            default="false"
34
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.graph"
35
            name="%editor.name.2">
36
      </editor>
37
      <editor
38
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyListEditor"
39
            default="false"
40
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.list"
41
            name="%editor.name.3">
42
      </editor>
43
      <editor
44
            class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
45
            default="false"
46
            id="eu.etaxonomy.taxeditor.editor.group.authority"
47
            name="%editor.name.4">
48
      </editor>
49
      <editor
50
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
51
            default="false"
52
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor"
53
            name="%editor.name.6">
54
      </editor>
55
      <editor
56
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
57
            default="false"
58
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor"
59
            name="%editor.name.7">
60
      </editor>
61
         <editor
62
            class="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
63
            icon="icons/check.png"
64
            id="eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor"
65
            name="%editor.name.8">
66
      </editor>
67
   </extension>
68
      <extension
69
            point="org.eclipse.ui.views">
70
          <view
71
                allowMultiple="false"
72
                category="eu.etaxonomy.taxeditor.editor.category"
73
                class="eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart"
74
                icon="icons/leaf.png"
75
                id="eu.etaxonomy.taxeditor.editor.view.uses"
76
                name="%view.name.0"
77
                restorable="true">
78
         </view>
79
         <view
80
               category="eu.etaxonomy.taxeditor.editor.category"
81
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
82
               icon="icons/address-book-new.png"
83
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
84
               name="%view.name.3"
85
               restorable="true">
86
         </view>
87
         <category
88
               id="eu.etaxonomy.taxeditor.editor.category"
89
               name="%category.name">
90
         </category>
91
         <view
92
               allowMultiple="true"
93
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
94
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
95
               name="%view.name.4">
96
         </view>
97
         <view
98
               allowMultiple="true"
99
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
100
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
101
               name="%view.name.5">
102
         </view>
103
         <view
104
               allowMultiple="false"
105
               category="eu.etaxonomy.taxeditor.editor.category"
106
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
107
               icon="icons/edit_16x16.gif"
108
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
109
               name="%view.name.6">
110
         </view>
111
      </extension>
112
      
113
	<!-- VALIDATION RELATED STUFF -->
114
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
115
		<super type="org.eclipse.core.resources.problemmarker"/>
116
		<attribute name="databaseId"/>
117
		<attribute name="userFriendlyTypeName"/>
118
		<attribute name="userFriendlyDescription"/>
119
		<attribute name="userFriendlyFieldName"/>
120
		<attribute name="validatorMessage"/>
121
		<attribute name="invalidValue"/>
122
		<attribute name="validatorClass"/>
123
		<attribute name="entityClass"/>
124
		<attribute name="entityId"/>
125
   		<persistent value="false"/>
126
   	</extension>
127

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