Project

General

Profile

Download (33.4 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.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
            <visibleWhen
51
                  checkEnabled="true">
52
               <reference
53
                     definitionId="isCdmStoreConnected">
54
               </reference>
55
            </visibleWhen>
56
         </dynamic>
57
      </menuContribution>
58
      <menuContribution
59
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
60
         <command
61
               commandId="org.eclipse.ui.views.showView"
62
               label="%command.label"
63
               style="push">
64
            <parameter
65
                  name="org.eclipse.ui.views.showView.viewId"
66
                  value="eu.etaxonomy.taxeditor.navigation.navigator">
67
            </parameter>
68
            <visibleWhen
69
                  checkEnabled="true">
70
               <reference
71
                     definitionId="isCdmStoreConnected">
72
               </reference>
73
            </visibleWhen>
74
         </command>
75
         <command
76
               commandId="org.eclipse.ui.views.showView"
77
               label="%command.label.0"
78
               style="push">
79
            <parameter
80
                  name="org.eclipse.ui.views.showView.viewId"
81
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
82
            </parameter>
83
            <visibleWhen
84
                  checkEnabled="true">
85
               <reference
86
                     definitionId="isCdmStoreConnected">
87
               </reference>
88
            </visibleWhen>
89
         </command>
90
      </menuContribution>
91
      <menuContribution
92
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
93
         <command
94
               commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
95
               label="%command.label.1"
96
               style="push">
97
         </command>
98
      </menuContribution>
99
      <menuContribution
100
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
101
         <menu
102
               id="eu.etaxonomy.navigation.menu.new"
103
               label="%menu.label">
104
            <command
105
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
106
                  label="%command.label.2"
107
                  style="push">
108
               <visibleWhen
109
                     checkEnabled="true">
110
                  <with
111
                        variable="selection">
112
                     <count
113
                           value="+">
114
                     </count>
115
                  </with>
116
               </visibleWhen>
117
            </command>
118
            <separator
119
                  name="eu.etaxonomy.navigation.menu.new.separator1"
120
                  visible="true">
121
            </separator>
122
            <command
123
                  commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
124
                  id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
125
                  label="%command.label.3"
126
                  style="push">
127
            </command>
128
            <visibleWhen
129
                  checkEnabled="true">
130
               <reference
131
                     definitionId="isCdmStoreConnected">
132
               </reference>
133
            </visibleWhen>
134
         </menu>
135
         <command
136
               commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
137
               icon="icons/check.png"
138
               label="%command.label.4"
139
               style="push">
140
           <visibleWhen
141
                 checkEnabled="true">
142
              <and>
143
                 <reference
144
                       definitionId="isChecklistEditorEnabled">
145
                 </reference>
146
                 <or>
147
                    <reference
148
                          definitionId="isClassification">
149
                    </reference>
150
                    <reference
151
                          definitionId="isTaxonNode">
152
                    </reference>
153
                 </or>
154
              </and>
155
            </visibleWhen>
156
         </command>
157
         <command
158
               commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
159
               label="%command.label.fixClassificationHierarchy"
160
               style="push">
161
            <visibleWhen
162
                  checkEnabled="true">
163
               <and>
164
                  <reference
165
                        definitionId="isShowExperimentalFeatures">
166
                  </reference>
167
                  <reference
168
                        definitionId="isClassification">
169
                  </reference>
170
               </and>
171
            </visibleWhen>
172
         </command>
173
         <separator
174
               name="taxeditor-navigation.separator1"
175
               visible="true">
176
         </separator>
177
         <dynamic
178
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
179
               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
180
         </dynamic>
181
         <separator
182
               name="eu.etaxonomy.taxeditor.navigation.separator2">
183
         </separator>
184
         <command
185
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
186
               label="%command.label.6"
187
               style="push">
188
               <visibleWhen
189
                  checkEnabled="true">
190
                  <and>
191
                     <reference
192
                           definitionId="isCdmStoreConnected">
193
                     </reference>
194
                     <reference
195
                           definitionId="isTaxonNode">
196
                     </reference>
197
                  </and>
198
            </visibleWhen>
199
         </command>
200
         <command
201
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
202
               label="%command.label.7"
203
               style="push">
204
            <visibleWhen
205
                  checkEnabled="true">
206
                  <reference
207
                        definitionId="isTaxonNode">
208
                  </reference>
209
            </visibleWhen>
210
         </command>
211
         <command
212
               commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
213
               label="%command.label.moveFactualData"
214
               style="push">
215
            <visibleWhen
216
                  checkEnabled="true">
217
               <and>
218
                  <reference
219
                        definitionId="isCdmStoreConnected">
220
                  </reference>
221
                  <reference
222
                        definitionId="isTaxonNode">
223
                  </reference>
224
               </and>
225
            </visibleWhen>
226
         </command>
227
         <separator
228
               name="taxeditor-navigation.separator2"
229
               visible="true">
230
         </separator>
231
         <!--command
232
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
233
               label="New Child"
234
               style="push">
235
         </command>
236
         <command
237
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
238
               label="Quick Add Child "
239
               style="push">
240
         </command-->
241
         <command
242
               commandId="org.eclipse.ui.file.import"
243
               label="%command.label.8"
244
               style="push">
245
            <visibleWhen
246
                  checkEnabled="true">
247
               <reference
248
                     definitionId="isCdmStoreConnected">
249
               </reference>
250
            </visibleWhen>
251
         </command>
252
         <command
253
               commandId="org.eclipse.ui.file.export"
254
               label="%command.label.9"
255
               style="push">
256
            <visibleWhen
257
                  checkEnabled="true">
258
               <reference
259
                     definitionId="isCdmStoreConnected">
260
               </reference>
261
            </visibleWhen>
262
         </command>
263
         <separator
264
               name="taxeditor-navigation.separator4"
265
               visible="true">
266
         </separator>
267
         <command
268
               commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
269
               label="%command.label.10"
270
               style="push">
271
            <visibleWhen
272
                  checkEnabled="true">
273
               <and>
274
                  <reference
275
                        definitionId="isCdmStoreConnected">
276
                  </reference>
277
                  <not>
278
                     <reference
279
                           definitionId="isSynonymNode">
280
                     </reference>
281
                  </not>
282
                  <with
283
                        variable="selection">
284
                     <count
285
                           value="+">
286
                     </count>
287
                  </with>
288
               </and>
289
            </visibleWhen>
290
         </command>
291
         <separator
292
               name="taxeditor-navigation.separator5"
293
               visible="true">
294
         </separator>
295
         <command
296
               commandId="org.eclipse.ui.file.refresh"
297
               label="%command.label.11"
298
               style="push">
299
            <visibleWhen
300
                  checkEnabled="true">
301
               <reference
302
                     definitionId="isCdmStoreConnected">
303
               </reference>
304
            </visibleWhen>
305
         </command>
306
         <command
307
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
308
               label="%command.label.12"
309
               style="push">
310
            <visibleWhen
311
                  checkEnabled="true">
312
               <and>
313
                  <reference
314
                        definitionId="isCdmStoreConnected">
315
                  </reference>
316
                  <reference
317
                        definitionId="isTaxonNode">
318
                  </reference></and>
319
            </visibleWhen>
320
         </command>
321
      </menuContribution>
322
      <menuContribution
323
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
324
         <toolbar
325
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
326
            <control
327
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
328
            </control>
329
         </toolbar>
330
      </menuContribution>
331
      <menuContribution
332
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
333
         <command
334
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
335
               label="%command.label.13"
336
               style="push">
337
            <visibleWhen
338
                  checkEnabled="true">
339
               <reference
340
                     definitionId="isCdmStoreConnected">
341
               </reference>
342
            </visibleWhen>
343
         </command>
344
         <separator
345
               name="eu.etaxonomy.navigation.menu.new.separator1"
346
               visible="true">
347
         </separator>
348
         <command
349
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
350
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
351
               label="%command.label.14"
352
               style="push">
353
            <visibleWhen
354
                  checkEnabled="true">
355
               <reference
356
                     definitionId="isCdmStoreConnected">
357
               </reference>
358
            </visibleWhen>
359
         </command>
360
      </menuContribution>
361
      <menuContribution
362
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
363
         <command
364
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
365
               label="%command.label.15"
366
               style="push">
367
         </command>
368
         <command
369
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
370
               label="%command.label.16"
371
               style="push">
372
         </command>
373
         <menu
374
               label="%menu.label.0">
375
            <command
376
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
377
                  label="%command.label.17"
378
                  style="push">
379
            </command>
380
            <command
381
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
382
                  label="%command.label.18"
383
                  style="push">
384
            </command>
385
         </menu>
386
         <separator
387
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
388
               visible="true">
389
         </separator>
390
         <command
391
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
392
               label="%command.label.19"
393
               style="push">
394
         </command>
395
         
396
      </menuContribution>
397
   </extension>
398
   <extension
399
         point="org.eclipse.ui.commands">
400
      <command
401
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
402
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
403
            name="%command.name.2">
404
      </command>
405
      <command
406
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
407
            id="org.eclipse.ui.file.refresh"
408
            name="%command.name.3">
409
      </command>
410
      <command
411
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
412
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
413
            name="%command.name.4">
414
      </command>
415
      <command
416
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
417
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
418
            name="%command.name.5">
419
      </command>
420
      <command
421
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
422
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
423
            name="%command.name.0">
424
      </command>
425
      <command
426
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
427
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
428
            name="%command.name">
429
      </command>
430
      <command
431
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
432
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
433
            name="%command.name.6">
434
      </command>
435
      <command
436
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
437
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
438
            name="%command.name.7">
439
      </command>
440
      <command
441
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
442
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
443
            name="%command.name.8">
444
      </command>
445
      <command
446
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
447
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
448
            name="%command.name.9">
449
      </command>
450
      <command
451
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
452
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
453
            name="%command.name.moveFactualData">
454
      </command>
455
      <command
456
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
457
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
458
            name="%command.name.10">
459
      </command>
460
      <command
461
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
462
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
463
            name="%command.name.11">
464
      </command>
465
      <command
466
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
467
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
468
            name="%command.name.11">
469
      </command>
470
   </extension>
471
   <extension
472
         point="org.eclipse.ui.handlers">
473
      <handler
474
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
475
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
476
         <activeWhen>
477
            <with
478
                  variable="activePartId">
479
               <equals
480
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
481
               </equals>
482
            </with>
483
         </activeWhen>
484
      </handler>
485
      <handler
486
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
487
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
488
         <activeWhen>
489
            <with
490
                  variable="activePartId">
491
               <equals
492
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
493
               </equals>
494
            </with>
495
         </activeWhen>
496
      </handler>
497
      <handler
498
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
499
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
500
         <activeWhen>
501
            <reference
502
                  definitionId="isRemoting">
503
            </reference>
504
         </activeWhen>
505
      </handler>
506
      <handler
507
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
508
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
509
         <activeWhen>
510
            <reference
511
                  definitionId="isRemoting">
512
            </reference>
513
         </activeWhen>
514
      </handler>
515
      <handler
516
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
517
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
518
         <activeWhen>
519
            <reference
520
                  definitionId="isRemoting">
521
            </reference>
522
         </activeWhen>
523
      </handler>
524
      <handler
525
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
526
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
527
         <activeWhen>
528
            <reference
529
                  definitionId="isRemoting">
530
            </reference>
531
         </activeWhen>
532
      </handler>
533
      <handler
534
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
535
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
536
         <activeWhen>
537
            <reference
538
                  definitionId="isRemoting">
539
            </reference>
540
         </activeWhen>
541
      </handler>
542
      <handler
543
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
544
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
545
         <activeWhen>
546
            <reference
547
                  definitionId="isRemoting">
548
            </reference>
549
         </activeWhen>
550
      </handler>
551
      <handler
552
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
553
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
554
         <activeWhen>
555
            <reference
556
                  definitionId="isRemoting">
557
            </reference>
558
         </activeWhen>
559
      </handler>
560
   </extension>
561

    
562
      
563
      <!--extension
564
            point="org.eclipse.ui.navigator.viewer">
565
         <viewer
566
               viewerId="org.eclipse.ui.examples.navigator.view">
567
         </viewer>
568
         <viewerContentBinding
569
               viewerId="org.eclipse.ui.examples.navigator.view">
570
            <includes>
571
               <contentExtension
572
                     pattern="org.eclipse.ui.navigator.resourceContent" />
573
               <contentExtension
574
                     pattern="org.eclipse.ui.navigator.resources.filters.*" />                     
575
            </includes>
576
         </viewerContentBinding>
577
         <viewerActionBinding
578
               viewerId="org.eclipse.ui.examples.navigator.view">
579
            <includes>
580
               <actionExtension
581
                     pattern="org.eclipse.ui.navigator.resources.*">
582
               </actionExtension>
583
            </includes>
584
         </viewerActionBinding>
585
      </extension>
586
      <extension
587
            point="org.eclipse.ui.navigator.navigatorContent">
588
         <commonFilter
589
               id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
590
               name="Hide non-Java projects">
591
            <filterExpression>
592
               <not>
593
                  <adapt
594
                        type="org.eclipse.core.resources.IProject">
595
                     <test
596
                           property="org.eclipse.core.resources.projectNature"
597
                           value="org.eclipse.jdt.core.javanature">
598
                     </test>
599
                  </adapt>
600
               </not>
601
            </filterExpression>
602
         </commonFilter>
603
      </extension-->
604
      
605
      
606
      
607
      
608
      
609
      
610
   <extension
611
         point="org.eclipse.ui.views">
612
      <view
613
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
614
            icon="icons/edit_16x16.gif"
615
            id="eu.etaxonomy.taxeditor.navigation.navigator"
616
            name="%view.name.2"/>
617
   </extension>
618
   <extension
619
         point="org.eclipse.ui.navigator.navigatorContent">
620
      <navigatorContent
621
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
622
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
623
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
624
            name="%navigatorContent.name">
625
         <triggerPoints>
626
            <instanceof
627
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
628
            </instanceof>
629
         </triggerPoints>
630
         <possibleChildren>
631
            <instanceof
632
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
633
            </instanceof>
634
         </possibleChildren>
635
         <dropAssistant
636
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
637
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
638
            <possibleDropTargets></possibleDropTargets>
639
         </dropAssistant>
640
      </navigatorContent>
641
      <navigatorContent
642
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
643
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
644
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
645
            name="%navigatorContent.name.0">
646
         <triggerPoints>
647
            <or>
648
               <instanceof
649
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
650
               </instanceof>
651
               <and>
652
                  <instanceof
653
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
654
                  </instanceof>
655
                  <test
656
                     forcePluginActivation="true"
657
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
658
                  </test>
659
               </and>
660
            </or>
661
         </triggerPoints>
662
         <dropAssistant
663
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
664
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
665
            <possibleDropTargets>
666
               <or>
667
                  <instanceof
668
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
669
                  </instanceof>
670
                  <instanceof
671
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
672
                  </instanceof>
673
               </or>
674
            </possibleDropTargets>
675
         </dropAssistant>
676
         <possibleChildren>
677
            <instanceof
678
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
679
            </instanceof>
680
         </possibleChildren>
681
      </navigatorContent>
682
      <navigatorContent
683
            activeByDefault="false"
684
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
685
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
686
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
687
            name="%navigatorContent.name.1"
688
            priority="highest">
689
         <triggerPoints>
690
            <and>
691
               <instanceof
692
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
693
               </instanceof>
694
               <test
695
                     forcePluginActivation="true"
696
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
697
               </test>
698
            </and>
699
         </triggerPoints>
700
         <possibleChildren>
701
            <instanceof
702
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
703
            </instanceof>
704
         </possibleChildren>
705
      </navigatorContent>
706
   </extension>
707
   <extension
708
         point="org.eclipse.ui.navigator.viewer">
709
      <viewer
710
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
711
         <popupMenu
712
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
713
         </popupMenu>
714
      </viewer>
715
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
716
         <includes>
717
            <contentExtension
718
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
719
            </contentExtension>
720
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
721
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
722
            <contentExtension
723
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
724
            </contentExtension>
725
         </includes>
726
      </viewerContentBinding>
727
      <!--viewer
728
            popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
729
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
730
         <options>
731
            <property
732
                  name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
733
                  value="true">
734
            </property>
735
         </options>
736
      </viewer-->
737
      <dragAssistant
738
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
739
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
740
      </dragAssistant>
741
   </extension>
742
   <extension
743
         point="org.eclipse.ui.navigator.linkHelper">
744
      <linkHelper
745
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
746
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
747
          <selectionEnablement>
748
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
749
          </selectionEnablement>            
750
         <editorInputEnablement>
751
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
752
         </editorInputEnablement>
753
      </linkHelper>
754
   </extension>
755
   <extension
756
         point="org.eclipse.core.runtime.adapters">
757
      <factory
758
            adaptableType="org.eclipse.core.internal.resources.Workspace"
759
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
760
         <adapter
761
               type="org.eclipse.core.commands.operations.IUndoContext">
762
         </adapter>
763
      </factory>
764
   </extension>
765
      <extension
766
         point="org.eclipse.core.expressions.propertyTesters">
767
      <propertyTester
768
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
769
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
770
            namespace="eu.etaxonomy.taxeditor.propertytests"
771
            properties="hasSynonyms"
772
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
773
      </propertyTester>
774
      <propertyTester
775
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
776
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
777
            namespace="eu.etaxonomy.taxeditor.propertytests"
778
            properties="hasTaxa"
779
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
780
      </propertyTester>
781
      <propertyTester
782
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
783
            id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
784
            namespace="eu.etaxonomy.taxeditor.propertytests"
785
            properties="hasTaxa"
786
            type="eu.etaxonomy.cdm.model.taxon.Classification">
787
      </propertyTester>
788
   <propertyTester
789
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
790
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
791
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
792
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
793
         type="org.eclipse.jface.viewers.IStructuredSelection">
794
   </propertyTester>
795
   <propertyTester
796
         class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
797
         id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
798
         namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
799
         properties="isCdmStoreConnected,isRemoting,isStandAlone"
800
         type="java.lang.Object">
801
   </propertyTester>
802
   </extension>
803
   <extension
804
         point="org.eclipse.core.expressions.definitions">
805
      <definition
806
            id="isTaxonNode">
807
         <with
808
               variable="selection">
809
            <iterate
810
                  ifEmpty="false">
811
               <instanceof
812
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
813
               </instanceof>
814
            </iterate>
815
         </with>
816
      </definition>
817
      <definition
818
            id="isSynonymNode">
819
         <with
820
               variable="selection">
821
            <iterate
822
                  ifEmpty="false">
823
               <instanceof
824
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
825
               </instanceof>
826
            </iterate>
827
         </with>
828
      </definition>
829
      <definition
830
            id="isClassification">
831
         <with
832
               variable="selection">
833
            <iterate
834
                  ifEmpty="false">
835
               <instanceof
836
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
837
               </instanceof>
838
            </iterate>
839
         </with>
840
      </definition>
841
      <definition
842
            id="isChecklistEditorEnabled">
843
         <with
844
               variable="selection">
845
            <test
846
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
847
            </test>
848
         </with>
849
      </definition>
850
      <definition
851
            id="isCdmStoreConnected">
852
         <test
853
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
854
         </test>
855
      </definition>
856
      <definition
857
            id="isShowExperimentalFeatures">
858
         <with
859
               variable="selection">
860
            <test
861
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
862
            </test>
863
         </with>
864
      </definition>
865
      <definition
866
            id="isRemoting">
867
         <test
868
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
869
         </test>
870
      </definition>
871
      <definition
872
            id="isStandAlone">
873
         <test
874
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
875
         </test>
876
      </definition>
877
   </extension>
878
</plugin>
(5-5/6)