Project

General

Profile

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

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