Project

General

Profile

Download (33.2 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.key.polytomous.PolytomousKeyViewPart"
26
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart"
27
            name="%view.name.1"
28
            restorable="true">
29
      </view>
30
   </extension>
31
   <extension
32
         point="org.eclipse.ui.menus">
33
      <menuContribution
34
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file">
35
         <separator
36
               name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
37
               visible="true">
38
         </separator>
39
         <dynamic
40
               class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
41
               id="eu.etaxonomy.taxeditor.navigation.recentnames">
42
            <visibleWhen
43
                  checkEnabled="true">
44
               <reference
45
                     definitionId="isCdmStoreConnected">
46
               </reference>
47
            </visibleWhen>
48
         </dynamic>
49
      </menuContribution>
50
      <menuContribution
51
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
52
         <command
53
               commandId="org.eclipse.ui.views.showView"
54
               label="%command.label.0"
55
               style="push">
56
            <parameter
57
                  name="org.eclipse.ui.views.showView.viewId"
58
                  value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
59
            </parameter>
60
            <visibleWhen
61
                  checkEnabled="true">
62
               <reference
63
                     definitionId="isCdmStoreConnected">
64
               </reference>
65
            </visibleWhen>
66
         </command>
67
      </menuContribution>
68
      <menuContribution
69
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
70
         <dynamic
71
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
72
               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
73
         </dynamic>
74
         <separator
75
               name="eu.etaxonomy.taxeditor.navigation.separator2">
76
         </separator>
77
      </menuContribution>
78
      <menuContribution
79
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
80
         <menu
81
               id="eu.etaxonomy.navigation.menu.new"
82
               label="%menu.label">
83
            <command
84
                  commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
85
                  label="%command.label.2"
86
                  style="push">
87
               <visibleWhen
88
                     checkEnabled="true">
89
                  <with
90
                        variable="selection">
91
                     <count
92
                           value="+">
93
                     </count>
94
                  </with>
95
               </visibleWhen>
96
            </command>
97
            <separator
98
                  name="eu.etaxonomy.navigation.menu.new.separator1"
99
                  visible="true">
100
            </separator>
101
            <command
102
                  commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
103
                  id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
104
                  label="%command.label.3"
105
                  style="push">
106
            </command>
107
            <visibleWhen
108
                  checkEnabled="true">
109
               <reference
110
                     definitionId="isCdmStoreConnected">
111
               </reference>
112
            </visibleWhen>
113
         </menu>
114
         <command
115
               commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
116
               label="%command.label.fixClassificationHierarchy"
117
               style="push">
118
            <visibleWhen
119
                  checkEnabled="true">
120
               <and>
121
                  <reference
122
                        definitionId="isShowExperimentalFeatures">
123
                  </reference>
124
                  <test
125
                        property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
126
                  </test>
127
               </and>
128
            </visibleWhen>
129
         </command>
130
         <command
131
               commandId="eu.etaxonomy.taxeditor.navigation.cloneClassification"
132
               label="Clone Classification"
133
               style="push">
134
            <visibleWhen
135
                  checkEnabled="true">
136
               <and>
137
                  <reference
138
                        definitionId="isShowExperimentalFeatures">
139
                  </reference>
140
                  <test
141
                        property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
142
                  </test>
143
               </and>
144
            </visibleWhen>
145
         </command>
146
         <separator
147
               name="taxeditor-navigation.separator1"
148
               visible="true">
149
         </separator>
150
         <command
151
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
152
               label="%command.label.6"
153
               style="push">
154
               <visibleWhen
155
                  checkEnabled="true">
156
                  <and>
157
                     <reference
158
                           definitionId="isCdmStoreConnected">
159
                     </reference>
160
                     <reference
161
                           definitionId="isTaxonNode">
162
                     </reference>
163
                     <not>
164
                     <test
165
                           property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
166
                     </test>
167
                     </not>
168
                  </and>
169
            </visibleWhen>
170
         </command>
171
          <command
172
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
173
               label="%command.label.setSecForSubtree"
174
               style="push">
175
               <visibleWhen
176
                  checkEnabled="true">
177
                  <and>
178
                     <reference
179
                           definitionId="isCdmStoreConnected">
180
                     </reference>
181
                  </and>
182
            </visibleWhen>
183
         </command>
184
         <command
185
               commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
186
               label="%command.label.7"
187
               style="push">
188
            <visibleWhen
189
                  checkEnabled="true">
190
                  <and>
191
	                  <reference
192
	                        definitionId="isTaxonNode">
193
	                  </reference>
194
	                  <not>
195
	                     <test
196
	                           property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
197
	                     </test>
198
	                  </not>
199
                  </and>
200
            </visibleWhen>
201
         </command>
202
         <command
203
               commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
204
               label="%command.label.moveFactualData"
205
               style="push">
206
            <visibleWhen
207
                  checkEnabled="true">
208
               <and>
209
                  <reference
210
                        definitionId="isCdmStoreConnected">
211
                  </reference>
212
                  <reference
213
                        definitionId="isTaxonNode">
214
                  </reference>
215
                  <not>
216
                     <test
217
                           property="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester.isClassification">
218
                     </test>
219
                  </not>
220
                     
221
               </and>
222
            </visibleWhen>
223
         </command>
224
         <separator
225
               name="taxeditor-navigation.separator2"
226
               visible="true">
227
         </separator>
228
         <command
229
               commandId="org.eclipse.ui.file.import"
230
               label="%command.label.8"
231
               style="push">
232
            <visibleWhen
233
                  checkEnabled="true">
234
               <reference
235
                     definitionId="isCdmStoreConnected">
236
               </reference>
237
            </visibleWhen>
238
         </command>
239
         <command
240
               commandId="org.eclipse.ui.file.export"
241
               label="%command.label.9"
242
               style="push">
243
            <visibleWhen
244
                  checkEnabled="true">
245
               <reference
246
                     definitionId="isCdmStoreConnected">
247
               </reference>
248
            </visibleWhen>
249
         </command>
250
         <separator
251
               name="taxeditor-navigation.separator4"
252
               visible="true">
253
         </separator>
254
         <command
255
               commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
256
               label="%command.label.10"
257
               style="push">
258
            <visibleWhen
259
                  checkEnabled="true">
260
               <and>
261
                  <reference
262
                        definitionId="isCdmStoreConnected">
263
                  </reference>
264
                  <not>
265
                     <reference
266
                           definitionId="isSynonymNode">
267
                     </reference>
268
                  </not>
269
                  <with
270
                        variable="selection">
271
                     <count
272
                           value="+">
273
                     </count>
274
                  </with>
275
               </and>
276
            </visibleWhen>
277
         </command>
278
         <separator
279
               name="taxeditor-navigation.separator5"
280
               visible="true">
281
         </separator>
282
         <command
283
               commandId="org.eclipse.ui.file.refresh"
284
               label="%command.label.11"
285
               style="push">
286
            <visibleWhen
287
                  checkEnabled="true">
288
               <reference
289
                     definitionId="isCdmStoreConnected">
290
               </reference>
291
            </visibleWhen>
292
         </command>
293
         <command
294
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
295
               label="%command.label.12"
296
               style="push">
297
            <visibleWhen
298
                  checkEnabled="true">
299
               <and>
300
                  <reference
301
                        definitionId="isCdmStoreConnected">
302
                  </reference>
303
                  <reference
304
                        definitionId="isTaxonNode">
305
                  </reference></and>
306
            </visibleWhen>
307
         </command>
308
         <separator
309
               name="eu.etaxonomy.taxeditor.navigation.separator2"
310
               visible="true">
311
         </separator>
312
         <dynamic
313
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
314
               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
315
         </dynamic>
316
         <!--command
317
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
318
               label="New Child"
319
               style="push">
320
         </command>
321
         <command
322
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
323
               label="Quick Add Child "
324
               style="push">
325
         </command-->
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.SetSecReferenceForSubtreeHandler"
422
            id="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
423
            name="%command.name.setSecForSubtree">
424
      </command>
425
      <command
426
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
427
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
428
            name="%command.name.0">
429
      </command>
430
      <command
431
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
432
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
433
            name="%command.name">
434
      </command>
435
      <command
436
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
437
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
438
            name="%command.name.6">
439
      </command>
440
      <command
441
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
442
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
443
            name="%command.name.7">
444
      </command>
445
      <command
446
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
447
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
448
            name="%command.name.8">
449
      </command>
450
      <command
451
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
452
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
453
            name="%command.name.9">
454
      </command>
455
      <command
456
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
457
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
458
            name="%command.name.moveFactualData">
459
      </command>
460
      <command
461
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
462
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
463
            name="%command.name.10">
464
      </command>
465
      <command
466
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
467
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
468
            name="%command.name.11">
469
      </command>
470
      <command
471
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
472
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
473
            name="%command.name.11">
474
      </command>
475
      <command
476
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
477
            id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
478
            name="Clone Classification">
479
      </command>
480
   </extension>
481
   <extension
482
         point="org.eclipse.ui.handlers">
483
      <handler
484
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
485
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
486
         <activeWhen>
487
            <with
488
                  variable="activePartId">
489
               <equals
490
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
491
               </equals>
492
            </with>
493
         </activeWhen>
494
      </handler>
495
      <handler
496
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
497
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
498
         <activeWhen>
499
            <with
500
                  variable="activePartId">
501
               <equals
502
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
503
               </equals>
504
            </with>
505
         </activeWhen>
506
      </handler>
507
      <handler
508
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
509
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
510
         <activeWhen>
511
            <reference
512
                  definitionId="isRemoting">
513
            </reference>
514
         </activeWhen>
515
      </handler>
516
       <handler
517
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
518
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree">
519
         <activeWhen>
520
            <reference
521
                  definitionId="isRemoting">
522
            </reference>
523
         </activeWhen>
524
      </handler>
525
      <handler
526
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
527
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
528
         <activeWhen>
529
            <reference
530
                  definitionId="isRemoting">
531
            </reference>
532
         </activeWhen>
533
      </handler>
534
      <handler
535
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
536
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
537
         <activeWhen>
538
            <reference
539
                  definitionId="isRemoting">
540
            </reference>
541
         </activeWhen>
542
      </handler>
543
      <handler
544
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
545
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
546
         <activeWhen>
547
            <reference
548
                  definitionId="isRemoting">
549
            </reference>
550
         </activeWhen>
551
      </handler>
552
      <handler
553
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
554
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
555
         <activeWhen>
556
            <reference
557
                  definitionId="isRemoting">
558
            </reference>
559
         </activeWhen>
560
      </handler>
561
      <handler
562
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
563
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
564
         <activeWhen>
565
            <reference
566
                  definitionId="isRemoting">
567
            </reference>
568
         </activeWhen>
569
      </handler>
570
      <handler
571
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
572
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
573
         <activeWhen>
574
            <reference
575
                  definitionId="isRemoting">
576
            </reference>
577
         </activeWhen>
578
      </handler>
579
      <handler
580
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
581
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
582
         <activeWhen>
583
            <with
584
                  variable="activePartId">
585
               <equals
586
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
587
               </equals>
588
            </with>
589
         </activeWhen>
590
      </handler>
591
      <handler
592
            class="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonBaseHandler"
593
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon">
594
         <activeWhen>
595
            <and>
596
               <not>
597
                  <reference
598
                        definitionId="isOrphanedTaxon">
599
                  </reference>
600
               </not>
601
            </and>
602
         </activeWhen>
603
      </handler>
604
   </extension>  
605
   <extension
606
         point="org.eclipse.ui.navigator.navigatorContent">
607
      <navigatorContent
608
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
609
            id="eu.etaxonomy.taxeditor.navigation.classificationContent"
610
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
611
            name="%navigatorContent.name">
612
         <triggerPoints>
613
            <instanceof
614
                  value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
615
            </instanceof>
616
         </triggerPoints>
617
         <possibleChildren>
618
            <instanceof
619
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
620
            </instanceof>
621
         </possibleChildren>
622
         <dropAssistant
623
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
624
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
625
            <possibleDropTargets></possibleDropTargets>
626
         </dropAssistant>
627
      </navigatorContent>
628
      <navigatorContent
629
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
630
            id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
631
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
632
            name="%navigatorContent.name.0">
633
         <triggerPoints>
634
             <or>
635
               <instanceof
636
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
637
               </instanceof>
638
               <and>
639
                  <instanceof
640
                     value="eu.etaxonomy.cdm.model.taxon.Classification">
641
                  </instanceof>
642
                  <test
643
                     forcePluginActivation="true"
644
                     property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
645
                  </test>
646
               </and>
647
            </or>
648
         </triggerPoints>
649
         <dropAssistant
650
               class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
651
               id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
652
            <possibleDropTargets>
653
               <or>
654
                  <instanceof
655
                        value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
656
                  </instanceof>
657
                  <instanceof
658
                        value="eu.etaxonomy.cdm.model.taxon.Classification">
659
                  </instanceof>
660
               </or>
661
            </possibleDropTargets>
662
         </dropAssistant>
663
         <possibleChildren>
664
            <instanceof
665
                  value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
666
            </instanceof>
667
         </possibleChildren>
668
      </navigatorContent>
669
      <navigatorContent
670
            activeByDefault="false"
671
            contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
672
            id="eu.etaxonomy.taxeditor.navigation.synonymContent"
673
            labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
674
            name="%navigatorContent.name.1"
675
            priority="highest">
676
         <triggerPoints>
677
            <and>
678
               <instanceof
679
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
680
               </instanceof>
681
               <test
682
                     forcePluginActivation="true"
683
                     property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
684
               </test>
685
            </and>
686
         </triggerPoints>
687
         <possibleChildren>
688
            <instanceof
689
                  value="eu.etaxonomy.cdm.model.taxon.Synonym">
690
            </instanceof>
691
         </possibleChildren>
692
      </navigatorContent>
693
   </extension>
694
   <extension
695
         point="org.eclipse.ui.navigator.viewer">
696
      <viewer
697
            viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
698
         <popupMenu
699
               id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
700
         </popupMenu>
701
      </viewer>
702
      <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
703
         <includes>
704
            <contentExtension
705
                  pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
706
            </contentExtension>
707
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
708
            <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
709
            <contentExtension
710
                  pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
711
            </contentExtension>
712
         </includes>
713
      </viewerContentBinding>
714
      <dragAssistant
715
               class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
716
               viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
717
      </dragAssistant>
718
   </extension>
719
   <extension
720
         point="org.eclipse.ui.navigator.linkHelper">
721
      <linkHelper
722
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
723
            id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
724
          <selectionEnablement>
725
             <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
726
          </selectionEnablement>            
727
         <editorInputEnablement>
728
         	<instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
729
         </editorInputEnablement>
730
      </linkHelper>
731
   </extension>
732
   <extension
733
         point="org.eclipse.core.runtime.adapters">
734
      <factory
735
            adaptableType="org.eclipse.core.internal.resources.Workspace"
736
            class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
737
         <adapter
738
               type="org.eclipse.core.commands.operations.IUndoContext">
739
         </adapter>
740
      </factory>
741
   </extension>
742
      <extension
743
         point="org.eclipse.core.expressions.propertyTesters">
744
      <propertyTester
745
            class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
746
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
747
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
748
            properties="hasSynonyms, isClassification"
749
            type="java.lang.Object">
750
      </propertyTester>
751
      
752
     <propertyTester
753
             class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
754
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
755
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
756
            properties="hasTaxa"
757
            type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
758
      </propertyTester>
759
      <propertyTester
760
             class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
761
            id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
762
            namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
763
            properties="hasTaxa"
764
            type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
765
      </propertyTester>
766
   <propertyTester
767
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
768
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
769
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
770
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
771
         type="org.eclipse.jface.viewers.IStructuredSelection">
772
   </propertyTester>
773
   <propertyTester
774
         class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
775
         id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
776
         namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
777
         properties="isCdmStoreConnected,isRemoting,isStandAlone"
778
         type="java.lang.Object">
779
   </propertyTester>
780
   </extension>
781
   <extension
782
         point="org.eclipse.core.expressions.definitions">
783
      <definition
784
            id="isTaxonNode">
785
         <with
786
               variable="selection">
787
            <iterate
788
                  ifEmpty="false">
789
               <instanceof
790
                     value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
791
               </instanceof>
792
            </iterate>
793
         </with>
794
      </definition>
795
      <definition
796
            id="isSynonymNode">
797
         <with
798
               variable="selection">
799
            <iterate
800
                  ifEmpty="false">
801
               <instanceof
802
                     value="eu.etaxonomy.cdm.model.taxon.Synonym">
803
               </instanceof>
804
            </iterate>
805
         </with>
806
      </definition>
807
     
808
      <definition
809
            id="isChecklistEditorEnabled">
810
         <with
811
               variable="selection">
812
            <test
813
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
814
            </test>
815
         </with>
816
      </definition>
817
      <definition
818
            id="isCdmStoreConnected">
819
         <test
820
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
821
         </test>
822
      </definition>
823
      <definition
824
            id="isShowExperimentalFeatures">
825
         <with
826
               variable="selection">
827
            <test
828
                  property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
829
            </test>
830
         </with>
831
      </definition>
832
      <definition
833
            id="isRemoting">
834
         <test
835
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
836
         </test>
837
      </definition>
838
      <definition
839
            id="isStandAlone">
840
         <test
841
               property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
842
         </test>
843
      </definition>
844
   </extension>
845
   <extension
846
         id="eu.etaxonomy.taxeditor.navigation.workbench.model"
847
         name="Navigation Workbench Model"
848
         point="org.eclipse.e4.workbench.model">
849
      <fragment
850
            apply="always"
851
            uri="fragment.e4xmi">
852
      </fragment>
853
   </extension>
854
</plugin>
(6-6/7)