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