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