Expand polytomous key section #3461
[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 <visibleWhen
343 checkEnabled="true">
344 <reference
345 definitionId="isCdmStoreConnected">
346 </reference>
347 </visibleWhen>
348 </command>
349 <separator
350 name="eu.etaxonomy.navigation.menu.new.separator1"
351 visible="true">
352 </separator>
353 <command
354 commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
355 id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
356 label="%command.label.14"
357 style="push">
358 <visibleWhen
359 checkEnabled="true">
360 <reference
361 definitionId="isCdmStoreConnected">
362 </reference>
363 </visibleWhen>
364 </command>
365 </menuContribution>
366 <menuContribution
367 locationURI="popup:eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
368 <command
369 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
370 label="%command.label.15"
371 style="push">
372 </command>
373 <command
374 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
375 label="%command.label.16"
376 style="push">
377 </command>
378 <menu
379 label="%menu.label.0">
380 <command
381 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
382 label="%command.label.17"
383 style="push">
384 </command>
385 <command
386 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
387 label="%command.label.18"
388 style="push">
389 </command>
390 </menu>
391 <separator
392 name="eu.etaxonomy.eu.polytomousKeyView.separator2"
393 visible="true">
394 </separator>
395 <command
396 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
397 label="%command.label.19"
398 style="push">
399 </command>
400
401 </menuContribution>
402 </extension>
403 <extension
404 point="org.eclipse.ui.commands">
405 <command
406 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.EditHandler"
407 id="eu.etaxonomy.taxeditor.navigation.command.update.editSelection"
408 name="%command.name.1">
409 </command>
410 <command
411 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveTaxonHandler"
412 id="eu.etaxonomy.taxeditor.navigation.command.update.moveTaxon"
413 name="%command.name.2">
414 </command>
415 <command
416 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.RefreshTreeHandler"
417 id="org.eclipse.ui.file.refresh"
418 name="%command.name.3">
419 </command>
420 <command
421 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CopyHandler"
422 id="eu.etaxonomy.taxeditor.navigation.command.copyTaxonName"
423 name="%command.name.4">
424 </command>
425 <command
426 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.ChangeAcceptedTaxonToSynonymHandler"
427 id="eu.etaxonomy.taxeditor.navigator.command.update.changeAcceptedToSynonym"
428 name="%command.name.5">
429 </command>
430 <command
431 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewClassificationHandler"
432 id="eu.etaxonomy.taxeditor.navigation.create.classification"
433 name="%command.name.0">
434 </command>
435 <command
436 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.NewTaxonNodeHandler"
437 id="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
438 name="%command.name">
439 </command>
440 <command
441 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.NewPolytomousKeyHandler"
442 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.newKey"
443 name="%command.name.6">
444 </command>
445 <command
446 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.EditPolytomousKeyNodesHandler"
447 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.editNodes"
448 name="%command.name.7">
449 </command>
450 <command
451 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyListHandler"
452 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyList"
453 name="%command.name.8">
454 </command>
455 <command
456 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.RefreshPolytomousKeyNodesHandler"
457 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.refreshKeyNodes"
458 name="%command.name.9">
459 </command>
460 <command
461 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.MoveFactualDataHandler"
462 id="eu.etaxonomy.taxeditor.navigation.moveFactualData"
463 name="%command.name.moveFactualData">
464 </command>
465 <command
466 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
467 id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
468 name="%command.name.10">
469 </command>
470 <command
471 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
472 id="eu.etaxonomy.taxeditor.navigation.command.delete"
473 name="%command.name.11">
474 </command>
475 <command
476 defaultHandler="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
477 id="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete"
478 name="%command.name.11">
479 </command>
480 </extension>
481 <extension
482 point="org.eclipse.ui.handlers">
483 <handler
484 class="eu.etaxonomy.taxeditor.navigation.navigator.handler.DeleteHandler"
485 commandId="eu.etaxonomy.taxeditor.navigation.navigator.command.delete">
486 <activeWhen>
487 <with
488 variable="activePartId">
489 <equals
490 value="eu.etaxonomy.taxeditor.navigation.navigator">
491 </equals>
492 </with>
493 </activeWhen>
494 </handler>
495 <handler
496 class="eu.etaxonomy.taxeditor.navigation.key.polytomous.handler.DeleteHandler"
497 commandId="eu.etaxonomy.taxeditor.navigation.key.polytomous.command.delete">
498 <activeWhen>
499 <with
500 variable="activePartId">
501 <equals
502 value="eu.etaxonomy.taxeditor.navigation.key.polytomous.polytomousKeyViewPart">
503 </equals>
504 </with>
505 </activeWhen>
506 </handler>
507 </extension>
508
509
510 <!--extension
511 point="org.eclipse.ui.navigator.viewer">
512 <viewer
513 viewerId="org.eclipse.ui.examples.navigator.view">
514 </viewer>
515 <viewerContentBinding
516 viewerId="org.eclipse.ui.examples.navigator.view">
517 <includes>
518 <contentExtension
519 pattern="org.eclipse.ui.navigator.resourceContent" />
520 <contentExtension
521 pattern="org.eclipse.ui.navigator.resources.filters.*" />
522 </includes>
523 </viewerContentBinding>
524 <viewerActionBinding
525 viewerId="org.eclipse.ui.examples.navigator.view">
526 <includes>
527 <actionExtension
528 pattern="org.eclipse.ui.navigator.resources.*">
529 </actionExtension>
530 </includes>
531 </viewerActionBinding>
532 </extension>
533 <extension
534 point="org.eclipse.ui.navigator.navigatorContent">
535 <commonFilter
536 id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
537 name="Hide non-Java projects">
538 <filterExpression>
539 <not>
540 <adapt
541 type="org.eclipse.core.resources.IProject">
542 <test
543 property="org.eclipse.core.resources.projectNature"
544 value="org.eclipse.jdt.core.javanature">
545 </test>
546 </adapt>
547 </not>
548 </filterExpression>
549 </commonFilter>
550 </extension-->
551
552
553
554
555
556
557 <extension
558 point="org.eclipse.ui.views">
559 <view
560 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
561 icon="icons/edit_16x16.gif"
562 id="eu.etaxonomy.taxeditor.navigation.navigator"
563 name="%view.name.2"/>
564 </extension>
565 <extension
566 point="org.eclipse.ui.navigator.navigatorContent">
567 <navigatorContent
568 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
569 id="eu.etaxonomy.taxeditor.navigation.classificationContent"
570 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
571 name="%navigatorContent.name">
572 <triggerPoints>
573 <instanceof
574 value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
575 </instanceof>
576 </triggerPoints>
577 <possibleChildren>
578 <instanceof
579 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
580 </instanceof>
581 </possibleChildren>
582 <dropAssistant
583 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
584 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
585 <possibleDropTargets></possibleDropTargets>
586 </dropAssistant>
587 </navigatorContent>
588 <navigatorContent
589 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
590 id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
591 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
592 name="%navigatorContent.name.0">
593 <triggerPoints>
594 <or>
595 <instanceof
596 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
597 </instanceof>
598 <and>
599 <instanceof
600 value="eu.etaxonomy.cdm.model.taxon.Classification">
601 </instanceof>
602 <test
603 forcePluginActivation="true"
604 property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
605 </test>
606 </and>
607 </or>
608 </triggerPoints>
609 <dropAssistant
610 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
611 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
612 <possibleDropTargets>
613 <or>
614 <instanceof
615 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
616 </instanceof>
617 <instanceof
618 value="eu.etaxonomy.cdm.model.taxon.Classification">
619 </instanceof>
620 </or>
621 </possibleDropTargets>
622 </dropAssistant>
623 <possibleChildren>
624 <instanceof
625 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
626 </instanceof>
627 </possibleChildren>
628 </navigatorContent>
629 <navigatorContent
630 activeByDefault="false"
631 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
632 id="eu.etaxonomy.taxeditor.navigation.synonymContent"
633 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
634 name="%navigatorContent.name.1"
635 priority="highest">
636 <triggerPoints>
637 <and>
638 <instanceof
639 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
640 </instanceof>
641 <test
642 forcePluginActivation="true"
643 property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
644 </test>
645 </and>
646 </triggerPoints>
647 <possibleChildren>
648 <instanceof
649 value="eu.etaxonomy.cdm.model.taxon.Synonym">
650 </instanceof>
651 </possibleChildren>
652 </navigatorContent>
653 </extension>
654 <extension
655 point="org.eclipse.ui.navigator.viewer">
656 <viewer
657 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
658 <popupMenu
659 id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
660 </popupMenu>
661 </viewer>
662 <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
663 <includes>
664 <contentExtension
665 pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
666 </contentExtension>
667 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
668 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
669 <contentExtension
670 pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
671 </contentExtension>
672 </includes>
673 </viewerContentBinding>
674 <!--viewer
675 popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
676 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
677 <options>
678 <property
679 name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
680 value="true">
681 </property>
682 </options>
683 </viewer-->
684 <dragAssistant
685 class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
686 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
687 </dragAssistant>
688 </extension>
689 <extension
690 point="org.eclipse.ui.navigator.linkHelper">
691 <linkHelper
692 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
693 id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
694 <selectionEnablement>
695 <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
696 </selectionEnablement>
697 <editorInputEnablement>
698 <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
699 </editorInputEnablement>
700 </linkHelper>
701 </extension>
702 <extension
703 point="org.eclipse.core.runtime.adapters">
704 <factory
705 adaptableType="org.eclipse.core.internal.resources.Workspace"
706 class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
707 <adapter
708 type="org.eclipse.core.commands.operations.IUndoContext">
709 </adapter>
710 </factory>
711 </extension>
712 <extension
713 point="org.eclipse.core.expressions.propertyTesters">
714 <propertyTester
715 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
716 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
717 namespace="eu.etaxonomy.taxeditor.propertytests"
718 properties="hasSynonyms"
719 type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
720 </propertyTester>
721 <propertyTester
722 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
723 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
724 namespace="eu.etaxonomy.taxeditor.propertytests"
725 properties="hasTaxa"
726 type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
727 </propertyTester>
728 <propertyTester
729 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
730 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
731 namespace="eu.etaxonomy.taxeditor.propertytests"
732 properties="hasTaxa"
733 type="eu.etaxonomy.cdm.model.taxon.Classification">
734 </propertyTester>
735 <propertyTester
736 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
737 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
738 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
739 properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
740 type="org.eclipse.jface.viewers.IStructuredSelection">
741 </propertyTester>
742 <propertyTester
743 class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
744 id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
745 namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
746 properties="isCdmStoreConnected"
747 type="java.lang.Object">
748 </propertyTester>
749 </extension>
750 <extension
751 point="org.eclipse.core.expressions.definitions">
752 <definition
753 id="isTaxonNode">
754 <with
755 variable="selection">
756 <iterate
757 ifEmpty="false">
758 <instanceof
759 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
760 </instanceof>
761 </iterate>
762 </with>
763 </definition>
764 <definition
765 id="isSynonymNode">
766 <with
767 variable="selection">
768 <iterate
769 ifEmpty="false">
770 <instanceof
771 value="eu.etaxonomy.cdm.model.taxon.Synonym">
772 </instanceof>
773 </iterate>
774 </with>
775 </definition>
776 <definition
777 id="isClassification">
778 <with
779 variable="selection">
780 <iterate
781 ifEmpty="false">
782 <instanceof
783 value="eu.etaxonomy.cdm.model.taxon.Classification">
784 </instanceof>
785 </iterate>
786 </with>
787 </definition>
788 <definition
789 id="isChecklistEditorEnabled">
790 <with
791 variable="selection">
792 <test
793 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
794 </test>
795 </with>
796 </definition>
797 <definition
798 id="isCdmStoreConnected">
799 <test
800 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
801 </test>
802 </definition>
803 <definition
804 id="isShowExperimentalFeatures">
805 <with
806 variable="selection">
807 <test
808 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
809 </test>
810 </with>
811 </definition>
812 </extension>
813 <extension
814 point="eu.etaxonomy.taxeditor.store.cdmViewer">
815 <cdmViewer
816 class="eu.etaxonomy.taxeditor.navigation.NavigationCdmViewer">
817 </cdmViewer>
818 </extension>
819 </plugin>