Project

General

Profile

Download (44.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
               category="eu.etaxonomy.taxeditor.editor.category"
72
               class="eu.etaxonomy.taxeditor.editor.view.concept.graph.ConceptGraphView"
73
               icon="icons/address-book-new.png"
74
               id="eu.etaxonomy.taxeditor.editor.view.concept.graph"
75
               name="%view.name.3"
76
               restorable="true">
77
         </view>
78
         <category
79
               id="eu.etaxonomy.taxeditor.editor.category"
80
               name="%category.name">
81
         </category>
82
         <view
83
               allowMultiple="true"
84
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
85
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenImportView"
86
               name="%view.name.4">
87
         </view>
88
         <view
89
               allowMultiple="true"
90
               class="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
91
               id="eu.etaxonomy.taxeditor.editor.view.dataimport.GbifResponseImportView"
92
               name="%view.name.5">
93
         </view>
94
         <view
95
               allowMultiple="false"
96
               category="eu.etaxonomy.taxeditor.editor.category"
97
               class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
98
               icon="icons/edit_16x16.gif"
99
               id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
100
               name="%view.name.6">
101
         </view>
102
      </extension>
103
      
104
	<!-- VALIDATION RELATED STUFF -->
105
	<extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
106
		<super type="org.eclipse.core.resources.problemmarker"/>
107
		<attribute name="databaseId"/>
108
		<attribute name="userFriendlyTypeName"/>
109
		<attribute name="userFriendlyDescription"/>
110
		<attribute name="userFriendlyFieldName"/>
111
		<attribute name="validatorMessage"/>
112
		<attribute name="invalidValue"/>
113
		<attribute name="validatorClass"/>
114
		<attribute name="entityClass"/>
115
		<attribute name="entityId"/>
116
   		<persistent value="false"/>
117
   	</extension>
118

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