Partial fix of Ticket #4728
[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 <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 <command
421 defaultHandler="eu.etaxonomy.taxeditor.navigation.navigator.handler.CreateClassificationHierarchyHandler"
422 id="eu.etaxonomy.taxeditor.navigation.navigator.handler.OpenFixClassificationHierarchyHandler"
423 name="%command.name.10">
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="org.eclipse.ui.edit.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="org.eclipse.ui.edit.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 </extension>
453
454
455 <!--extension
456 point="org.eclipse.ui.navigator.viewer">
457 <viewer
458 viewerId="org.eclipse.ui.examples.navigator.view">
459 </viewer>
460 <viewerContentBinding
461 viewerId="org.eclipse.ui.examples.navigator.view">
462 <includes>
463 <contentExtension
464 pattern="org.eclipse.ui.navigator.resourceContent" />
465 <contentExtension
466 pattern="org.eclipse.ui.navigator.resources.filters.*" />
467 </includes>
468 </viewerContentBinding>
469 <viewerActionBinding
470 viewerId="org.eclipse.ui.examples.navigator.view">
471 <includes>
472 <actionExtension
473 pattern="org.eclipse.ui.navigator.resources.*">
474 </actionExtension>
475 </includes>
476 </viewerActionBinding>
477 </extension>
478 <extension
479 point="org.eclipse.ui.navigator.navigatorContent">
480 <commonFilter
481 id="org.eclipse.ui.examples.navigator.filters.hideNonJavaProjects"
482 name="Hide non-Java projects">
483 <filterExpression>
484 <not>
485 <adapt
486 type="org.eclipse.core.resources.IProject">
487 <test
488 property="org.eclipse.core.resources.projectNature"
489 value="org.eclipse.jdt.core.javanature">
490 </test>
491 </adapt>
492 </not>
493 </filterExpression>
494 </commonFilter>
495 </extension-->
496
497
498
499
500
501
502 <extension
503 point="org.eclipse.ui.views">
504 <view
505 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator"
506 icon="icons/edit_16x16.gif"
507 id="eu.etaxonomy.taxeditor.navigation.navigator"
508 name="%view.name.2"/>
509 </extension>
510 <extension
511 point="org.eclipse.ui.navigator.navigatorContent">
512 <navigatorContent
513 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
514 id="eu.etaxonomy.taxeditor.navigation.classificationContent"
515 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
516 name="%navigatorContent.name">
517 <triggerPoints>
518 <instanceof
519 value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
520 </instanceof>
521 </triggerPoints>
522 <possibleChildren>
523 <instanceof
524 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
525 </instanceof>
526 </possibleChildren>
527 <dropAssistant
528 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
529 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
530 <possibleDropTargets></possibleDropTargets>
531 </dropAssistant>
532 </navigatorContent>
533 <navigatorContent
534 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
535 id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
536 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
537 name="%navigatorContent.name.0">
538 <triggerPoints>
539 <or>
540 <instanceof
541 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
542 </instanceof>
543 <and>
544 <instanceof
545 value="eu.etaxonomy.cdm.model.taxon.Classification">
546 </instanceof>
547 <test
548 forcePluginActivation="true"
549 property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
550 </test>
551 </and>
552 </or>
553 </triggerPoints>
554 <dropAssistant
555 class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
556 id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
557 <possibleDropTargets>
558 <or>
559 <instanceof
560 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
561 </instanceof>
562 <instanceof
563 value="eu.etaxonomy.cdm.model.taxon.Classification">
564 </instanceof>
565 </or>
566 </possibleDropTargets>
567 </dropAssistant>
568 <possibleChildren>
569 <instanceof
570 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
571 </instanceof>
572 </possibleChildren>
573 </navigatorContent>
574 <navigatorContent
575 activeByDefault="false"
576 contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
577 id="eu.etaxonomy.taxeditor.navigation.synonymContent"
578 labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
579 name="%navigatorContent.name.1"
580 priority="highest">
581 <triggerPoints>
582 <and>
583 <instanceof
584 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
585 </instanceof>
586 <test
587 forcePluginActivation="true"
588 property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
589 </test>
590 </and>
591 </triggerPoints>
592 <possibleChildren>
593 <instanceof
594 value="eu.etaxonomy.cdm.model.taxon.Synonym">
595 </instanceof>
596 </possibleChildren>
597 </navigatorContent>
598 </extension>
599 <extension
600 point="org.eclipse.ui.navigator.viewer">
601 <viewer
602 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
603 <popupMenu
604 id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
605 </popupMenu>
606 </viewer>
607 <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
608 <includes>
609 <contentExtension
610 pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
611 </contentExtension>
612 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
613 <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
614 <contentExtension
615 pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
616 </contentExtension>
617 </includes>
618 </viewerContentBinding>
619 <!--viewer
620 popupMenuId="eu.etaxonomy.taxeditor.navigation.navigator#PopupMenu"
621 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
622 <options>
623 <property
624 name="org.eclipse.ui.navigator.hideAvailableExtensionsTab"
625 value="true">
626 </property>
627 </options>
628 </viewer-->
629 <dragAssistant
630 class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
631 viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
632 </dragAssistant>
633 </extension>
634 <extension
635 point="org.eclipse.ui.navigator.linkHelper">
636 <linkHelper
637 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
638 id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
639 <selectionEnablement>
640 <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
641 </selectionEnablement>
642 <editorInputEnablement>
643 <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
644 </editorInputEnablement>
645 </linkHelper>
646 </extension>
647 <extension
648 point="org.eclipse.core.runtime.adapters">
649 <factory
650 adaptableType="org.eclipse.core.internal.resources.Workspace"
651 class="eu.etaxonomy.taxeditor.navigation.WorkbenchUndoContextAdapterFactory">
652 <adapter
653 type="org.eclipse.core.commands.operations.IUndoContext">
654 </adapter>
655 </factory>
656 </extension>
657 <extension
658 point="org.eclipse.core.expressions.propertyTesters">
659 <propertyTester
660 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
661 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
662 namespace="eu.etaxonomy.taxeditor.propertytests"
663 properties="hasSynonyms"
664 type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
665 </propertyTester>
666 <propertyTester
667 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
668 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
669 namespace="eu.etaxonomy.taxeditor.propertytests"
670 properties="hasTaxa"
671 type="eu.etaxonomy.cdm.model.taxon.TaxonomicTree">
672 </propertyTester>
673 <propertyTester
674 class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
675 id="eu.etaxonomy.taxeditor.propertytests.navigatorPropertyTester"
676 namespace="eu.etaxonomy.taxeditor.propertytests"
677 properties="hasTaxa"
678 type="eu.etaxonomy.cdm.model.taxon.Classification">
679 </propertyTester>
680 <propertyTester
681 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
682 id="eu.etaxonomy.taxeditor.preferences.propertyTester"
683 namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
684 properties="isCdmStoreConnected, isShowExperimentalFeatures, isChecklistEditorEnabled"
685 type="org.eclipse.jface.viewers.IStructuredSelection">
686 </propertyTester>
687 </extension>
688 <extension
689 point="org.eclipse.core.expressions.definitions">
690 <definition
691 id="isTaxonNode">
692 <with
693 variable="selection">
694 <iterate
695 ifEmpty="false">
696 <instanceof
697 value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
698 </instanceof>
699 </iterate>
700 </with>
701 </definition>
702 <definition
703 id="isSynonymNode">
704 <with
705 variable="selection">
706 <iterate
707 ifEmpty="false">
708 <instanceof
709 value="eu.etaxonomy.cdm.model.taxon.Synonym">
710 </instanceof>
711 </iterate>
712 </with>
713 </definition>
714 <definition
715 id="isClassification">
716 <with
717 variable="selection">
718 <iterate
719 ifEmpty="false">
720 <instanceof
721 value="eu.etaxonomy.cdm.model.taxon.Classification">
722 </instanceof>
723 </iterate>
724 </with>
725 </definition>
726 <definition
727 id="isChecklistEditorEnabled">
728 <with
729 variable="selection">
730 <test
731 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isChecklistEditorEnabled">
732 </test>
733 </with>
734 </definition>
735 <definition
736 id="isCdmStoreConnected">
737 <with
738 variable="selection">
739 <test
740 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isCdmStoreConnected">
741 </test>
742 </with>
743 </definition>
744 <definition
745 id="isShowExperimentalFeatures">
746 <with
747 variable="selection">
748 <test
749 property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
750 </test>
751 </with>
752 </definition>
753 </extension>
754 </plugin>