Project

General

Profile

Download (39.4 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.editor.Application">
10
         </run>
11
      </application>
12
   </extension>
13
      <extension
14
            point="org.eclipse.core.runtime.adapters">
15
         <factory
16
               adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17
               class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18
            <adapter
19
                  type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20
            </adapter>
21
         </factory>
22
      </extension>
23
   <extension
24
         point="org.eclipse.ui.editors">
25
      <editor
26
            class="eu.etaxonomy.taxeditor.editor.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.key.polytomous.list">
286
         <menu
287
               label="%menu.label.4">
288
            <command
289
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
290
                  label="%command.label.58"
291
                  style="push">
292
            </command>
293
            <command
294
                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
295
                  label="%command.label.23"
296
                  style="push">
297
            </command>
298
         </menu>
299
         <command
300
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
301
               label="%command.label.24"
302
               style="push">
303
         </command>
304
       <!--  <dynamic
305
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
306
               id="eu.etaxonomy.taxeditor.editor.polytomous.list.cdmViewerContextMenu">
307
         </dynamic>-->
308
         <command
309
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
310
               label="%command.label.25"
311
               style="push">
312
         </command>
313
         <command
314
               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
315
               label="%command.label.26"
316
               style="push">
317
         </command>
318
         <separator
319
               name="eu.etaxonomy.taxeditor.editor.separator1">
320
         </separator>
321
      </menuContribution>
322
      <menuContribution
323
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportEditor">
324
         <dynamic
325
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
326
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
327
         </dynamic>
328
      </menuContribution>
329
      <menuContribution
330
            locationURI="popup:eu.etaxonomy.taxeditor.editor.view.dataimport.GbifImportEditor">
331
         <dynamic
332
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu"
333
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.DataImportEditorContextMenu">
334
         </dynamic>
335
      </menuContribution>
336
      
337
      
338
      
339
      
340
      
341
      
342
      <menuContribution
343
            allPopups="false"
344
            locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
345
         <command
346
               commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
347
               label="%command.label.45"
348
               style="push">
349
            <visibleWhen>
350
               <reference
351
                     definitionId="isGroupEditor">
352
               </reference>
353
            </visibleWhen>
354
         </command>
355
      </menuContribution>
356
      <menuContribution
357
            allPopups="false"
358
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
359
         <toolbar
360
               id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
361
            <command
362
                  commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
363
                  icon="icons/synced.gif"
364
                  label="%command.label.LINK_WITH_TAXON_SELECTIO"
365
                  style="toggle">
366
               <visibleWhen
367
                     checkEnabled="true">
368
                  <with
369
                        variable="activePartId">
370
                     <equals
371
                           value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
372
                     </equals>
373
                  </with>
374
               </visibleWhen>
375
            </command>
376
         </toolbar>
377
      </menuContribution>
378
   </extension>
379
   <extension
380
         point="org.eclipse.ui.handlers">
381
      <handler
382
            class="org.eclipse.ui.internal.handlers.NewEditorHandler"
383
            commandId="org.eclipse.ui.window.newEditor">
384
         <activeWhen>
385
            <not>
386
               <instanceof
387
                     value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
388
               </instanceof>
389
            </not>
390
         </activeWhen>
391
         <enabledWhen>
392
            <count
393
                  value="-1">
394
            </count>
395
         </enabledWhen>
396
      </handler>
397
      <handler
398
            class="eu.etaxonomy.taxeditor.editor.name.handler.DeleteTaxonBaseHandler"
399
            commandId="eu.etaxonomy.taxeditor.editor.name.command.delete">
400
         <activeWhen>
401
            <and>
402
               <reference
403
                     definitionId="isTaxonBase">
404
               </reference>
405
              <not>
406
                  <reference
407
                        definitionId="isAcceptedTaxon">
408
                  </reference>
409
               </not>
410
            </and>
411
         </activeWhen>
412
      </handler>
413
      <handler
414
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.DeleteNodeHandler"
415
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.delete">
416
         <activeWhen>
417
           <with
418
                  variable="activePartId">
419
               <equals
420
                     value="eu.etaxonomy.taxeditor.editor.key">
421
               </equals>
422
            </with>
423
         </activeWhen>
424
         <enabledWhen>
425
            <with
426
                  variable="selection">
427
               <test
428
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
429
               </test>
430
            </with>
431
         </enabledWhen>
432
      </handler>
433
      <handler
434
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateChildPolytomousKeyNodeHandler"
435
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child">
436
        <activeWhen>
437
            <reference
438
                  definitionId="isRemoting">
439
            </reference>
440
         </activeWhen>
441
      </handler>
442
       <handler
443
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.InsertNewNodeHandler"
444
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node">
445
          <enabledWhen>
446
             <with
447
                   variable="selection">
448
            <test
449
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
450
            </test>
451
         
452
             </with>
453
          </enabledWhen>
454
      </handler>
455
      <handler
456
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RemotingCreateSiblingPolytomousKeyNodeHandler"
457
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling">
458
         <activeWhen>
459
            <with
460
                  variable="activePartId">
461
               <equals
462
                     value="eu.etaxonomy.taxeditor.editor.key">
463
               </equals>
464
            </with>
465
         </activeWhen>
466
         <enabledWhen>
467
             <with
468
                   variable="selection">
469
            <test
470
                  property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
471
            </test>
472
         
473
             </with>
474
          </enabledWhen>
475
      </handler>
476
      <handler
477
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
478
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
479
         <activeWhen>
480
            <with
481
                  variable="activePartId">
482
               <equals
483
                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
484
               </equals>
485
            </with>
486
         </activeWhen>
487
      </handler>
488
      <handler
489
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.handler.RefreshNodeNumberingHandler"
490
            commandId="eu.etaxonomy.taxeditor.key.polytomous.command.refresh">
491
         <enabledWhen>
492
            <with
493
                  variable="selection">
494
               <test
495
                     property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
496
               </test>
497
            </with>
498
         </enabledWhen>
499
      </handler>
500
   </extension>
501
   <extension
502
         name="%extension.name"
503
         point="org.eclipse.ui.commands">
504
      <category
505
            id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
506
            name="%category.name.0">
507
      </category>
508
      <command
509
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
510
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
511
            id="eu.etaxonomy.taxeditor.editor.command.openParent"
512
            name="%command.name">
513
      </command>
514
    <!--  <command
515
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
516
            id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
517
            name="Move Taxon">
518
      </command>-->
519
     <!-- <command
520
            categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
521
            defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
522
            id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
523
            name="Change Accepted Taxon to Synonym">
524
      </command>-->
525
      <category
526
            id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
527
            name="%category.name.1">
528
      </category>
529
      <category
530
            id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
531
            name="%category.name.2">
532
      </category>
533
      <category
534
            id="eu.etaxonomy.taxeditor.editor.media.category"
535
            name="%category.name.3">
536
      </category>
537
      
538
      <category
539
            id="eu.etaxonomy.taxeditor.editor.new.category"
540
            name="%category.name.4">
541
      </category>
542
      <command
543
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
544
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
545
            id="eu.etaxonomy.taxeditor.editor.command.new.reference"
546
            name="%command.name.23">
547
      </command>
548
      <command
549
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
550
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
551
            id="eu.etaxonomy.taxeditor.editor.command.new.name"
552
            name="%command.name.24">
553
      </command>
554
      <command
555
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
556
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
557
            id="eu.etaxonomy.taxeditor.editor.command.new.team"
558
            name="%command.name.25">
559
      </command>
560
      <command
561
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
562
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
563
            id="eu.etaxonomy.taxeditor.editor.command.new.person"
564
            name="%command.name.26">
565
      </command>
566
      <category
567
            id="eu.etaxonomy.taxeditor.editor.key.category"
568
            name="%category.name.5">
569
      </category>
570
      <command
571
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
572
           
573
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
574
            name="%command.name.28">
575
      </command>
576
       <command
577
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
578
            
579
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
580
            name="%command.name.58">
581
      </command>
582
        <command
583
             categoryId="eu.etaxonomy.taxeditor.editor.key.category"
584
            id="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
585
            name="%command.name.29">
586
      </command>
587
      <command
588
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
589
           
590
            id="eu.etaxonomy.taxeditor.key.polytomous.command.refresh"
591
            name="%command.name.30">
592
      </command>
593
      <command
594
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
595
            defaultHandler="eu.etaxonomy.taxeditor.editor.key.handler.ApplyLayoutHandler"
596
            id="eu.etaxonomy.taxeditor.key.command.applyLayout"
597
            name="%command.name.31">
598
      </command>
599
      <command
600
            categoryId="eu.etaxonomy.taxeditor.editor.key.category"
601
            id="eu.etaxonomy.taxeditor.key.polytomous.command.delete"
602
            name="%command.name.50">
603
      </command>
604
      <category
605
            id="eu.etaxonomy.taxeditor.editor.view.concept.category"
606
            name="%category.name.6">
607
      </category>
608
      <category
609
            id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
610
            name="%category.name.7">
611
      </category>
612
      <command
613
            categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
614
            defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
615
            id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
616
            name="%command.name.34">
617
      </command>
618
       <command
619
             id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
620
             name="%command.name.38">
621
          <commandParameter
622
                id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
623
                name="taxonNodeUuid"
624
                optional="true"
625
                typeId="eu.etaxonomy.taxeditor.uuidParameterType">
626
          </commandParameter>
627
       </command>
628
      <command
629
            categoryId="eu.etaxonomy.taxeditor.editor.new.category"
630
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
631
            id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
632
            name="%command.name.39">
633
      </command>
634
      <command
635
            id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
636
            name="%command.name.41">
637
      </command>
638
       
639
      <command
640
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
641
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
642
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
643
         <commandParameter
644
               id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
645
               name="Specimen Uuids"
646
               optional="true"
647
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
648
         </commandParameter>
649
      </command>
650
      <command
651
            defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
652
            id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
653
            name="%command.name.OPEN_DERIVATIVE_EDITOR">
654
      </command>
655
        
656
   </extension>
657
   <extension
658
         point="org.eclipse.core.expressions.definitions">
659
      <definition
660
            id="nameEditorActive">
661
         <with
662
               variable="activeEditorId">
663
            <equals
664
                  value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
665
            </equals>
666
         </with>
667
      </definition>
668
      <definition
669
            id="isAcceptedTaxon">
670
         <with
671
               variable="selection">
672
            <test
673
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
674
            </test>
675
         </with>
676
      </definition>
677
      <definition
678
            id="isNotHomotypicSynonymOfAcceptedTaxon">
679
         <with
680
               variable="selection">
681
            <test
682
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
683
            </test>
684
         </with>
685
      </definition>
686
       <definition
687
            id="isSynonymInHomotypicalGroupWithMoreSynonyms">
688
         <with
689
               variable="selection">
690
            <test
691
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
692
            </test>
693
         </with>
694
      </definition>
695
      <definition
696
            id="isSynonym">
697
         <with
698
               variable="selection">
699
            <test
700
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
701
            </test>
702
         </with>
703
      </definition>
704
      <definition
705
            id="isMisapplication">
706
         <with
707
               variable="selection">
708
            <test
709
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
710
            </test>
711
         </with>
712
      </definition>
713
      <definition
714
            id="isTaxonBase">
715
         <with
716
               variable="selection">
717
            <test
718
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
719
            </test>
720
         </with>
721
      </definition>
722
      <definition
723
            id="hasEmptyNames">
724
         <with
725
               variable="selection">
726
            <test
727
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
728
            </test>
729
         </with>
730
      </definition>
731
      <definition
732
            id="isDeletable">
733
         <with
734
               variable="selection">
735
            <test
736
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
737
            </test>
738
         </with>
739
      </definition>
740
      <definition
741
            id="isMedia">
742
         <with
743
               variable="selection">
744
            <test
745
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
746
            </test>
747
         </with>
748
      </definition>
749
      <definition
750
            id="isTaxonEditor">
751
         <with
752
               variable="selection">
753
            <test
754
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
755
            </test>
756
         </with>
757
      </definition>
758
      <definition
759
            id="isBulkEditor">
760
         <with
761
               variable="selection">
762
            <test
763
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
764
            </test>
765
         </with>
766
      </definition>
767
      <definition
768
            id="isDerivateEditor">
769
         <with
770
               variable="selection">
771
            <test
772
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
773
            </test>
774
         </with>
775
      </definition>
776
      <definition
777
            id="isDescription">
778
         <with
779
               variable="selection">
780
            <test
781
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
782
            </test>
783
         </with>
784
      </definition>
785
      <definition
786
            id="isDescriptionElement">
787
         <with
788
               variable="selection">
789
            <test
790
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
791
            </test>
792
         </with>
793
      </definition>
794
      <definition
795
            id="isFeatureNodeContainer">
796
         <with
797
               variable="selection">
798
            <test
799
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
800
            </test>
801
         </with>
802
      </definition>
803
      <definition
804
            id="isImageGallery">
805
         <with
806
               variable="selection">
807
            <test
808
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
809
            </test>
810
         </with>
811
      </definition>
812
      <definition
813
            id="isAcceptedAndHasNoHomotypicSynonyms">
814
         <with
815
               variable="selection">
816
            <test
817
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
818
            </test>
819
         </with>
820
      </definition>
821
      <definition
822
            id="isIndividualsAssociation">
823
         <with
824
               variable="selection">
825
            <test
826
                  property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
827
            </test>
828
         </with>
829
      </definition>
830
      <definition
831
            id="isRemoting">
832
         <test
833
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
834
         </test>
835
      </definition>
836
       <definition
837
            id="isKeyNode">
838
          <with
839
                variable="selection">
840
             <test
841
                   property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
842
             </test>
843
          </with>
844
      </definition>
845
      <definition
846
            id="isSequence">
847
         <with
848
               variable="selection">
849
            <test
850
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
851
            </test>
852
         </with>
853
      </definition>
854
      <definition
855
            id="isSingleRead">
856
         <with
857
               variable="selection">
858
            <test
859
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
860
            </test>
861
         </with>
862
      </definition>
863
      <definition
864
            id="isSpecimenOrObservationBase">
865
         <with
866
               variable="selection">
867
            <test
868
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
869
            </test>
870
         </with>
871
      </definition>
872
      <definition
873
            id="isDerivativeEditorLinkedToTaxonSelection">
874
         <with
875
               variable="activeEditor">
876
            <test
877
                  property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
878
            </test>
879
         </with>
880
      </definition>
881
      <definition
882
            id="isOrphanedTaxon">
883
         <with
884
               variable="selection">
885
            <test
886
                  forcePluginActivation="true"
887
                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
888
            </test>
889
         </with>
890
      </definition>
891
      <definition
892
            id="isAddDerivateAllowed">
893
         <with
894
               variable="selection">
895
            <test
896
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
897
            </test>
898
         </with>
899
      </definition>
900
      <definition
901
            id="isAddMediaAllowed">
902
         <with
903
               variable="selection">
904
            <test
905
                  property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
906
            </test>
907
         </with>
908
      </definition>
909
   </extension>
910
   <extension
911
         point="org.eclipse.core.expressions.propertyTesters">
912
      <propertyTester
913
            class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
914
            id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
915
            namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
916
            properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
917
            type="java.lang.Object">
918
      </propertyTester>
919
      <propertyTester
920
            class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
921
            id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
922
            namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
923
            properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
924
            type="java.lang.Object">
925
      </propertyTester>
926
      <propertyTester
927
            class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
928
            id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
929
            namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
930
            properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
931
            type="org.eclipse.jface.viewers.IStructuredSelection">
932
      </propertyTester>
933
      <propertyTester
934
            class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
935
            id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
936
            namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
937
            properties="isLinkedWithTaxonSelection"
938
            type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
939
      </propertyTester>
940
      <propertyTester
941
            class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
942
            id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
943
            namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
944
            properties="isKeyNode"
945
            type="org.eclipse.jface.viewers.IStructuredSelection">
946
      </propertyTester>
947
   </extension>
948
   <extension
949
         point="org.eclipse.ui.bindings">   
950
      <scheme
951
            description="%scheme.description"
952
            id="eu.etaxonomy.taxeditor.bindings.scheme.default"
953
            name="%scheme.name">
954
      </scheme>
955
   </extension>
956
    <!--extension
957
         point="org.eclipse.ui.importWizards">
958
      <wizard
959
            category="eu.etaxonomy.taxeditor.import.category.cdm"
960
            class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
961
            id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
962
            name="%wizard.name">
963
         <description>
964
            %wizard.description
965
         </description>
966
      </wizard>
967
   </extension-->
968
   <extension
969
          point="eu.etaxonomy.taxeditor.store.cdmViewer">
970
      <viewCommandMapping
971
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
972
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
973
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
974
      </viewCommandMapping>
975
      <viewCommandMapping
976
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
977
            selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
978
            viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
979
      </viewCommandMapping>
980
      <viewCommandMapping
981
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
982
            selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
983
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
984
      </viewCommandMapping>
985
      <viewCommandMapping
986
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
987
            selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
988
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
989
      </viewCommandMapping>
990
      <viewCommandMapping
991
            commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
992
            selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
993
            viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
994
      </viewCommandMapping>
995
      <viewCommandMapping
996
            commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
997
            selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
998
            viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
999
      </viewCommandMapping>
1000
      <viewCommandMapping
1001
            commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
1002
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1003
            viewerName="Name Editor">
1004
      </viewCommandMapping>
1005
      <viewCommandMapping
1006
            commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
1007
            selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
1008
            viewerName="Bulk Editor">
1009
      </viewCommandMapping>
1010
      <viewCommandMapping
1011
            commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
1012
            selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
1013
            viewerName="Specimen Editor">
1014
      </viewCommandMapping>
1015
    </extension>
1016
   <extension
1017
         id="eu.etaxonomy.taxeditor.editor.workbench.model"
1018
         name="Editor Workbench Model"
1019
         point="org.eclipse.e4.workbench.model">
1020
      <fragment
1021
            apply="always"
1022
            uri="fragment.e4xmi">
1023
      </fragment>
1024
   </extension>
1025
</plugin>
(6-6/7)