Project

General

Profile

Download (29.9 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.navigation.Application">
10
         </run>
11
      </application>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.views">
15
      <view
16
            allowMultiple="true"
17
            class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
18
            icon="icons/system-search.png"
19
            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
20
            name="%view.name"
21
            restorable="false">
22
      </view>
23
      <view
24
            allowMultiple="false"
25
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
26
            icon="icons/preferences-system-windows.png"
27
            id="eu.etaxonomy.taxeditor.navigation.navigator"
28
            name="%view.name.0"
29
            restorable="true">
30
      </view>
31
      <view
32
            allowMultiple="false"
33
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
34
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
35
            name="%view.name.1"
36
            restorable="true">
37
      </view>
38
   </extension>
39
   <extension
40
         point="org.eclipse.ui.menus">
41
      <menuContribution
42
            locationURI="menu:org.eclipse.ui.main.menu.file">
43
         <separator
44
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
45
               visible="true">
46
         </separator>
47
         <dynamic
48
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
49
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
50
         </dynamic>
51
      </menuContribution>
52
      <menuContribution
53
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
54
         <command
55
               commandId="org.eclipse.ui.views.showView"
56
               label="%command.label"
57
               style="push">
58
            <parameter
59
                  name="org.eclipse.ui.views.showView.viewId"
60
                  value="eu.etaxonomy.taxeditor.navigation.navigator">
61
            </parameter>
62
         </command>
63
         <command
64
               commandId="org.eclipse.ui.views.showView"
65
               label="%command.label.0"
66
               style="push">
67
            <parameter
68
                  name="org.eclipse.ui.views.showView.viewId"
69
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
70
            </parameter>
71
         </command>
72
      </menuContribution>
73
      <menuContribution
74
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
75
         <command
76
               commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
77
               label="%command.label.1"
78
               style="push">
79
         </command>
80
      </menuContribution>
81
      <menuContribution
82
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
83
         <menu
84
               id="eu.etaxonomy.navigation.menu.new"
85
               label="%menu.label">
86
            <command
87
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
88
                  label="%command.label.2"
89
                  style="push">
90
            </command>
91
            <separator
92
                  name="eu.etaxonomy.navigation.menu.new.separator1"
93
                  visible="true">
94
            </separator>
95
            <command
96
                  commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
97
                  id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
98
                  label="%command.label.3"
99
                  style="push">
100
            </command>
101
            <visibleWhen
102
                  checkEnabled="true">
103
               <reference
104
                     definitionId="isCdmStoreConnected">
105
               </reference>
106
            </visibleWhen>
107
         </menu>
108
         <command
109
               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
110
               icon="icons/check.png"
111
               label="%command.label.4"
112
               style="push">
113
           <visibleWhen
114
                 checkEnabled="true">
115
              <and>
116
                 <reference
117
                       definitionId="isChecklistEditorEnabled">
118
                 </reference>
119
                 <or>
120
                    <reference
121
                          definitionId="isClassification">
122
                    </reference>
123
                    <reference
124
                          definitionId="isTaxonNode">
125
                    </reference>
126
                 </or>
127
              </and>
128
            </visibleWhen>
129
         </command>
130
         <command
131
               commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
132
               label="%command.label.fixClassificationHierarchy"
133
               style="push">
134
            <visibleWhen
135
                  checkEnabled="true">
136
               <and>
137
                  <reference
138
                        definitionId="isShowExperimentalFeatures">
139
                  </reference>
140
                  <reference
141
                        definitionId="isClassification">
142
                  </reference>
143
               </and>
144
            </visibleWhen>
145
         </command>
146
         <separator
147
               name="taxeditor-navigation.separator1"
148
               visible="true">
149
         </separator>
150
         <command
151
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
152
               label="%command.label.5"
153
               style="push">       
154
            <visibleWhen
155
                  checkEnabled="true">
156
               <or>
157
                  <reference
158
                        definitionId="isTaxonNode">
159
                  </reference>
160
                  <reference
161
                        definitionId="isTaxonomicTree">
162
                  </reference>
163
               </or>
164
            </visibleWhen>
165
         </command>
166
         <command
167
               commandId="eu.etaxonomy.taxeditor.store.open"
168
               label="Edit"
169
               style="push">
170
            <visibleWhen
171
                  checkEnabled="true">
172
               <with
173
                     variable="selection">
174
                  <reference
175
                        definitionId="isClassification">
176
                  </reference>
177
               </with>
178
            </visibleWhen>
179
         </command>
180
         <command
181
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
182
               label="%command.label.6"
183
               style="push">
184
               <visibleWhen
185
                  checkEnabled="true">
186
                  <and>
187
                     <reference
188
                           definitionId="isCdmStoreConnected">
189
                     </reference>
190
                     <reference
191
                           definitionId="isTaxonNode">
192
                     </reference>
193
                  </and>
194
            </visibleWhen>
195
         </command>
196
         <command
197
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
198
               label="%command.label.7"
199
               style="push">
200
            <visibleWhen
201
                  checkEnabled="true">
202
                  <reference
203
                        definitionId="isTaxonNode">
204
                  </reference>
205
            </visibleWhen>
206
         </command>
207
         <command
208
               commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
209
               label="%command.label.moveFactualData"
210
               style="push">
211
            <visibleWhen
212
                  checkEnabled="true">
213
               <and>
214
                  <reference
215
                        definitionId="isCdmStoreConnected">
216
                  </reference>
217
                  <reference
218
                        definitionId="isTaxonNode">
219
                  </reference>
220
               </and>
221
            </visibleWhen>
222
         </command>
223
         <separator
224
               name="taxeditor-navigation.separator2"
225
               visible="true">
226
         </separator>
227
         <!--command
228
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
229
               label="New Child"
230
               style="push">
231
         </command>
232
         <command
233
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
234
               label="Quick Add Child "
235
               style="push">
236
         </command-->
237
         <command
238
               commandId="org.eclipse.ui.file.import"
239
               label="%command.label.8"
240
               style="push">
241
            <visibleWhen
242
                  checkEnabled="true">
243
               <reference
244
                     definitionId="isCdmStoreConnected">
245
               </reference>
246
            </visibleWhen>
247
         </command>
248
         <command
249
               commandId="org.eclipse.ui.file.export"
250
               label="%command.label.9"
251
               style="push">
252
            <visibleWhen
253
                  checkEnabled="true">
254
               <reference
255
                     definitionId="isCdmStoreConnected">
256
               </reference>
257
            </visibleWhen>
258
         </command>
259
         <separator
260
               name="taxeditor-navigation.separator4"
261
               visible="true">
262
         </separator>
263
         <command
264
               commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
265
               label="%command.label.10"
266
               style="push">
267
            <visibleWhen
268
                  checkEnabled="true">
269
               <and>
270
                  <reference
271
                        definitionId="isCdmStoreConnected">
272
                  </reference>
273
                  <not>
274
                     <reference
275
                           definitionId="isSynonymNode">
276
                     </reference>
277
                  </not>
278
               </and>
279
            </visibleWhen>
280
         </command>
281
         <separator
282
               name="taxeditor-navigation.separator5"
283
               visible="true">
284
         </separator>
285
         <command
286
               commandId="org.eclipse.ui.file.refresh"
287
               label="%command.label.11"
288
               style="push">
289
            <visibleWhen
290
                  checkEnabled="true">
291
               <reference
292
                     definitionId="isCdmStoreConnected">
293
               </reference>
294
            </visibleWhen>
295
         </command>
296
         <command
297
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
298
               label="%command.label.12"
299
               style="push">
300
            <visibleWhen
301
                  checkEnabled="true">
302
               <and>
303
                  <reference
304
                        definitionId="isCdmStoreConnected">
305
                  </reference>
306
                  <reference
307
                        definitionId="isTaxonNode">
308
                  </reference></and>
309
            </visibleWhen>
310
         </command>
311
      </menuContribution>
312
      <menuContribution
313
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
314
         <toolbar
315
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
316
            <control
317
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
318
            </control>
319
         </toolbar>
320
      </menuContribution>
321
      <menuContribution
322
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
323
         <command
324
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
325
               label="%command.label.13"
326
               style="push">
327
         </command>
328
         <separator
329
               name="eu.etaxonomy.navigation.menu.new.separator1"
330
               visible="true">
331
         </separator>
332
         <command
333
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
334
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
335
               label="%command.label.14"
336
               style="push">
337
         </command>
338
      </menuContribution>
339
      <menuContribution
340
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
341
         <command
342
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
343
               label="%command.label.15"
344
               style="push">
345
         </command>
346
         <command
347
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
348
               label="%command.label.16"
349
               style="push">
350
         </command>
351
         <menu
352
               label="%menu.label.0">
353
            <command
354
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
355
                  label="%command.label.17"
356
                  style="push">
357
            </command>
358
            <command
359
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
360
                  label="%command.label.18"
361
                  style="push">
362
            </command>
363
         </menu>
364
         <separator
365
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
366
               visible="true">
367
         </separator>
368
         <command
369
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
370
               label="%command.label.19"
371
               style="push">
372
         </command>
373
         
374
      </menuContribution>
375
   </extension>
376
   <extension
377
         point="org.eclipse.ui.commands">
378
      <command
379
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
380
            id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
381
            name="%command.name.1">
382
      </command>
383
      <command
384
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
385
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
386
            name="%command.name.2">
387
      </command>
388
      <command
389
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
390
            id="org.eclipse.ui.file.refresh"
391
            name="%command.name.3">
392
      </command>
393
      <command
394
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
395
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
396
            name="%command.name.4">
397
      </command>
398
      <command
399
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
400
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
401
            name="%command.name.5">
402
      </command>
403
      <command
404
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
405
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
406
            name="%command.name.0">
407
      </command>
408
      <command
409
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
410
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
411
            name="%command.name">
412
      </command>
413
      <command
414
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
415
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
416
            name="%command.name.6">
417
      </command>
418
      <command
419
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
420
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
421
            name="%command.name.7">
422
      </command>
423
      <command
424
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
425
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
426
            name="%command.name.8">
427
      </command>
428
      <command
429
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
430
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
431
            name="%command.name.9">
432
      </command>
433
      <command
434
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
435
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
436
            name="%command.name.moveFactualData">
437
      </command>
438
      <command
439
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
440
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
441
            name="%command.name.10">
442
      </command>
443
      <command
444
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
445
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
446
            name="delete">
447
      </command>
448
   </extension>
449
   <extension
450
         point="org.eclipse.ui.handlers">
451
      <handler
452
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
453
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
454
         <activeWhen>
455
            <with
456
                  variable="activePartId">
457
               <equals
458
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
459
               </equals>
460
            </with>
461
         </activeWhen>
462
      </handler>
463
      <handler
464
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
465
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
466
         <activeWhen>
467
            <with
468
                  variable="activePartId">
469
               <equals
470
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
471
               </equals>
472
            </with>
473
         </activeWhen>
474
      </handler>
475
   </extension>
476

    
477
      
478
      <!--extension
479
            point="org.eclipse.ui.navigator.viewer">
480
         <viewer
481
               viewerId="org.eclipse.ui.examples.navigator.view">
482
         </viewer>
483
         <viewerContentBinding
484
               viewerId="org.eclipse.ui.examples.navigator.view">
485
            <includes>
486
               <contentExtension
487
                     pattern="org.eclipse.ui.navigator.resourceContent" />
488
               <contentExtension
489
                     pattern="org.eclipse.ui.navigator.resources.filters.*" />                     
490
            </includes>
491
         </viewerContentBinding>
492
         <viewerActionBinding
493
               viewerId="org.eclipse.ui.examples.navigator.view">
494
            <includes>
495
               <actionExtension
496
                     pattern="org.eclipse.ui.navigator.resources.*">
497
               </actionExtension>
498
            </includes>
499
         </viewerActionBinding>
500
      </extension>
501
      <extension
502
            point="org.eclipse.ui.navigator.navigatorContent">
503
         <commonFilter
504
               id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
505
               name="Hide non-Java projects">
506
            <filterExpression>
507
               <not>
508
                  <adapt
509
                        type="org.eclipse.core.resources.IProject">
510
                     <test
511
                           property="org.eclipse.core.resources.projectNature"
512
                           value="org.eclipse.jdt.core.javanature">
513
                     </test>
514
                  </adapt>
515
               </not>
516
            </filterExpression>
517
         </commonFilter>
518
      </extension-->
519
      
520
      
521
      
522
      
523
      
524
      
525
   <extension
526
         point="org.eclipse.ui.views">
527
      <view
528
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
529
            icon="icons/edit_16x16.gif"
530
            id="eu.etaxonomy.taxeditor.navigation.navigator"
531
            name="%view.name.2"/>
532
   </extension>
533
   <extension
534
         point="org.eclipse.ui.navigator.navigatorContent">
535
      <navigatorContent
536
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
537
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
538
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
539
            name="%navigatorContent.name">
540
         <triggerPoints>
541
            <instanceof
542
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
543
            </instanceof>
544
         </triggerPoints>
545
         <possibleChildren>
546
            <instanceof
547
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
548
            </instanceof>
549
         </possibleChildren>
550
         <dropAssistant
551
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
552
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
553
            <possibleDropTargets></possibleDropTargets>
554
         </dropAssistant>
555
      </navigatorContent>
556
      <navigatorContent
557
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
558
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
559
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
560
            name="%navigatorContent.name.0">
561
         <triggerPoints>
562
            <or>
563
               <instanceof
564
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
565
               </instanceof>
566
               <and>
567
                  <instanceof
568
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
569
                  </instanceof>
570
                  <test
571
                     forcePluginActivation="true"
572
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
573
                  </test>
574
               </and>
575
            </or>
576
         </triggerPoints>
577
         <dropAssistant
578
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
579
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
580
            <possibleDropTargets>
581
               <or>
582
                  <instanceof
583
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
584
                  </instanceof>
585
                  <instanceof
586
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
587
                  </instanceof>
588
               </or>
589
            </possibleDropTargets>
590
         </dropAssistant>
591
         <possibleChildren>
592
            <instanceof
593
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
594
            </instanceof>
595
         </possibleChildren>
596
      </navigatorContent>
597
      <navigatorContent
598
            activeByDefault="false"
599
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
600
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
601
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
602
            name="%navigatorContent.name.1"
603
            priority="highest">
604
         <triggerPoints>
605
            <and>
606
               <instanceof
607
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
608
               </instanceof>
609
               <test
610
                     forcePluginActivation="true"
611
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
612
               </test>
613
            </and>
614
         </triggerPoints>
615
         <possibleChildren>
616
            <instanceof
617
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
618
            </instanceof>
619
         </possibleChildren>
620
      </navigatorContent>
621
   </extension>
622
   <extension
623
         point="org.eclipse.ui.navigator.viewer">
624
      <viewer
625
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
626
         <popupMenu
627
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
628
         </popupMenu>
629
      </viewer>
630
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
631
         <includes>
632
            <contentExtension
633
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
634
            </contentExtension>
635
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
636
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
637
            <contentExtension
638
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
639
            </contentExtension>
640
         </includes>
641
      </viewerContentBinding>
642
      <!--viewer
643
            popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
644
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
645
         <options>
646
            <property
647
                  name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
648
                  value="true">
649
            </property>
650
         </options>
651
      </viewer-->
652
      <dragAssistant
653
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
654
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
655
      </dragAssistant>
656
   </extension>
657
   <extension
658
         point="org.eclipse.ui.navigator.linkHelper">
659
      <linkHelper
660
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
661
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
662
          <selectionEnablement>
663
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
664
          </selectionEnablement>            
665
         <editorInputEnablement>
666
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
667
         </editorInputEnablement>
668
      </linkHelper>
669
   </extension>
670
   <extension
671
         point="org.eclipse.core.runtime.adapters">
672
      <factory
673
            adaptableType="org.eclipse.core.internal.resources.Workspace"
674
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
675
         <adapter
676
               type="org.eclipse.core.commands.operations.IUndoContext">
677
         </adapter>
678
      </factory>
679
   </extension>
680
      <extension
681
         point="org.eclipse.core.expressions.propertyTesters">
682
      <propertyTester
683
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
684
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
685
            namespace="eu.etaxonomy.taxeditor.propertytests"
686
            properties="hasSynonyms"
687
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
688
      </propertyTester>
689
      <propertyTester
690
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
691
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
692
            namespace="eu.etaxonomy.taxeditor.propertytests"
693
            properties="hasTaxa"
694
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
695
      </propertyTester>
696
      <propertyTester
697
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
698
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
699
            namespace="eu.etaxonomy.taxeditor.propertytests"
700
            properties="hasTaxa"
701
            type="eu.etaxonomy.cdm.model.taxon.Classification">
702
      </propertyTester>
703
   <propertyTester
704
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
705
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
706
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
707
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
708
         type="org.eclipse.jface.viewers.IStructuredSelection">
709
   </propertyTester>
710
   <propertyTester
711
         class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
712
         id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
713
         namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
714
         properties="isCdmStoreConnected"
715
         type="java.lang.Object">
716
   </propertyTester>
717
   </extension>
718
   <extension
719
         point="org.eclipse.core.expressions.definitions">
720
      <definition
721
            id="isTaxonNode">
722
         <with
723
               variable="selection">
724
            <iterate
725
                  ifEmpty="false">
726
               <instanceof
727
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
728
               </instanceof>
729
            </iterate>
730
         </with>
731
      </definition>
732
      <definition
733
            id="isSynonymNode">
734
         <with
735
               variable="selection">
736
            <iterate
737
                  ifEmpty="false">
738
               <instanceof
739
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
740
               </instanceof>
741
            </iterate>
742
         </with>
743
      </definition>
744
      <definition
745
            id="isClassification">
746
         <with
747
               variable="selection">
748
            <iterate
749
                  ifEmpty="false">
750
               <instanceof
751
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
752
               </instanceof>
753
            </iterate>
754
         </with>
755
      </definition>
756
      <definition
757
            id="isChecklistEditorEnabled">
758
         <with
759
               variable="selection">
760
            <test
761
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
762
            </test>
763
         </with>
764
      </definition>
765
      <definition
766
            id="isCdmStoreConnected">
767
         <test
768
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
769
         </test>
770
      </definition>
771
      <definition
772
            id="isShowExperimentalFeatures">
773
         <with
774
               variable="selection">
775
            <test
776
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
777
            </test>
778
         </with>
779
      </definition>
780
   </extension>
781
   <extension
782
         point="eu.etaxonomy.taxeditor.store.cdmViewer">
783
      <cdmViewer
784
            class="eu.etaxonomy.taxeditor.navigation.NavigationCdmViewer">
785
      </cdmViewer>
786
   </extension>
787
</plugin>
(5-5/6)