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