Merge branch 'develop' into remoting-4.0
[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:org.eclipse.ui.main.menu.file">
43 <separator
44 name="eu.etaxonomy.taxeditor.navigation.recentnames.separator"
45 visible="true">
46 </separator>
47 <dynamic
48 class="eu.etaxonomy.taxeditor.navigation.RecentNamesContributionItem"
49 id="eu.etaxonomy.taxeditor.navigation.recentnames">
50 </dynamic>
51 </menuContribution>
52 <menuContribution
53 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.editor.showViewMenu">
54 <command
55 commandId="org.eclipse.ui.views.showView"
56 label="%command.label"
57 style="push">
58 <parameter
59 name="org.eclipse.ui.views.showView.viewId"
60 value="eu.etaxonomy.taxeditor.navigation.navigator">
61 </parameter>
62 </command>
63 <command
64 commandId="org.eclipse.ui.views.showView"
65 label="%command.label.0"
66 style="push">
67 <parameter
68 name="org.eclipse.ui.views.showView.viewId"
69 value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
70 </parameter>
71 </command>
72 </menuContribution>
73 <menuContribution
74 locationURI="popup:eu.etaxonomy.taxeditor.navigation.search.searchResultView">
75 <command
76 commandId="eu.etaxonomy.taxeditor.navigation.command.editTaxon"
77 label="%command.label.1"
78 style="push">
79 </command>
80 </menuContribution>
81 <menuContribution
82 locationURI="popup:eu.etaxonomy.taxeditor.navigation.navigatorpopup">
83 <menu
84 id="eu.etaxonomy.navigation.menu.new"
85 label="%menu.label">
86 <command
87 commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
88 label="%command.label.2"
89 style="push">
90 <visibleWhen
91 checkEnabled="true">
92 <with
93 variable="selection">
94 <count
95 value="+">
96 </count>
97 </with>
98 </visibleWhen>
99 </command>
100 <separator
101 name="eu.etaxonomy.navigation.menu.new.separator1"
102 visible="true">
103 </separator>
104 <command
105 commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
106 id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
107 label="%command.label.3"
108 style="push">
109 </command>
110 <visibleWhen
111 checkEnabled="true">
112 <reference
113 definitionId="isCdmStoreConnected">
114 </reference>
115 </visibleWhen>
116 </menu>
117 <command
118 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
119 icon="icons/check.png"
120 label="%command.label.4"
121 style="push">
122 <visibleWhen
123 checkEnabled="true">
124 <and>
125 <reference
126 definitionId="isChecklistEditorEnabled">
127 </reference>
128 <or>
129 <reference
130 definitionId="isClassification">
131 </reference>
132 <reference
133 definitionId="isTaxonNode">
134 </reference>
135 </or>
136 </and>
137 </visibleWhen>
138 </command>
139 <command
140 commandId="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
141 label="%command.label.fixClassificationHierarchy"
142 style="push">
143 <visibleWhen
144 checkEnabled="true">
145 <and>
146 <reference
147 definitionId="isShowExperimentalFeatures">
148 </reference>
149 <reference
150 definitionId="isClassification">
151 </reference>
152 </and>
153 </visibleWhen>
154 </command>
155 <separator
156 name="taxeditor-navigation.separator1"
157 visible="true">
158 </separator>
159 <command
160 commandId="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
161 label="%command.label.5"
162 style="push">
163 <visibleWhen
164 checkEnabled="true">
165 <or>
166 <reference
167 definitionId="isTaxonNode">
168 </reference>
169 <reference
170 definitionId="isTaxonomicTree">
171 </reference>
172 </or>
173 </visibleWhen>
174 </command>
175 <command
176 commandId="eu.etaxonomy.taxeditor.store.open"
177 label="Edit"
178 style="push">
179 <visibleWhen
180 checkEnabled="true">
181 <with
182 variable="selection">
183 <reference
184 definitionId="isClassification">
185 </reference>
186 </with>
187 </visibleWhen>
188 </command>
189 <command
190 commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
191 label="%command.label.6"
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="eu.etaxonomy.taxeditor.navigation.command.createChildTaxon"
238 label="New Child"
239 style="push">
240 </command>
241 <command
242 commandId="eu.etaxonomy.taxeditor.navigation.command.quickCreateChildTaxon"
243 label="Quick Add Child "
244 style="push">
245 </command-->
246 <command
247 commandId="org.eclipse.ui.file.import"
248 label="%command.label.8"
249 style="push">
250 <visibleWhen
251 checkEnabled="true">
252 <reference
253 definitionId="isCdmStoreConnected">
254 </reference>
255 </visibleWhen>
256 </command>
257 <command
258 commandId="org.eclipse.ui.file.export"
259 label="%command.label.9"
260 style="push">
261 <visibleWhen
262 checkEnabled="true">
263 <reference
264 definitionId="isCdmStoreConnected">
265 </reference>
266 </visibleWhen>
267 </command>
268 <separator
269 name="taxeditor-navigation.separator4"
270 visible="true">
271 </separator>
272 <command
273 commandId="eu.etaxonomy.taxeditor.navigation.command.delete"
274 label="%command.label.10"
275 style="push">
276 <visibleWhen
277 checkEnabled="true">
278 <and>
279 <reference
280 definitionId="isCdmStoreConnected">
281 </reference>
282 <not>
283 <reference
284 definitionId="isSynonymNode">
285 </reference>
286 </not>
287 <with
288 variable="selection">
289 <count
290 value="+">
291 </count>
292 </with>
293 </and>
294 </visibleWhen>
295 </command>
296 <separator
297 name="taxeditor-navigation.separator5"
298 visible="true">
299 </separator>
300 <command
301 commandId="org.eclipse.ui.file.refresh"
302 label="%command.label.11"
303 style="push">
304 <visibleWhen
305 checkEnabled="true">
306 <reference
307 definitionId="isCdmStoreConnected">
308 </reference>
309 </visibleWhen>
310 </command>
311 <command
312 commandId="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
313 label="%command.label.12"
314 style="push">
315 <visibleWhen
316 checkEnabled="true">
317 <and>
318 <reference
319 definitionId="isCdmStoreConnected">
320 </reference>
321 <reference
322 definitionId="isTaxonNode">
323 </reference></and>
324 </visibleWhen>
325 </command>
326 </menuContribution>
327 <menuContribution
328 locationURI="toolbar:org.eclipse.ui.main.toolbar">
329 <toolbar
330 id="eu.etaxonomy.taxeditor.navigation.search.toolbar">
331 <control
332 class="eu.etaxonomy.taxeditor.navigation.search.SearchBar">
333 </control>
334 </toolbar>
335 </menuContribution>
336 <menuContribution
337 locationURI="menu:eu.etaxonomy.navigation.menu.new">
338 <command
339 commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
340 label="%command.label.13"
341 style="push">
342 </command>
343 <separator
344 name="eu.etaxonomy.navigation.menu.new.separator1"
345 visible="true">
346 </separator>
347 <command
348 commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
349 id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
350 label="%command.label.14"
351 style="push">
352 </command>
353 </menuContribution>
354 <menuContribution
355 locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
356 <command
357 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
358 label="%command.label.15"
359 style="push">
360 </command>
361 <command
362 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
363 label="%command.label.16"
364 style="push">
365 </command>
366 <menu
367 label="%menu.label.0">
368 <command
369 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
370 label="%command.label.17"
371 style="push">
372 </command>
373 <command
374 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
375 label="%command.label.18"
376 style="push">
377 </command>
378 </menu>
379 <separator
380 name="eu.etaxonomy.eu.polytomousKeyView.separator2"
381 visible="true">
382 </separator>
383 <command
384 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
385 label="%command.label.19"
386 style="push">
387 </command>
388
389 </menuContribution>
390 </extension>
391 <extension
392 point="org.eclipse.ui.commands">
393 <command
394 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
395 id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
396 name="%command.name.1">
397 </command>
398 <command
399 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
400 id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
401 name="%command.name.2">
402 </command>
403 <command
404 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
405 id="org.eclipse.ui.file.refresh"
406 name="%command.name.3">
407 </command>
408 <command
409 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
410 id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
411 name="%command.name.4">
412 </command>
413 <command
414 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
415 id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
416 name="%command.name.5">
417 </command>
418 <command
419 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
420 id="eu.etaxonomy.taxeditor.navigation.create.classification"
421 name="%command.name.0">
422 </command>
423 <command
424 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
425 id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
426 name="%command.name">
427 </command>
428 <command
429 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
430 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
431 name="%command.name.6">
432 </command>
433 <command
434 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
435 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
436 name="%command.name.7">
437 </command>
438 <command
439 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
440 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
441 name="%command.name.8">
442 </command>
443 <command
444 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
445 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
446 name="%command.name.9">
447 </command>
448 <command
449 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
450 id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
451 name="%command.name.moveFactualData">
452 </command>
453 <command
454 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
455 id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
456 name="%command.name.10">
457 </command>
458 <command
459 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
460 id="eu.etaxonomy.taxeditor.navigation.command.delete"
461 name="%command.name.11">
462 </command>
463 <command
464 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
465 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
466 name="%command.name.11">
467 </command>
468 </extension>
469 <extension
470 point="org.eclipse.ui.handlers">
471 <handler
472 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
473 commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
474 <activeWhen>
475 <with
476 variable="activePartId">
477 <equals
478 value="eu.etaxonomy.taxeditor.navigation.navigator">
479 </equals>
480 </with>
481 </activeWhen>
482 </handler>
483 <handler
484 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
485 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
486 <activeWhen>
487 <with
488 variable="activePartId">
489 <equals
490 value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
491 </equals>
492 </with>
493 </activeWhen>
494 </handler>
495 <handler
496 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler"
497 commandId="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym">
498 <activeWhen>
499 <reference
500 definitionId="isRemoting">
501 </reference>
502 </activeWhen>
503 </handler>
504 <handler
505 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveFactualDataHandler"
506 commandId="eu.etaxonomy.taxeditor.navigation.moveFactualData">
507 <activeWhen>
508 <reference
509 definitionId="isRemoting">
510 </reference>
511 </activeWhen>
512 </handler>
513 <handler
514 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingMoveTaxonNodeHandler"
515 commandId="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon">
516 <activeWhen>
517 <reference
518 definitionId="isRemoting">
519 </reference>
520 </activeWhen>
521 </handler>
522 <handler
523 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingDeleteTaxonNodeHandler"
524 commandId="eu.etaxonomy.taxeditor.navigation.command.delete">
525 <activeWhen>
526 <reference
527 definitionId="isRemoting">
528 </reference>
529 </activeWhen>
530 </handler>
531 <handler
532 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingDeletePolytomousKeyHandler"
533 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
534 <activeWhen>
535 <reference
536 definitionId="isRemoting">
537 </reference>
538 </activeWhen>
539 </handler>
540 <handler
541 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingUpdatePolytomousKeyAllNodesHandler"
542 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes">
543 <activeWhen>
544 <reference
545 definitionId="isRemoting">
546 </reference>
547 </activeWhen>
548 </handler>
549 <handler
550 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RemotingEditPolytomousKeyNodesHandler"
551 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes">
552 <activeWhen>
553 <reference
554 definitionId="isRemoting">
555 </reference>
556 </activeWhen>
557 </handler>
558 </extension>
559
560
561 <!--extension
562 point="org.eclipse.ui.navigator.viewer">
563 <viewer
564 viewerId="org.eclipse.ui.examples.navigator.view">
565 </viewer>
566 <viewerContentBinding
567 viewerId="org.eclipse.ui.examples.navigator.view">
568 <includes>
569 <contentExtension
570 pattern="org.eclipse.ui.navigator.resourceContent" />
571 <contentExtension
572 pattern="org.eclipse.ui.navigator.resources.filters.*" />
573 </includes>
574 </viewerContentBinding>
575 <viewerActionBinding
576 viewerId="org.eclipse.ui.examples.navigator.view">
577 <includes>
578 <actionExtension
579 pattern="org.eclipse.ui.navigator.resources.*">
580 </actionExtension>
581 </includes>
582 </viewerActionBinding>
583 </extension>
584 <extension
585 point="org.eclipse.ui.navigator.navigatorContent">
586 <commonFilter
587 id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
588 name="Hide non-Java projects">
589 <filterExpression>
590 <not>
591 <adapt
592 type="org.eclipse.core.resources.IProject">
593 <test
594 property="org.eclipse.core.resources.projectNature"
595 value="org.eclipse.jdt.core.javanature">
596 </test>
597 </adapt>
598 </not>
599 </filterExpression>
600 </commonFilter>
601 </extension-->
602
603
604
605
606
607
608 <extension
609 point="org.eclipse.ui.views">
610 <view
611 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
612 icon="icons/edit_16x16.gif"
613 id="eu.etaxonomy.taxeditor.navigation.navigator"
614 name="%view.name.2"/>
615 </extension>
616 <extension
617 point="org.eclipse.ui.navigator.navigatorContent">
618 <navigatorContent
619 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
620 id="eu.etaxonomy.taxeditor.navigation.classificationContent"
621 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
622 name="%navigatorContent.name">
623 <triggerPoints>
624 <instanceof
625 value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
626 </instanceof>
627 </triggerPoints>
628 <possibleChildren>
629 <instanceof
630 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
631 </instanceof>
632 </possibleChildren>
633 <dropAssistant
634 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
635 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
636 <possibleDropTargets></possibleDropTargets>
637 </dropAssistant>
638 </navigatorContent>
639 <navigatorContent
640 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
641 id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
642 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
643 name="%navigatorContent.name.0">
644 <triggerPoints>
645 <or>
646 <instanceof
647 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
648 </instanceof>
649 <and>
650 <instanceof
651 value="eu.etaxonomy.cdm.model.taxon.Classification">
652 </instanceof>
653 <test
654 forcePluginActivation="true"
655 property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
656 </test>
657 </and>
658 </or>
659 </triggerPoints>
660 <dropAssistant
661 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
662 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
663 <possibleDropTargets>
664 <or>
665 <instanceof
666 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
667 </instanceof>
668 <instanceof
669 value="eu.etaxonomy.cdm.model.taxon.Classification">
670 </instanceof>
671 </or>
672 </possibleDropTargets>
673 </dropAssistant>
674 <possibleChildren>
675 <instanceof
676 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
677 </instanceof>
678 </possibleChildren>
679 </navigatorContent>
680 <navigatorContent
681 activeByDefault="false"
682 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
683 id="eu.etaxonomy.taxeditor.navigation.synonymContent"
684 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
685 name="%navigatorContent.name.1"
686 priority="highest">
687 <triggerPoints>
688 <and>
689 <instanceof
690 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
691 </instanceof>
692 <test
693 forcePluginActivation="true"
694 property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
695 </test>
696 </and>
697 </triggerPoints>
698 <possibleChildren>
699 <instanceof
700 value="eu.etaxonomy.cdm.model.taxon.Synonym">
701 </instanceof>
702 </possibleChildren>
703 </navigatorContent>
704 </extension>
705 <extension
706 point="org.eclipse.ui.navigator.viewer">
707 <viewer
708 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
709 <popupMenu
710 id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
711 </popupMenu>
712 </viewer>
713 <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
714 <includes>
715 <contentExtension
716 pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
717 </contentExtension>
718 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
719 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
720 <contentExtension
721 pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
722 </contentExtension>
723 </includes>
724 </viewerContentBinding>
725 <!--viewer
726 popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
727 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
728 <options>
729 <property
730 name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
731 value="true">
732 </property>
733 </options>
734 </viewer-->
735 <dragAssistant
736 class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
737 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
738 </dragAssistant>
739 </extension>
740 <extension
741 point="org.eclipse.ui.navigator.linkHelper">
742 <linkHelper
743 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
744 id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
745 <selectionEnablement>
746 <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
747 </selectionEnablement>
748 <editorInputEnablement>
749 <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
750 </editorInputEnablement>
751 </linkHelper>
752 </extension>
753 <extension
754 point="org.eclipse.core.runtime.adapters">
755 <factory
756 adaptableType="org.eclipse.core.internal.resources.Workspace"
757 class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
758 <adapter
759 type="org.eclipse.core.commands.operations.IUndoContext">
760 </adapter>
761 </factory>
762 </extension>
763 <extension
764 point="org.eclipse.core.expressions.propertyTesters">
765 <propertyTester
766 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
767 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
768 namespace="eu.etaxonomy.taxeditor.propertytests"
769 properties="hasSynonyms"
770 type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
771 </propertyTester>
772 <propertyTester
773 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
774 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
775 namespace="eu.etaxonomy.taxeditor.propertytests"
776 properties="hasTaxa"
777 type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
778 </propertyTester>
779 <propertyTester
780 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
781 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
782 namespace="eu.etaxonomy.taxeditor.propertytests"
783 properties="hasTaxa"
784 type="eu.etaxonomy.cdm.model.taxon.Classification">
785 </propertyTester>
786 <propertyTester
787 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
788 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
789 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
790 properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
791 type="org.eclipse.jface.viewers.IStructuredSelection">
792 </propertyTester>
793 <propertyTester
794 class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
795 id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
796 namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
797 properties="isCdmStoreConnected,isRemoting,isStandAlone"
798 type="java.lang.Object">
799 </propertyTester>
800 </extension>
801 <extension
802 point="org.eclipse.core.expressions.definitions">
803 <definition
804 id="isTaxonNode">
805 <with
806 variable="selection">
807 <iterate
808 ifEmpty="false">
809 <instanceof
810 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
811 </instanceof>
812 </iterate>
813 </with>
814 </definition>
815 <definition
816 id="isSynonymNode">
817 <with
818 variable="selection">
819 <iterate
820 ifEmpty="false">
821 <instanceof
822 value="eu.etaxonomy.cdm.model.taxon.Synonym">
823 </instanceof>
824 </iterate>
825 </with>
826 </definition>
827 <definition
828 id="isClassification">
829 <with
830 variable="selection">
831 <iterate
832 ifEmpty="false">
833 <instanceof
834 value="eu.etaxonomy.cdm.model.taxon.Classification">
835 </instanceof>
836 </iterate>
837 </with>
838 </definition>
839 <definition
840 id="isChecklistEditorEnabled">
841 <with
842 variable="selection">
843 <test
844 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
845 </test>
846 </with>
847 </definition>
848 <definition
849 id="isCdmStoreConnected">
850 <test
851 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
852 </test>
853 </definition>
854 <definition
855 id="isShowExperimentalFeatures">
856 <with
857 variable="selection">
858 <test
859 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
860 </test>
861 </with>
862 </definition>
863 <definition
864 id="isRemoting">
865 <test
866 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
867 </test>
868 </definition>
869 <definition
870 id="isStandAlone">
871 <test
872 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
873 </test>
874 </definition>
875 </extension>
876 <extension
877 point="eu.etaxonomy.taxeditor.store.cdmViewer">
878 <cdmViewer
879 class="eu.etaxonomy.taxeditor.navigation.NavigationCdmViewer">
880 </cdmViewer>
881 </extension>
882 </plugin>