Project

General

Profile

Download (30.1 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="%command.name.11">
447
      </command>
448
      <command
449
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
450
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
451
            name="%command.name.11">
452
      </command>
453
   </extension>
454
   <extension
455
         point="org.eclipse.ui.handlers">
456
      <handler
457
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
458
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
459
         <activeWhen>
460
            <with
461
                  variable="activePartId">
462
               <equals
463
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
464
               </equals>
465
            </with>
466
         </activeWhen>
467
      </handler>
468
      <handler
469
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
470
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
471
         <activeWhen>
472
            <with
473
                  variable="activePartId">
474
               <equals
475
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
476
               </equals>
477
            </with>
478
         </activeWhen>
479
      </handler>
480
   </extension>
481

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