Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.navigation / plugin.xml @ bb1d1762

History | View | Annotate | Download (35.7 KB)

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:eu.etaxonomy.taxeditor.workbench.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
         <command
174
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
175
               label="%command.label.6"
176
               style="push">
177
               <visibleWhen
178
                  checkEnabled="true">
179
                  <and>
180
                     <reference
181
                           definitionId="isCdmStoreConnected">
182
                     </reference>
183
                     <reference
184
                           definitionId="isTaxonNode">
185
                     </reference>
186
                  </and>
187
            </visibleWhen>
188
         </command>
189
          <command
190
               commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
191
               label="%command.label.setSecForSubtree"
192
               style="push">
193
               <visibleWhen
194
                  checkEnabled="true">
195
                  <and>
196
                     <reference
197
                           definitionId="isCdmStoreConnected">
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="org.eclipse.ui.file.import"
235
               label="%command.label.8"
236
               style="push">
237
            <visibleWhen
238
                  checkEnabled="true">
239
               <reference
240
                     definitionId="isCdmStoreConnected">
241
               </reference>
242
            </visibleWhen>
243
         </command>
244
         <command
245
               commandId="org.eclipse.ui.file.export"
246
               label="%command.label.9"
247
               style="push">
248
            <visibleWhen
249
                  checkEnabled="true">
250
               <reference
251
                     definitionId="isCdmStoreConnected">
252
               </reference>
253
            </visibleWhen>
254
         </command>
255
         <separator
256
               name="taxeditor-navigation.separator4"
257
               visible="true">
258
         </separator>
259
         <command
260
               commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
261
               label="%command.label.10"
262
               style="push">
263
            <visibleWhen
264
                  checkEnabled="true">
265
               <and>
266
                  <reference
267
                        definitionId="isCdmStoreConnected">
268
                  </reference>
269
                  <not>
270
                     <reference
271
                           definitionId="isSynonymNode">
272
                     </reference>
273
                  </not>
274
                  <with
275
                        variable="selection">
276
                     <count
277
                           value="+">
278
                     </count>
279
                  </with>
280
               </and>
281
            </visibleWhen>
282
         </command>
283
         <separator
284
               name="taxeditor-navigation.separator5"
285
               visible="true">
286
         </separator>
287
         <command
288
               commandId="org.eclipse.ui.file.refresh"
289
               label="%command.label.11"
290
               style="push">
291
            <visibleWhen
292
                  checkEnabled="true">
293
               <reference
294
                     definitionId="isCdmStoreConnected">
295
               </reference>
296
            </visibleWhen>
297
         </command>
298
         <command
299
               commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
300
               label="%command.label.12"
301
               style="push">
302
            <visibleWhen
303
                  checkEnabled="true">
304
               <and>
305
                  <reference
306
                        definitionId="isCdmStoreConnected">
307
                  </reference>
308
                  <reference
309
                        definitionId="isTaxonNode">
310
                  </reference></and>
311
            </visibleWhen>
312
         </command>
313
         <separator
314
               name="eu.etaxonomy.taxeditor.navigation.separator2"
315
               visible="true">
316
         </separator>
317
         <dynamic
318
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
319
               id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
320
         </dynamic>
321
         <!--command
322
               commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
323
               label="New Child"
324
               style="push">
325
         </command>
326
         <command
327
               commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
328
               label="Quick Add Child "
329
               style="push">
330
         </command-->
331
      </menuContribution>
332
      <menuContribution
333
            locationURI="menu:eu.etaxonomy.navigation.menu.new">
334
         <command
335
               commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
336
               label="%command.label.13"
337
               style="push">
338
            <visibleWhen
339
                  checkEnabled="true">
340
               <reference
341
                     definitionId="isCdmStoreConnected">
342
               </reference>
343
            </visibleWhen>
344
         </command>
345
         <separator
346
               name="eu.etaxonomy.navigation.menu.new.separator1"
347
               visible="true">
348
         </separator>
349
         <command
350
               commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
351
               id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
352
               label="%command.label.14"
353
               style="push">
354
            <visibleWhen
355
                  checkEnabled="true">
356
               <reference
357
                     definitionId="isCdmStoreConnected">
358
               </reference>
359
            </visibleWhen>
360
         </command>
361
      </menuContribution>
362
      <menuContribution
363
            locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
364
         <command
365
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
366
               label="%command.label.15"
367
               style="push">
368
         </command>
369
         <dynamic
370
               class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
371
               id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu">
372
         </dynamic>
373
         <command
374
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
375
               label="%command.label.16"
376
               style="push">
377
         </command>
378
         <menu
379
               label="%menu.label.0">
380
            <command
381
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
382
                  label="%command.label.17"
383
                  style="push">
384
            </command>
385
            <command
386
                  commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
387
                  label="%command.label.18"
388
                  style="push">
