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