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