Project

General

Profile

Download (36 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
   </extension>
62
      <extension
63
            point="org.eclipse.ui.views">
64
         <view
65
               allowMultiple="true"
66
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
67
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
68
               name="%view.name.4">
69
         </view>
70
         <view
71
               allowMultiple="true"
72
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
73
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
74
               name="%view.name.5">
75
         </view>
76
         <view
77
               allowMultiple="false"
78
               category="eu.etaxonomy.taxeditor.editor.category"
79
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
80
               icon="icons/edit_16x16.gif"
81
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
82
               name="%view.name.6">
83
         </view>
84
      </extension>
85
      
86
	<!-- VALIDATION RELATED STUFF -->
87
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
88
		<super type="org.eclipse.core.resources.problemmarker"/>
89
		<attribute name="databaseId"/>
90
		<attribute name="userFriendlyTypeName"/>
91
		<attribute name="userFriendlyDescription"/>
92
		<attribute name="userFriendlyFieldName"/>
93
		<attribute name="validatorMessage"/>
94
		<attribute name="invalidValue"/>
95
		<attribute name="validatorClass"/>
96
		<attribute name="entityClass"/>
97
		<attribute name="entityId"/>
98
   		<persistent value="false"/>
99
   	</extension>
100

    
101
	<extension point="org.eclipse.ui.ide.markerSupport">
102
	    <markerContentGenerator
103
		    id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator" 
104
		    name="%markerContentGenerator.name">  
105
	    	<markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
106
	    	
107
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
108
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
109
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
110
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
111
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
112
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
113
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
114
	    	<markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
115
	    </markerContentGenerator>
116
	    
117
		<markerField
118
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
119
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
120
			name="%marker.field.0">
121
		</markerField>
122
		<markerField
123
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
124
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
125
			name="%marker.field.1">
126
		</markerField>
127
		<markerField
128
			class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
129
			id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
130
			name="%marker.field.2 = Attribute">
131
		</markerField>
132
		<markerField
133
			class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
134
			id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
135
			name="%marker.field.3 = Problematic Value">
136
		</markerField>
137
		<markerField
138
			class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
139
			id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
140
			name="%marker.field.4 = Problem description">
141
		</markerField>
142
		<markerField
143
			class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
144
			id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
145
			name="%marker.field.5">
146
		</markerField>
147
		<markerField
148
			class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
149
			id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
150
			name="%marker.field.6">
151
		</markerField>
152
		<markerField
153
			class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
154
			id="eu.etaxonomy.taxeditor.markers.validation.entityId"
155
			name="%marker.field.7">
156
		</markerField>
157
	</extension>
158
	
159
  <extension
160
         point="org.eclipse.ui.elementFactories">
161
      <factory
162
            class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
163
            id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
164
      </factory>
165
   </extension>
166
   <extension
167
         point="org.eclipse.ui.menus">
168
      <menuContribution
169
            locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
170
         <command
171
               commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
172
               label="%command.label.46"
173
               style="push">
174
            <visibleWhen
175
                  checkEnabled="true">
176
               <reference
177
                     definitionId="isCdmStoreConnected">
178
               </reference>
179
            </visibleWhen>
180
         </command>
181
         <command
182
               commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
183
               label="%command.label.47"
184
               style="push">
185
            <visibleWhen
186
                  checkEnabled="true">
187
               <reference
188
                     definitionId="isCdmStoreConnected">
189
               </reference>
190
            </visibleWhen>
191
         </command>
192
         <command
193
               commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
194
               label="%command.label.1"
195
               style="push">
196
            <visibleWhen
197
                  checkEnabled="true">
198
               <reference
199
                     definitionId="isCdmStoreConnected">
200
               </reference>
201
            </visibleWhen>
202
         </command>
203
         <command
204
               commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
205
               label="%command.label.2"
206
               style="push">
207
            <visibleWhen
208
                  checkEnabled="true">
209
               <reference
210
                     definitionId="isCdmStoreConnected">
211
               </reference>
212
            </visibleWhen>
213
         </command>
214
         <separator
215
               name="eu.etaxonomy.navigation.menu.new.separator2"
216
               visible="true">
217
         </separator>
218
         <separator
219
               name="eu.etaxonomy.navigation.menu.new.separator3"
220
               visible="true">
221
         </separator>
222
         <command
223
               commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
224
               label="%command.label.48"
225
               style="push">
226
         </command>
227
      </menuContribution>
228
      <menuContribution
229
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
230
         <separator
231
               name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
232
               visible="true">
233
         </separator>
234
         <command
235
               commandId="org.eclipse.ui.views.showView"
236
               label="%command.name.40"
237
               style="push">
238
            <parameter
239
                  name="org.eclipse.ui.views.showView.viewId"
240
                  value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
241
            </parameter>
242
            <visibleWhen
243
                  checkEnabled="true">
244
               <reference
245
                     definitionId="isCdmStoreConnected">
246
               </reference>
247
            </visibleWhen>
248
         </command>
249
      </menuContribution>
250
      <menuContribution
251
            locationURI="menu:org.eclipse.ui.main.menu.navigate">
252
         <command
253
               commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
254
               label="%command.label.8"
255
               style="push">
256
         </command>
257
      </menuContribution>
258
      <menuContribution
259
            locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous">
260
         <command
261
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new"
262
               label="%command.label.20"
263
               style="push">
264
         </command>
265
         <command
266
               commandId="eu.etaxonomy.taxeditor.key.polytomous.delete"
267
               label="%command.label.21"
268
               style="push">
269
         </command>
270
         <separator
271
               name="taxeditor-editor.separator2"
272
               visible="true">
273
         </separator>
274
         <command
275
               commandId="eu.etaxonomy.taxeditor.key.command.applyLayout"
276
               label="%command.label.22"
277
               style="push">
278
         </command>
279
         <separator
280
               name="taxeditor-editor.separator3"
281
               visible="true">
282
         </separator>
283
      </menuContribution>
284
      <menuContribution
285
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
286
         <dynamic
287
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
288
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
289
         </dynamic>
290
      </menuContribution>
291
      <menuContribution
292
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
293
         <dynamic
294
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
295
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
296
         </dynamic>
297
      </menuContribution>
298
      
299
      
300
      
301
      
302
      
303
      
304
      <menuContribution
305
            allPopups="false"
306
            locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
307
         <command
308
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
309
               label="%command.label.45"
310
               style="push">
311
            <visibleWhen>
312
               <reference
313
                     definitionId="isGroupEditor">
314
               </reference>
315
            </visibleWhen>
316
         </command>
317
      </menuContribution>
318
      <menuContribution
319
            allPopups="false"
320
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
321
         <toolbar
322
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
323
            <command
324
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
325
                  icon="icons/synced.gif"
326
                  label="%command.label.LINK_WITH_TAXON_SELECTIO"
327
                  style="toggle">
328
               <visibleWhen
329
                     checkEnabled="true">
330
                  <with
331
                        variable="activePartId">
332
                     <equals
333
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
334
                     </equals>
335
                  </with>
336
               </visibleWhen>
337
            </command>
338
         </toolbar>
339
      </menuContribution>
340
   </extension>
341
   <extension
342
         point="org.eclipse.ui.handlers">
343
      <handler
344
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
345
            commandId="org.eclipse.ui.window.newEditor">
346
         <activeWhen>
347
            <not>
348
               <instanceof
349
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
350
               </instanceof>
351
            </not>
352
         </activeWhen>
353
         <enabledWhen>
354
            <count
355
                  value="-1">
356
            </count>
357
         </enabledWhen>
358
      </handler>
359
      <handler
360
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
361
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
362
         <activeWhen>
363
            <and>
364
               <reference
365
                     definitionId="isTaxonBase">
366
               </reference>
367
              <not>
368
                  <reference
369
                        definitionId="isAcceptedTaxon">
370
                  </reference>
371
               </not>
372
            </and>
373
         </activeWhen>
374
      </handler>
375
      <handler
376
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
377
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
378
         <activeWhen>
379
           <with
380
                  variable="activePartId">
381
               <equals
382
                     value="eu.etaxonomy.taxeditor.editor.key">
383
               </equals>
384
            </with>
385
         </activeWhen>
386
         <enabledWhen>
387
            <with
388
                  variable="selection">
389
               <test
390
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
391
               </test>
392
            </with>
393
         </enabledWhen>
394
      </handler>
395
      <handler
396
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
397
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
398
        <activeWhen>
399
            <reference
400
                  definitionId="isRemoting">
401
            </reference>
402
         </activeWhen>
403
      </handler>
404
       <handler
405
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
406
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
407
          <enabledWhen>
408
             <with
409
                   variable="selection">
410
            <test
411
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
412
            </test>
413
         
414
             </with>
415
          </enabledWhen>
416
      </handler>
417
      <handler
418
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
419
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
420
         <activeWhen>
421
            <with
422
                  variable="activePartId">
423
               <equals
424
                     value="eu.etaxonomy.taxeditor.editor.key">
425
               </equals>
426
            </with>
427
         </activeWhen>
428
         <enabledWhen>
429
             <with
430
                   variable="selection">
431
            <test
432
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
433
            </test>
434
         
435
             </with>
436
          </enabledWhen>
437
      </handler>
438
      <handler
439
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
440
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
441
         <enabledWhen>
442
            <with
443
                  variable="selection">
444
               <test
445
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
446
               </test>
447
            </with>
448
         </enabledWhen>
449
      </handler>
450
   </extension>
451
   <extension
452
         name="%extension.name"
453
         point="org.eclipse.ui.commands">
454
      <category
455
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
456
            name="%category.name.0">
457
      </category>
458
      <command
459
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
460
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
461
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
462
            name="%command.name">
463
      </command>
464
    <!--  <command
465
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
466
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
467
            name="Move Taxon">
468
      </command>-->
469
     <!-- <command
470
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
471
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
472
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
473
            name="Change Accepted Taxon to Synonym">
474
      </command>-->
475
      <category
476
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
477
            name="%category.name.1">
478
      </category>
479
      <category
480
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
481
            name="%category.name.2">
482
      </category>
483
      <category
484
            id="eu.etaxonomy.taxeditor.editor.media.category"
485
            name="%category.name.3">
486
      </category>
487
      
488
      <category
489
            id="eu.etaxonomy.taxeditor.editor.new.category"
490
            name="%category.name.4">
491
      </category>
492
      <command
493
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
494
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
495
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
496
            name="%command.name.23">
497
      </command>
498
      <command
499
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
500
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
501
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
502
            name="%command.name.24">
503
      </command>
504
      <command
505
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
506
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
507
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
508
            name="%command.name.25">
509
      </command>
510
      <command
511
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
512
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
513
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
514
            name="%command.name.26">
515
      </command>
516
      <category
517
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
518
            name="%category.name.6">
519
      </category>
520
      <category
521
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
522
            name="%category.name.7">
523
      </category>
524
      <command
525
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
526
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
527
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
528
            name="%command.name.34">
529
      </command>
530
       <command
531
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
532
             name="%command.name.38">
533
          <commandParameter
534
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
535
                name="taxonNodeUuid"
536
                optional="true"
537
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
538
          </commandParameter>
539
       </command>
540
      <command
541
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
542
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
543
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
544
            name="%command.name.39">
545
      </command>
546
      <command
547
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
548
            name="%command.name.41">
549
      </command>
550
       
551
      <command
552
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
553
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
554
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
555
         <commandParameter
556
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
557
               name="Specimen Uuids"
558
               optional="true"
559
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
560
         </commandParameter>
561
      </command>
562
      <command
563
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
564
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
565
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
566
      </command>
567
        
568
   </extension>
569
   <extension
570
         point="org.eclipse.core.expressions.definitions">
571
      <definition
572
            id="nameEditorActive">
573
         <with
574
               variable="activeEditorId">
575
            <equals
576
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
577
            </equals>
578
         </with>
579
      </definition>
580
      <definition
581
            id="isAcceptedTaxon">
582
         <with
583
               variable="selection">
584
            <test
585
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
586
            </test>
587
         </with>
588
      </definition>
589
      <definition
590
            id="isNotHomotypicSynonymOfAcceptedTaxon">
591
         <with
592
               variable="selection">
593
            <test
594
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
595
            </test>
596
         </with>
597
      </definition>
598
       <definition
599
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
600
         <with
601
               variable="selection">
602
            <test
603
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
604
            </test>
605
         </with>
606
      </definition>
607
      <definition
608
            id="isSynonym">
609
         <with
610
               variable="selection">
611
            <test
612
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
613
            </test>
614
         </with>
615
      </definition>
616
      <definition
617
            id="isMisapplication">
618
         <with
619
               variable="selection">
620
            <test
621
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
622
            </test>
623
         </with>
624
      </definition>
625
      <definition
626
            id="isTaxonBase">
627
         <with
628
               variable="selection">
629
            <test
630
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
631
            </test>
632
         </with>
633
      </definition>
634
      <definition
635
            id="hasEmptyNames">
636
         <with
637
               variable="selection">
638
            <test
639
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
640
            </test>
641
         </with>
642
      </definition>
643
      <definition
644
            id="isDeletable">
645
         <with
646
               variable="selection">
647
            <test
648
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
649
            </test>
650
         </with>
651
      </definition>
652
      <definition
653
            id="isMedia">
654
         <with
655
               variable="selection">
656
            <test
657
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
658
            </test>
659
         </with>
660
      </definition>
661
      <definition
662
            id="isTaxonEditor">
663
         <with
664
               variable="selection">
665
            <test
666
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
667
            </test>
668
         </with>
669
      </definition>
670
      <definition
671
            id="isBulkEditor">
672
         <with
673
               variable="selection">
674
            <test
675
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
676
            </test>
677
         </with>
678
      </definition>
679
      <definition
680
            id="isDerivateEditor">
681
         <with
682
               variable="selection">
683
            <test
684
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
685
            </test>
686
         </with>
687
      </definition>
688
      <definition
689
            id="isDescription">
690
         <with
691
               variable="selection">
692
            <test
693
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
694
            </test>
695
         </with>
696
      </definition>
697
      <definition
698
            id="isDescriptionElement">
699
         <with
700
               variable="selection">
701
            <test
702
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
703
            </test>
704
         </with>
705
      </definition>
706
      <definition
707
            id="isFeatureNodeContainer">
708
         <with
709
               variable="selection">
710
            <test
711
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
712
            </test>
713
         </with>
714
      </definition>
715
      <definition
716
            id="isImageGallery">
717
         <with
718
               variable="selection">
719
            <test
720
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
721
            </test>
722
         </with>
723
      </definition>
724
      <definition
725
            id="isAcceptedAndHasNoHomotypicSynonyms">
726
         <with
727
               variable="selection">
728
            <test
729
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
730
            </test>
731
         </with>
732
      </definition>
733
      <definition
734
            id="isIndividualsAssociation">
735
         <with
736
               variable="selection">
737
            <test
738
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
739
            </test>
740
         </with>
741
      </definition>
742
      <definition
743
            id="isRemoting">
744
         <test
745
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
746
         </test>
747
      </definition>
748
       <definition
749
            id="isKeyNode">
750
          <with
751
                variable="selection">
752
             <test
753
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
754
             </test>
755
          </with>
756
      </definition>
757
      <definition
758
            id="isSequence">
759
         <with
760
               variable="selection">
761
            <test
762
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
763
            </test>
764
         </with>
765
      </definition>
766
      <definition
767
            id="isSingleRead">
768
         <with
769
               variable="selection">
770
            <test
771
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
772
            </test>
773
         </with>
774
      </definition>
775
      <definition
776
            id="isSpecimenOrObservationBase">
777
         <with
778
               variable="selection">
779
            <test
780
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
781
            </test>
782
         </with>
783
      </definition>
784
      <definition
785
            id="isDerivativeEditorLinkedToTaxonSelection">
786
         <with
787
               variable="activeEditor">
788
            <test
789
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
790
            </test>
791
         </with>
792
      </definition>
793
      <definition
794
            id="isOrphanedTaxon">
795
         <with
796
               variable="selection">
797
            <test
798
                  forcePluginActivation="true"
799
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
800
            </test>
801
         </with>
802
      </definition>
803
      <definition
804
            id="isAddDerivateAllowed">
805
         <with
806
               variable="selection">
807
            <test
808
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
809
            </test>
810
         </with>
811
      </definition>
812
      <definition
813
            id="isAddMediaAllowed">
814
         <with
815
               variable="selection">
816
            <test
817
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
818
            </test>
819
         </with>
820
      </definition>
821
   </extension>
822
   <extension
823
         point="org.eclipse.core.expressions.propertyTesters">
824
      <propertyTester
825
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
826
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
827
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
828
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
829
            type="java.lang.Object">
830
      </propertyTester>
831
      <propertyTester
832
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
833
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
834
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
835
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
836
            type="java.lang.Object">
837
      </propertyTester>
838
      <propertyTester
839
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
840
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
841
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
842
            properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
843
            type="org.eclipse.jface.viewers.IStructuredSelection">
844
      </propertyTester>
845
      <propertyTester
846
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
847
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
848
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
849
            properties="isLinkedWithTaxonSelection"
850
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
851
      </propertyTester>
852
      <propertyTester
853
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
854
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
855
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
856
            properties="isKeyNode"
857
            type="org.eclipse.jface.viewers.IStructuredSelection">
858
      </propertyTester>
859
   </extension>
860
   <extension
861
         point="org.eclipse.ui.bindings">   
862
      <scheme
863
            description="%scheme.description"
864
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
865
            name="%scheme.name">
866
      </scheme>
867
   </extension>
868
    <!--extension
869
         point="org.eclipse.ui.importWizards">
870
      <wizard
871
            category="eu.etaxonomy.taxeditor.import.category.cdm"
872
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
873
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
874
            name="%wizard.name">
875
         <description>
876
            %wizard.description
877
         </description>
878
      </wizard>
879
   </extension-->
880
   <extension
881
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
882
      <viewCommandMapping
883
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
884
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
885
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
886
      </viewCommandMapping>
887
      <viewCommandMapping
888
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
889
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
890
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
891
      </viewCommandMapping>
892
      <viewCommandMapping
893
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
894
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
895
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
896
      </viewCommandMapping>
897
      <viewCommandMapping
898
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
899
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
900
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
901
      </viewCommandMapping>
902
      <viewCommandMapping
903
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
904
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
905
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
906
      </viewCommandMapping>
907
      <viewCommandMapping
908
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
909
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
910
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
911
      </viewCommandMapping>
912
      <viewCommandMapping
913
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
914
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
915
            viewerName="Name Editor">
916
      </viewCommandMapping>
917
      <viewCommandMapping
918
            commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
919
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
920
            viewerName="Bulk Editor">
921
      </viewCommandMapping>
922
      <viewCommandMapping
923
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
924
            selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
925
            viewerName="Specimen Editor">
926
      </viewCommandMapping>
927
    </extension>
928
   <extension
929
         id="eu.etaxonomy.taxeditor.editor.workbench.model"
930
         name="Editor Workbench Model"
931
         point="org.eclipse.e4.workbench.model">
932
      <fragment
933
            apply="always"
934
            uri="fragment.e4xmi">
935
      </fragment>
936
   </extension>
937
</plugin>
(6-6/7)