Project

General

Profile

Download (34.6 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         id="application"
6
         point="org.eclipse.core.runtime.applications">
7
      <application>
8
         <run
9
               class="eu.etaxonomy.taxeditor.navigation.Application">
10
         </run>
11
      </application>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.views">
15
      <view
16
            allowMultiple="true"
17
            class="eu.etaxonomy.taxeditor.navigation.search.SearchResultView"
18
            icon="icons/system-search.png"
19
            id="eu.etaxonomy.taxeditor.navigation.search.searchResultView"
20
            name="%view.name"
21
            restorable="false">
22
      </view>
23
      <view
24
            allowMultiple="false"
25
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
26
            icon="icons/preferences-system-windows.png"
27
            id="eu.etaxonomy.taxeditor.navigation.navigator"
28
            name="%view.name.0"
29
            restorable="true">
30
      </view>
31
      <view
32
            allowMultiple="false"
33
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart"
34
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
35
            name="%view.name.1"
36
            restorable="true">
37
      </view>
38
   </extension>
39
   <extension
40
         point="org.eclipse.ui.menus">
41
      <menuContribution
42
            locationURI="menu:org.eclipse.ui.main.menu.file">
43
         <separator
44
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
45
               visible="true">
46
         </separator>
47
         <dynamic
48
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
49
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
50
            <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
         <command
154
               commandId="eu.etaxonomy.taxeditor.navigation.cloneClassification"
155
               label="Clone Classification"
156
               style="push">
157
            <visibleWhen
158
                  checkEnabled="true">
159
               <and>
160
                  <reference
161
                        definitionId="isShowExperimentalFeatures">
162
                  </reference>
163
                  <reference
164
                        definitionId="isClassification">
165
                  </reference>
166
               </and>
167
            </visibleWhen>
168
         </command>
169
         <separator
170
               name="taxeditor-navigation.separator1"
171
               visible="true">
172
         </separator>
173
         <dynamic
174
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
175
               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
176
         </dynamic>
177
         <separator
178
               name="eu.etaxonomy.taxeditor.navigation.separator2">
179
         </separator>
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
                  <with
279
                        variable="selection">
280
                     <count
281
                           value="+">
282
                     </count>
283
                  </with>
284
               </and>
285
            </visibleWhen>
286
         </command>
287
         <separator
288
               name="taxeditor-navigation.separator5"
289
               visible="true">
290
         </separator>
291
         <command
292
               commandId="org.eclipse.ui.file.refresh"
293
               label="%command.label.11"
294
               style="push">
295
            <visibleWhen
296
                  checkEnabled="true">
297
               <reference
298
                     definitionId="isCdmStoreConnected">
299
               </reference>
300
            </visibleWhen>
301
         </command>
302
         <command
303
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
304
               label="%command.label.12"
305
               style="push">
306
            <visibleWhen
307
                  checkEnabled="true">
308
               <and>
309
                  <reference
310
                        definitionId="isCdmStoreConnected">
311
                  </reference>
312
                  <reference
313
                        definitionId="isTaxonNode">
314
                  </reference></and>
315
            </visibleWhen>
316
         </command>
317
      </menuContribution>
318
      <menuContribution
319
            locationURI="toolbar:org.eclipse.ui.main.toolbar">
320
         <toolbar
321
               id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
322
            <control
323
                  class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
324
            </control>
325
         </toolbar>
326
      </menuContribution>
327
      <menuContribution
328
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
329
         <command
330
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
331
               label="%command.label.13"
332
               style="push">
333
            <visibleWhen
334
                  checkEnabled="true">
335
               <reference
336
                     definitionId="isCdmStoreConnected">
337
               </reference>
338
            </visibleWhen>
339
         </command>
340
         <separator
341
               name="eu.etaxonomy.navigation.menu.new.separator1"
342
               visible="true">
343
         </separator>
344
         <command
345
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
346
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
347
               label="%command.label.14"
348
               style="push">
349
            <visibleWhen
350
                  checkEnabled="true">
351
               <reference
352
                     definitionId="isCdmStoreConnected">
353
               </reference>
354
            </visibleWhen>
355
         </command>
356
      </menuContribution>
357
      <menuContribution
358
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
359
         <command
360
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
361
               label="%command.label.15"
362
               style="push">
363
         </command>
364
         <dynamic
365
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
366
               id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu">
367
         </dynamic>
368
         <command
369
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
370
               label="%command.label.16"
371
               style="push">
372
         </command>
373
         <menu
374
               label="%menu.label.0">
375
            <command
376
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
377
                  label="%command.label.17"
378
                  style="push">
379
            </command>
380
            <command
381
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
382
                  label="%command.label.18"
383
                  style="push">
384
            </command>
385
         </menu>
386
         <separator
387
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
388
               visible="true">
389
         </separator>
390
         <command
391
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
392
               label="%command.label.19"
393
               style="push">
394
         </command>
395
         
396
      </menuContribution>
397
   </extension>
398
   <extension
399
         point="org.eclipse.ui.commands">
400
      <command
401
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
402
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
403
            name="%command.name.2">
404
      </command>
405
      <command
406
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
407
            id="org.eclipse.ui.file.refresh"
408
            name="%command.name.3">
409
      </command>
410
      <command
411
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
412
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
413
            name="%command.name.4">
414
      </command>
415
      <command
416
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
417
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
418
            name="%command.name.5">
419
      </command>
420
      <command
421
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
422
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
423
            name="%command.name.0">
424
      </command>
425
      <command
426
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
427
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
428
            name="%command.name">
429
      </command>
430
      <command
431
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
432
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
433
            name="%command.name.6">
434
      </command>
435
      <command
436
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
437
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
438
            name="%command.name.7">
439
      </command>
440
      <command
441
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
442
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
443
            name="%command.name.8">
444
      </command>
445
      <command
446
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
447
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
448
            name="%command.name.9">
449
      </command>
450
      <command
451
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
452
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
453
            name="%command.name.moveFactualData">
454
      </command>
455
      <command
456
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
457
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
458
            name="%command.name.10">
459
      </command>
460
      <command
461
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
462
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
463
            name="%command.name.11">
464
      </command>
465
      <command
466
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
467
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
468
            name="%command.name.11">
469
      </command>
470
      <command
471
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
472
            id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
473
            name="Clone Classification">
474
      </command>
475
   </extension>
476
   <extension
477
         point="org.eclipse.ui.handlers">
478
      <handler
479
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
480
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
481
         <activeWhen>
482
            <with
483
                  variable="activePartId">
484
               <equals
485
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
486
               </equals>
487
            </with>
488
         </activeWhen>
489
      </handler>
490
      <handler
491
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
492
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
493
         <activeWhen>
494
            <with
495
                  variable="activePartId">
496
               <equals
497
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
498
               </equals>
499
            </with>
500
         </activeWhen>
501
      </handler>
502
      <handler
503
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
504
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
505
         <activeWhen>
506
            <reference
507
                  definitionId="isRemoting">
508
            </reference>
509
         </activeWhen>
510
      </handler>
511
      <handler
512
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
513
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
514
         <activeWhen>
515
            <reference
516
                  definitionId="isRemoting">
517
            </reference>
518
         </activeWhen>
519
      </handler>
520
      <handler
521
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
522
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
523
         <activeWhen>
524
            <reference
525
                  definitionId="isRemoting">
526
            </reference>
527
         </activeWhen>
528
      </handler>
529
      <handler
530
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
531
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
532
         <activeWhen>
533
            <reference
534
                  definitionId="isRemoting">
535
            </reference>
536
         </activeWhen>
537
      </handler>
538
      <handler
539
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
540
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
541
         <activeWhen>
542
            <reference
543
                  definitionId="isRemoting">
544
            </reference>
545
         </activeWhen>
546
      </handler>
547
      <handler
548
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
549
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
550
         <activeWhen>
551
            <reference
552
                  definitionId="isRemoting">
553
            </reference>
554
         </activeWhen>
555
      </handler>
556
      <handler
557
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
558
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
559
         <activeWhen>
560
            <reference
561
                  definitionId="isRemoting">
562
            </reference>
563
         </activeWhen>
564
      </handler>
565
      <handler
566
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
567
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
568
         <activeWhen>
569
            <with
570
                  variable="activePartId">
571
               <equals
572
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
573
               </equals>
574
            </with>
575
         </activeWhen>
576
      </handler>
577
      <handler
578
            class="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonBaseHandler"
579
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon">
580
         <activeWhen>
581
            <and>
582
               <not>
583
                  <reference
584
                        definitionId="isOrphanedTaxon">
585
                  </reference>
586
               </not>
587
            </and>
588
         </activeWhen>
589
      </handler>
590
   </extension>
591

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