Project

General

Profile

Download (32.7 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
      <handler
481
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
482
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
483
         <activeWhen>
484
            <reference
485
                  definitionId="isRemoting">
486
            </reference>
487
         </activeWhen>
488
      </handler>
489
      <handler
490
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
491
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
492
         <activeWhen>
493
            <reference
494
                  definitionId="isRemoting">
495
            </reference>
496
         </activeWhen>
497
      </handler>
498
      <handler
499
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
500
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
501
         <activeWhen>
502
            <reference
503
                  definitionId="isRemoting">
504
            </reference>
505
         </activeWhen>
506
      </handler>
507
      <handler
508
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
509
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
510
         <activeWhen>
511
            <reference
512
                  definitionId="isRemoting">
513
            </reference>
514
         </activeWhen>
515
      </handler>
516
      <handler
517
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
518
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
519
         <activeWhen>
520
            <reference
521
                  definitionId="isRemoting">
522
            </reference>
523
         </activeWhen>
524
      </handler>
525
      <handler
526
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
527
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
528
         <activeWhen>
529
            <reference
530
                  definitionId="isRemoting">
531
            </reference>
532
         </activeWhen>
533
      </handler>
534
   </extension>
535

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