Project

General

Profile

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

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