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