Merge branch 'release/4.7.0' into develop
[taxeditor.git] / eu.etaxonomy.taxeditor.navigation / plugin.xml
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 <reference
200 definitionId="isTaxonNode">
201 </reference>
202 </and>
203 </visibleWhen>
204 </command>
205 <command
206 commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
207 label="%command.label.7"
208 style="push">
209 <visibleWhen
210 checkEnabled="true">
211 <reference
212 definitionId="isTaxonNode">
213 </reference>
214 </visibleWhen>
215 </command>
216 <command
217 commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData"
218 label="%command.label.moveFactualData"
219 style="push">
220 <visibleWhen
221 checkEnabled="true">
222 <and>
223 <reference
224 definitionId="isCdmStoreConnected">
225 </reference>
226 <reference
227 definitionId="isTaxonNode">
228 </reference>
229 </and>
230 </visibleWhen>
231 </command>
232 <separator
233 name="taxeditor-navigation.separator2"
234 visible="true">
235 </separator>
236 <command
237 commandId="org.eclipse.ui.file.import"
238 label="%command.label.8"
239 style="push">
240 <visibleWhen
241 checkEnabled="true">
242 <reference
243 definitionId="isCdmStoreConnected">
244 </reference>
245 </visibleWhen>
246 </command>
247 <command
248 commandId="org.eclipse.ui.file.export"
249 label="%command.label.9"
250 style="push">
251 <visibleWhen
252 checkEnabled="true">
253 <reference
254 definitionId="isCdmStoreConnected">
255 </reference>
256 </visibleWhen>
257 </command>
258 <separator
259 name="taxeditor-navigation.separator4"
260 visible="true">
261 </separator>
262 <command
263 commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
264 label="%command.label.10"
265 style="push">
266 <visibleWhen
267 checkEnabled="true">
268 <and>
269 <reference
270 definitionId="isCdmStoreConnected">
271 </reference>
272 <not>
273 <reference
274 definitionId="isSynonymNode">
275 </reference>
276 </not>
277 <with
278 variable="selection">
279 <count
280 value="+">
281 </count>
282 </with>
283 </and>
284 </visibleWhen>
285 </command>
286 <separator
287 name="taxeditor-navigation.separator5"
288 visible="true">
289 </separator>
290 <command
291 commandId="org.eclipse.ui.file.refresh"
292 label="%command.label.11"
293 style="push">
294 <visibleWhen
295 checkEnabled="true">
296 <reference
297 definitionId="isCdmStoreConnected">
298 </reference>
299 </visibleWhen>
300 </command>
301 <command
302 commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
303 label="%command.label.12"
304 style="push">
305 <visibleWhen
306 checkEnabled="true">
307 <and>
308 <reference
309 definitionId="isCdmStoreConnected">
310 </reference>
311 <reference
312 definitionId="isTaxonNode">
313 </reference></and>
314 </visibleWhen>
315 </command>
316 <separator
317 name="eu.etaxonomy.taxeditor.navigation.separator2"
318 visible="true">
319 </separator>
320 <dynamic
321 class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
322 id="eu.etaxonomy.taxeditor.navigation.cdmViewerContextMenu">
323 </dynamic>
324 <!--command
325 commandId="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
326 label="New Child"
327 style="push">
328 </command>
329 <command
330 commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
331 label="Quick Add Child "
332 style="push">
333 </command-->
334 </menuContribution>
335 <menuContribution
336 locationURI="menu:eu.etaxonomy.navigation.menu.new">
337 <command
338 commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
339 label="%command.label.13"
340 style="push">
341 <visibleWhen
342 checkEnabled="true">
343 <reference
344 definitionId="isCdmStoreConnected">
345 </reference>
346 </visibleWhen>
347 </command>
348 <separator
349 name="eu.etaxonomy.navigation.menu.new.separator1"
350 visible="true">
351 </separator>
352 <command
353 commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
354 id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
355 label="%command.label.14"
356 style="push">
357 <visibleWhen
358 checkEnabled="true">
359 <reference
360 definitionId="isCdmStoreConnected">
361 </reference>
362 </visibleWhen>
363 </command>
364 </menuContribution>
365 <menuContribution
366 locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
367 <command
368 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
369 label="%command.label.15"
370 style="push">
371 </command>
372 <dynamic
373 class="eu.etaxonomy.taxeditor.view.CdmViewerContextMenu"
374 id="eu.etaxonomy.taxeditor.navigation.polytomous.cdmViewerContextMenu">
375 </dynamic>
376 <command
377 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
378 label="%command.label.16"
379 style="push">
380 </command>
381 <menu
382 label="%menu.label.0">
383 <command
384 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
385 label="%command.label.17"
386 style="push">
387 </command>
388 <command
389 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
390 label="%command.label.18"
391 style="push">
392 </command>
393 </menu>
394 <separator
395 name="eu.etaxonomy.eu.polytomousKeyView.separator2"
396 visible="true">
397 </separator>
398 <command
399 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
400 label="%command.label.19"
401 style="push">
402 </command>
403
404 </menuContribution>
405 </extension>
406 <extension
407 point="org.eclipse.ui.commands">
408 <command
409 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
410 id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
411 name="%command.name.2">
412 </command>
413 <command
414 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
415 id="org.eclipse.ui.file.refresh"
416 name="%command.name.3">
417 </command>
418 <command
419 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
420 id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
421 name="%command.name.4">
422 </command>
423 <command
424 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
425 id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
426 name="%command.name.5">
427 </command>
428 <command
429 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
430 id="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree"
431 name="%command.name.setSecForSubtree">
432 </command>
433 <command
434 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
435 id="eu.etaxonomy.taxeditor.navigation.create.classification"
436 name="%command.name.0">
437 </command>
438 <command
439 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
440 id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
441 name="%command.name">
442 </command>
443 <command
444 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
445 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
446 name="%command.name.6">
447 </command>
448 <command
449 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
450 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
451 name="%command.name.7">
452 </command>
453 <command
454 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
455 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
456 name="%command.name.8">
457 </command>
458 <command
459 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
460 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
461 name="%command.name.9">
462 </command>
463 <command
464 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
465 id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
466 name="%command.name.moveFactualData">
467 </command>
468 <command
469 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
470 id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
471 name="%command.name.10">
472 </command>
473 <command
474 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
475 id="eu.etaxonomy.taxeditor.navigation.command.delete"
476 name="%command.name.11">
477 </command>
478 <command
479 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
480 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
481 name="%command.name.11">
482 </command>
483 <command
484 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CloneClassificationHandler"
485 id="eu.etaxonomy.taxeditor.navigation.cloneClassification"
486 name="Clone Classification">
487 </command>
488 </extension>
489 <extension
490 point="org.eclipse.ui.handlers">
491 <handler
492 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
493 commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
494 <activeWhen>
495 <with
496 variable="activePartId">
497 <equals
498 value="eu.etaxonomy.taxeditor.navigation.navigator">
499 </equals>
500 </with>
501 </activeWhen>
502 </handler>
503 <handler
504 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
505 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
506 <activeWhen>
507 <with
508 variable="activePartId">
509 <equals
510 value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
511 </equals>
512 </with>
513 </activeWhen>
514 </handler>
515 <handler
516 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
517 commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
518 <activeWhen>
519 <reference
520 definitionId="isRemoting">
521 </reference>
522 </activeWhen>
523 </handler>
524 <handler
525 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.SetSecReferenceForSubtreeHandler"
526 commandId="eu.etaxonomy.taxeditor.navigator.command.update.setSecundumForSubtree">
527 <activeWhen>
528 <reference
529 definitionId="isRemoting">
530 </reference>
531 </activeWhen>
532 </handler>
533 <handler
534 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
535 commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
536 <activeWhen>
537 <reference
538 definitionId="isRemoting">
539 </reference>
540 </activeWhen>
541 </handler>
542 <handler
543 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
544 commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
545 <activeWhen>
546 <reference
547 definitionId="isRemoting">
548 </reference>
549 </activeWhen>
550 </handler>
551 <handler
552 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
553 commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
554 <activeWhen>
555 <reference
556 definitionId="isRemoting">
557 </reference>
558 </activeWhen>
559 </handler>
560 <handler
561 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
562 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
563 <activeWhen>
564 <reference
565 definitionId="isRemoting">
566 </reference>
567 </activeWhen>
568 </handler>
569 <handler
570 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
571 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
572 <activeWhen>
573 <reference
574 definitionId="isRemoting">
575 </reference>
576 </activeWhen>
577 </handler>
578 <handler
579 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
580 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
581 <activeWhen>
582 <reference
583 definitionId="isRemoting">
584 </reference>
585 </activeWhen>
586 </handler>
587 <handler
588 class="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
589 commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView">
590 <activeWhen>
591 <with
592 variable="activePartId">
593 <equals
594 value="eu.etaxonomy.taxeditor.navigation.navigator">
595 </equals>
596 </with>
597 </activeWhen>
598 </handler>
599 <handler
600 class="eu.etaxonomy.taxeditor.editor.handler.defaultHandler.DefaultOpenTaxonEditorForTaxonBaseHandler"
601 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon">
602 <activeWhen>
603 <and>
604 <not>
605 <reference
606 definitionId="isOrphanedTaxon">
607 </reference>
608 </not>
609 </and>
610 </activeWhen>
611 </handler>
612 </extension>
613
614
615 <!--extension
616 point="org.eclipse.ui.navigator.viewer">
617 <viewer
618 viewerId="org.eclipse.ui.examples.navigator.view">
619 </viewer>
620 <viewerContentBinding
621 viewerId="org.eclipse.ui.examples.navigator.view">
622 <includes>
623 <contentExtension
624 pattern="org.eclipse.ui.navigator.resourceContent" />
625 <contentExtension
626 pattern="org.eclipse.ui.navigator.resources.filters.*" />
627 </includes>
628 </viewerContentBinding>
629 <viewerActionBinding
630 viewerId="org.eclipse.ui.examples.navigator.view">
631 <includes>
632 <actionExtension
633 pattern="org.eclipse.ui.navigator.resources.*">
634 </actionExtension>
635 </includes>
636 </viewerActionBinding>
637 </extension>
638 <extension
639 point="org.eclipse.ui.navigator.navigatorContent">
640 <commonFilter
641 id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
642 name="Hide non-Java projects">
643 <filterExpression>
644 <not>
645 <adapt
646 type="org.eclipse.core.resources.IProject">
647 <test
648 property="org.eclipse.core.resources.projectNature"
649 value="org.eclipse.jdt.core.javanature">
650 </test>
651 </adapt>
652 </not>
653 </filterExpression>
654 </commonFilter>
655 </extension-->
656
657
658
659
660
661
662 <extension
663 point="org.eclipse.ui.views">
664 <view
665 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
666 icon="icons/edit_16x16.gif"
667 id="eu.etaxonomy.taxeditor.navigation.navigator"
668 name="%view.name.2"/>
669 </extension>
670 <extension
671 point="org.eclipse.ui.navigator.navigatorContent">
672 <navigatorContent
673 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
674 id="eu.etaxonomy.taxeditor.navigation.classificationContent"
675 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
676 name="%navigatorContent.name">
677 <triggerPoints>
678 <instanceof
679 value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
680 </instanceof>
681 </triggerPoints>
682 <possibleChildren>
683 <instanceof
684 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
685 </instanceof>
686 </possibleChildren>
687 <dropAssistant
688 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
689 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
690 <possibleDropTargets></possibleDropTargets>
691 </dropAssistant>
692 </navigatorContent>
693 <navigatorContent
694 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
695 id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
696 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
697 name="%navigatorContent.name.0">
698 <triggerPoints>
699 <or>
700 <instanceof
701 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
702 </instanceof>
703 <and>
704 <instanceof
705 value="eu.etaxonomy.cdm.model.taxon.Classification">
706 </instanceof>
707 <test
708 forcePluginActivation="true"
709 property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
710 </test>
711 </and>
712 </or>
713 </triggerPoints>
714 <dropAssistant
715 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
716 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
717 <possibleDropTargets>
718 <or>
719 <instanceof
720 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
721 </instanceof>
722 <instanceof
723 value="eu.etaxonomy.cdm.model.taxon.Classification">
724 </instanceof>
725 </or>
726 </possibleDropTargets>
727 </dropAssistant>
728 <possibleChildren>
729 <instanceof
730 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
731 </instanceof>
732 </possibleChildren>
733 </navigatorContent>
734 <navigatorContent
735 activeByDefault="false"
736 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
737 id="eu.etaxonomy.taxeditor.navigation.synonymContent"
738 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
739 name="%navigatorContent.name.1"
740 priority="highest">
741 <triggerPoints>
742 <and>
743 <instanceof
744 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
745 </instanceof>
746 <test
747 forcePluginActivation="true"
748 property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
749 </test>
750 </and>
751 </triggerPoints>
752 <possibleChildren>
753 <instanceof
754 value="eu.etaxonomy.cdm.model.taxon.Synonym">
755 </instanceof>
756 </possibleChildren>
757 </navigatorContent>
758 </extension>
759 <extension
760 point="org.eclipse.ui.navigator.viewer">
761 <viewer
762 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
763 <popupMenu
764 id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
765 </popupMenu>
766 </viewer>
767 <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
768 <includes>
769 <contentExtension
770 pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
771 </contentExtension>
772 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
773 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
774 <contentExtension
775 pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
776 </contentExtension>
777 </includes>
778 </viewerContentBinding>
779 <!--viewer
780 popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
781 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
782 <options>
783 <property
784 name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
785 value="true">
786 </property>
787 </options>
788 </viewer-->
789 <dragAssistant
790 class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
791 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
792 </dragAssistant>
793 </extension>
794 <extension
795 point="org.eclipse.ui.navigator.linkHelper">
796 <linkHelper
797 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
798 id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
799 <selectionEnablement>
800 <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
801 </selectionEnablement>
802 <editorInputEnablement>
803 <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
804 </editorInputEnablement>
805 </linkHelper>
806 </extension>
807 <extension
808 point="org.eclipse.core.runtime.adapters">
809 <factory
810 adaptableType="org.eclipse.core.internal.resources.Workspace"
811 class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
812 <adapter
813 type="org.eclipse.core.commands.operations.IUndoContext">
814 </adapter>
815 </factory>
816 </extension>
817 <extension
818 point="org.eclipse.core.expressions.propertyTesters">
819 <propertyTester
820 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
821 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
822 namespace="eu.etaxonomy.taxeditor.propertytests"
823 properties="hasSynonyms"
824 type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
825 </propertyTester>
826 <propertyTester
827 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
828 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
829 namespace="eu.etaxonomy.taxeditor.propertytests"
830 properties="hasTaxa"
831 type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
832 </propertyTester>
833 <propertyTester
834 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
835 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
836 namespace="eu.etaxonomy.taxeditor.propertytests"
837 properties="hasTaxa"
838 type="eu.etaxonomy.cdm.model.taxon.Classification">
839 </propertyTester>
840 <propertyTester
841 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
842 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
843 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
844 properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
845 type="org.eclipse.jface.viewers.IStructuredSelection">
846 </propertyTester>
847 <propertyTester
848 class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
849 id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
850 namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
851 properties="isCdmStoreConnected,isRemoting,isStandAlone"
852 type="java.lang.Object">
853 </propertyTester>
854 </extension>
855 <extension
856 point="org.eclipse.core.expressions.definitions">
857 <definition
858 id="isTaxonNode">
859 <with
860 variable="selection">
861 <iterate
862 ifEmpty="false">
863 <instanceof
864 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
865 </instanceof>
866 </iterate>
867 </with>
868 </definition>
869 <definition
870 id="isSynonymNode">
871 <with
872 variable="selection">
873 <iterate
874 ifEmpty="false">
875 <instanceof
876 value="eu.etaxonomy.cdm.model.taxon.Synonym">
877 </instanceof>
878 </iterate>
879 </with>
880 </definition>
881 <definition
882 id="isClassification">
883 <with
884 variable="selection">
885 <iterate
886 ifEmpty="false">
887 <instanceof
888 value="eu.etaxonomy.cdm.model.taxon.Classification">
889 </instanceof>
890 </iterate>
891 </with>
892 </definition>
893 <definition
894 id="isChecklistEditorEnabled">
895 <with
896 variable="selection">
897 <test
898 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
899 </test>
900 </with>
901 </definition>
902 <definition
903 id="isCdmStoreConnected">
904 <test
905 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
906 </test>
907 </definition>
908 <definition
909 id="isShowExperimentalFeatures">
910 <with
911 variable="selection">
912 <test
913 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
914 </test>
915 </with>
916 </definition>
917 <definition
918 id="isRemoting">
919 <test
920 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
921 </test>
922 </definition>
923 <definition
924 id="isStandAlone">
925 <test
926 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
927 </test>
928 </definition>
929 </extension>
930 <extension
931 id="id1"
932 point="org.eclipse.e4.workbench.model">
933 <fragment
934 apply="always"
935 uri="fragment.e4xmi">
936 </fragment>
937 </extension>
938 </plugin>