</visibleWhen>
</dynamic>
</menuContribution>
- <menuContribution
- locationURI="menu:eu.etaxonomy.navigation.menu.new">
- <command
- commandId="eu.etaxonomy.taxeditor.navigation.command.create.taxonNode"
- label="%command.label.13"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- <separator
- name="eu.etaxonomy.navigation.menu.new.separator1"
- visible="true">
- </separator>
- <command
- commandId="eu.etaxonomy.taxeditor.navigation.create.classification"
- id="eu.etaxonomy.taxeditor.navigation.create.classificationHandler"
- label="%command.label.14"
- style="push">
- <visibleWhen
- checkEnabled="true">
- <reference
- definitionId="isCdmStoreConnected">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension
- point="org.eclipse.ui.navigator.navigatorContent">
- <navigatorContent
- contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationContentProvider"
- id="eu.etaxonomy.taxeditor.navigation.classificationContent"
- labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.ClassificationLabelProvider"
- name="%navigatorContent.name">
- <triggerPoints>
- <instanceof
- value="eu.etaxonomy.taxeditor.navigation.navigator.Root">
- </instanceof>
- </triggerPoints>
- <possibleChildren>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </instanceof>
- </possibleChildren>
- <dropAssistant
- class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
- id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
- <possibleDropTargets></possibleDropTargets>
- </dropAssistant>
- </navigatorContent>
- <navigatorContent
- contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeContentProvider"
- id="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"
- labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodeLabelProvider"
- name="%navigatorContent.name.0">
- <triggerPoints>
- <or>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </instanceof>
- <and>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.Classification">
- </instanceof>
- <test
- forcePluginActivation="true"
- property="eu.etaxonomy.taxeditor.propertytests.hasTaxa">
- </test>
- </and>
- </or>
- </triggerPoints>
- <dropAssistant
- class="eu.etaxonomy.taxeditor.navigation.navigator.TreeNodeDropAdapterAssistant"
- id="eu.etaxonomy.taxeditor.navigation.navigator.dropassistant">
- <possibleDropTargets>
- <or>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </instanceof>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.Classification">
- </instanceof>
- </or>
- </possibleDropTargets>
- </dropAssistant>
- <possibleChildren>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </instanceof>
- </possibleChildren>
- </navigatorContent>
- <navigatorContent
- activeByDefault="false"
- contentProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymContentProvider"
- id="eu.etaxonomy.taxeditor.navigation.synonymContent"
- labelProvider="eu.etaxonomy.taxeditor.navigation.navigator.SynonymLabelProvider"
- name="%navigatorContent.name.1"
- priority="highest">
- <triggerPoints>
- <and>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </instanceof>
- <test
- forcePluginActivation="true"
- property="eu.etaxonomy.taxeditor.propertytests.hasSynonyms">
- </test>
- </and>
- </triggerPoints>
- <possibleChildren>
- <instanceof
- value="eu.etaxonomy.cdm.model.taxon.Synonym">
- </instanceof>
- </possibleChildren>
- </navigatorContent>
- </extension>
- <extension
- point="org.eclipse.ui.navigator.viewer">
- <viewer
- viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
- <popupMenu
- id="eu.etaxonomy.taxeditor.navigation.navigatorpopup">
- </popupMenu>
- </viewer>
- <viewerContentBinding viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
- <includes>
- <contentExtension
- pattern="eu.etaxonomy.taxeditor.navigation.classificationContent">
- </contentExtension>
- <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonNodeContent"/>
- <contentExtension pattern="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper"/>
- <contentExtension
- pattern="eu.etaxonomy.taxeditor.navigation.synonymContent">
- </contentExtension>
- </includes>
- </viewerContentBinding>
- <dragAssistant
- class="eu.etaxonomy.taxeditor.navigation.navigator.dnd.TaxonNavigatorDragAdapterAssistant"
- viewerId="eu.etaxonomy.taxeditor.navigation.navigator">
- </dragAssistant>
- </extension>
- <extension
- point="org.eclipse.ui.navigator.linkHelper">
- <linkHelper
- class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonLinkHelper"
- id="eu.etaxonomy.taxeditor.navigation.taxonlinkhelper">
- <selectionEnablement>
- <instanceof value="eu.etaxonomy.cdm.model.taxon.TaxonNode"/>
- </selectionEnablement>
- <editorInputEnablement>
- <instanceof value="eu.etaxonomy.taxeditor.editor.TaxonEditorInput"/>
- </editorInputEnablement>
- </linkHelper>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
- properties="hasSynonyms, isClassification"
+ properties="hasSynonyms,isClassification,isUnplaced,isExcluded,noClassificationExists,isNotClassification"
type="java.lang.Object">
</propertyTester>
- <propertyTester
+ <!--<propertyTester
class="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester"
id="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
namespace="eu.etaxonomy.taxeditor.navigation.navigator.navigatorPropertyTester"
properties="hasTaxa"
type="eu.etaxonomy.cdm.model.taxon.TaxonNode">
- </propertyTester>
+ </propertyTester>-->
<propertyTester
class="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
id="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester"
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
</test>
</definition>
+ <definition
+ id="isCdmStoreNotConnected">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnected">
+ </test>
+ </not>
+ </definition>
<definition
id="isRemoting">
<test
property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isStandAlone">
</test>
</definition>
+ <definition
+ id="isCdmStoreConnectedAndShowExperimental">
+ <and>
+ <reference
+ definitionId="isShowExperimentalFeatures">
+ </reference>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </and>
+ </definition>
+ <definition
+ id="isCdmStoreConnectedAndShowIOMenuEnabled">
+ <and>
+ <reference
+ definitionId="isShowIOMenuEnabled">
+ </reference>
+ <reference
+ definitionId="isCdmStoreConnected">
+ </reference>
+ </and>
+ </definition>
+ <definition
+ id="isCdmStoreConnectedAndNotLocalActive">
+ <test
+ property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnectedAndNotLocalActive">
+ </test>
+ </definition>
+ <definition
+ id="isCdmStoreConnectedAndLocalActive">
+ <test
+ property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isCdmStoreConnectedAndLocalActive">
+ </test>
+ </definition>
+ <definition
+ id="isClassification">
+ <test
+ property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isClassification">
+ </test>
+ </definition>
+ <definition
+ id="isNotClassification">
+ <test
+ property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isNotClassification">
+ </test>
+ </definition>
+ <definition
+ id="isUnplaced">
+ <test
+ property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isUnplaced">
+ </test>
+ </definition>
+ <definition
+ id="isExcluded">
+ <test
+ property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.isExcluded">
+ </test>
+ </definition>
+ <definition
+ id="noClassificationExists">
+ <test
+ property="eu.etaxonomy.taxeditor.navigation.navigator.TaxonNodePropertyTester.noClassificationExists">
+ </test>
+ </definition>
</extension>
<extension
id="eu.etaxonomy.taxeditor.navigation.workbench.model"