Merge branch 'develop' into bulkEditorE4
[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 </extension>
537 <extension
538 point="org.eclipse.ui.navigator.navigatorContent">
539 <navigatorContent
540 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
541 id="eu.etaxonomy.taxeditor.navigation.classificationContent"
542 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
543 name="%navigatorContent.name">
544 <triggerPoints>
545 <instanceof
546 value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
547 </instanceof>
548 </triggerPoints>
549 <possibleChildren>
550 <instanceof
551 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
552 </instanceof>
553 </possibleChildren>
554 <dropAssistant
555 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
556 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
557 <possibleDropTargets></possibleDropTargets>
558 </dropAssistant>
559 </navigatorContent>
560 <navigatorContent
561 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
562 id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
563 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
564 name="%navigatorContent.name.0">
565 <triggerPoints>
566 <or>
567 <instanceof
568 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
569 </instanceof>
570 <and>
571 <instanceof
572 value="eu.etaxonomy.cdm.model.taxon.Classification">
573 </instanceof>
574 <test
575 forcePluginActivation="true"
576 property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
577 </test>
578 </and>
579 </or>
580 </triggerPoints>
581 <dropAssistant
582 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
583 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
584 <possibleDropTargets>
585 <or>
586 <instanceof
587 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
588 </instanceof>
589 <instanceof
590 value="eu.etaxonomy.cdm.model.taxon.Classification">
591 </instanceof>
592 </or>
593 </possibleDropTargets>
594 </dropAssistant>
595 <possibleChildren>
596 <instanceof
597 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
598 </instanceof>
599 </possibleChildren>
600 </navigatorContent>
601 <navigatorContent
602 activeByDefault="false"
603 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
604 id="eu.etaxonomy.taxeditor.navigation.synonymContent"
605 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
606 name="%navigatorContent.name.1"
607 priority="highest">
608 <triggerPoints>
609 <and>
610 <instanceof
611 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
612 </instanceof>
613 <test
614 forcePluginActivation="true"
615 property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
616 </test>
617 </and>
618 </triggerPoints>
619 <possibleChildren>
620 <instanceof
621 value="eu.etaxonomy.cdm.model.taxon.Synonym">
622 </instanceof>
623 </possibleChildren>
624 </navigatorContent>
625 </extension>
626 <extension
627 point="org.eclipse.ui.navigator.viewer">
628 <viewer
629 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
630 <popupMenu
631 id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
632 </popupMenu>
633 </viewer>
634 <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
635 <includes>
636 <contentExtension
637 pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
638 </contentExtension>
639 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
640 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
641 <contentExtension
642 pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
643 </contentExtension>
644 </includes>
645 </viewerContentBinding>
646 <dragAssistant
647 class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
648 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
649 </dragAssistant>
650 </extension>
651 <extension
652 point="org.eclipse.ui.navigator.linkHelper">
653 <linkHelper
654 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
655 id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
656 <selectionEnablement>
657 <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
658 </selectionEnablement>
659 <editorInputEnablement>
660 <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
661 </editorInputEnablement>
662 </linkHelper>
663 </extension>
664 <extension
665 point="org.eclipse.core.runtime.adapters">
666 <factory
667 adaptableType="org.eclipse.core.internal.resources.Workspace"
668 class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
669 <adapter
670 type="org.eclipse.core.commands.operations.IUndoContext">
671 </adapter>
672 </factory>
673 </extension>
674 <extension
675 point="org.eclipse.core.expressions.propertyTesters">
676 <propertyTester
677 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
678 id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
679 namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
680 properties="hasSynonyms, isClassification"
681 type="java.lang.Object">
682 </propertyTester>
683
684 <propertyTester
685 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
686 id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
687 namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
688 properties="hasTaxa"
689 type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
690 </propertyTester>
691 <propertyTester
692 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
693 id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
694 namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
695 properties="hasTaxa"
696 type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
697 </propertyTester>
698 <propertyTester
699 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
700 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
701 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
702 properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
703 type="org.eclipse.jface.viewers.IStructuredSelection">
704 </propertyTester>
705 <propertyTester
706 class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
707 id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
708 namespace="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
709 properties="isCdmStoreConnected,isRemoting,isStandAlone"
710 type="java.lang.Object">
711 </propertyTester>
712 </extension>
713 <extension
714 point="org.eclipse.core.expressions.definitions">
715 <definition
716 id="isTaxonNode">
717 <with
718 variable="selection">
719 <iterate
720 ifEmpty="false">
721 <instanceof
722 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
723 </instanceof>
724 </iterate>
725 </with>
726 </definition>
727 <definition
728 id="isSynonymNode">
729 <with
730 variable="selection">
731 <iterate
732 ifEmpty="false">
733 <instanceof
734 value="eu.etaxonomy.cdm.model.taxon.Synonym">
735 </instanceof>
736 </iterate>
737 </with>
738 </definition>
739
740 <definition
741 id="isChecklistEditorEnabled">
742 <with
743 variable="selection">
744 <test
745 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
746 </test>
747 </with>
748 </definition>
749 <definition
750 id="isCdmStoreConnected">
751 <test
752 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
753 </test>
754 </definition>
755 <definition
756 id="isShowExperimentalFeatures">
757 <with
758 variable="selection">
759 <test
760 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
761 </test>
762 </with>
763 </definition>
764 <definition
765 id="isRemoting">
766 <test
767 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
768 </test>
769 </definition>
770 <definition
771 id="isStandAlone">
772 <test
773 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
774 </test>
775 </definition>
776 </extension>
777 <extension
778 id="eu.etaxonomy.taxeditor.navigation.workbench.model"
779 name="Navigation Workbench Model"
780 point="org.eclipse.e4.workbench.model">
781 <fragment
782 apply="always"
783 uri="fragment.e4xmi">
784 </fragment>
785 </extension>
786 </plugin>