389
            </command>
390
         </menu>
391
         <separator
392
               name="eu.etaxonomy.eu.polytomousKeyView.separator2"
393
               visible="true">
394
         </separator>
395
         <command
396
               commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
397
               label="%command.label.19"
398
               style="push">
399
         </command>
400
         
401
      </menuContribution>
402
   </extension>
403
   <extension
404
         point="org.eclipse.ui.commands">
405
      <command
406
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
407
            id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
408
            name="%command.name.2">
409
      </command>
410
      <command
411
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
412
            id="org.eclipse.ui.file.refresh"
413
            name="%command.name.3">
414
      </command>
415
      <command
416
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
417
            id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
418
            name="%command.name.4">
419
      </command>
420
      <command
421
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
422
            id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
423
            name="%command.name.5">
424
      </command>
425
       <command
426
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
427
            id="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
428
            name="%command.name.setSecForSubtree">
429
      </command>
430
      <command
431
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
432
            id="eu.etaxonomy.taxeditor.navigation.create.classification"
433
            name="%command.name.0">
434
      </command>
435
      <command
436
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
437
            id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
438
            name="%command.name">
439
      </command>
440
      <command
441
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
442
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
443
            name="%command.name.6">
444
      </command>
445
      <command
446
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
447
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
448
            name="%command.name.7">
449
      </command>
450
      <command
451
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
452
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
453
            name="%command.name.8">
454
      </command>
455
      <command
456
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
457
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
458
            name="%command.name.9">
459
      </command>
460
      <command
461
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
462
            id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
463
            name="%command.name.moveFactualData">
464
      </command>
465
      <command
466
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
467
            id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
468
            name="%command.name.10">
469
      </command>
470
      <command
471
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
472
            id="eu.etaxonomy.taxeditor.navigation.command.delete"
473
            name="%command.name.11">
474
      </command>
475
      <command
476
            defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
477
            id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
478
            name="%command.name.11">
479
      </command>
480
      <command
481
            defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
482
            id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
483
            name="Clone Classification">
484
      </command>
485
   </extension>
486
   <extension
487
         point="org.eclipse.ui.handlers">
488
      <handler
489
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
490
            commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
491
         <activeWhen>
492
            <with
493
                  variable="activePartId">
494
               <equals
495
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
496
               </equals>
497
            </with>
498
         </activeWhen>
499
      </handler>
500
      <handler
501
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
502
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
503
         <activeWhen>
504
            <with
505
                  variable="activePartId">
506
               <equals
507
                     value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
508
               </equals>
509
            </with>
510
         </activeWhen>
511
      </handler>
512
      <handler
513
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
514
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
515
         <activeWhen>
516
            <reference
517
                  definitionId="isRemoting">
518
            </reference>
519
         </activeWhen>
520
      </handler>
521
       <handler
522
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
523
            commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree">
524
         <activeWhen>
525
            <reference
526
                  definitionId="isRemoting">
527
            </reference>
528
         </activeWhen>
529
      </handler>
530
      <handler
531
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
532
            commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
533
         <activeWhen>
534
            <reference
535
                  definitionId="isRemoting">
536
            </reference>
537
         </activeWhen>
538
      </handler>
539
      <handler
540
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
541
            commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
542
         <activeWhen>
543
            <reference
544
                  definitionId="isRemoting">
545
            </reference>
546
         </activeWhen>
547
      </handler>
548
      <handler
549
            class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
550
            commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
551
         <activeWhen>
552
            <reference
553
                  definitionId="isRemoting">
554
            </reference>
555
         </activeWhen>
556
      </handler>
557
      <handler
558
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
559
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
560
         <activeWhen>
561
            <reference
562
                  definitionId="isRemoting">
563
            </reference>
564
         </activeWhen>
565
      </handler>
566
      <handler
567
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
568
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
569
         <activeWhen>
570
            <reference
571
                  definitionId="isRemoting">
572
            </reference>
573
         </activeWhen>
574
      </handler>
575
      <handler
576
            class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
577
            commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
578
         <activeWhen>
579
            <reference
580
                  definitionId="isRemoting">
581
            </reference>
582
         </activeWhen>
583
      </handler>
584
      <handler
585
            class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
586
            commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
587
         <activeWhen>
588
            <with
589
                  variable="activePartId">
590
               <equals
591
                     value="eu.etaxonomy.taxeditor.navigation.navigator">
592
               </equals>
593
            </with>
594
         </activeWhen>
595
      </handler>
596
      <handler
597
            class="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonBaseHandler"
598
            commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon">
599
         <activeWhen>
600
            <and>
601
               <not>
602
                  <reference
603
                        definitionId="isOrphanedTaxon">
604
                  </reference>
605
               </not>
606
            </and>
607
         </activeWhen>
608
      </handler>
609
   </extension>
610

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