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