Project

General

Profile

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

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