commandId="eu.etaxonomy.taxeditor.store.datasource.change"
label="Connect"
style="push">
+ <visibleWhen>
+ <with
+ variable="selection">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
+ </test>
+ </not>
+ </with>
+ </visibleWhen>
</command>
<command
commandId="eu.etaxonomy.taxeditor.store.datasource.create"
commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
label="Edit"
style="push">
+ <visibleWhen>
+ <with
+ variable="selection">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
+ </test>
+ </not>
+ </with>
+ </visibleWhen>
</command>
<command
commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
label="Clone"
style="push">
+ <visibleWhen>
+ <with
+ variable="selection">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
+ </test>
+ </not>
+ </with>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.taxeditor.store.datasource.separator"
commandId="org.eclipse.ui.edit.delete"
label="Delete"
style="push">
+ <visibleWhen>
+ <with
+ variable="selection">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
+ </test>
+ </not>
+ </with>
+ </visibleWhen>
</command>
<separator
name="eu.etaxonomy.taxeditor.store.datasource.separator2"
commandId="eu.etaxonomy.taxeditor.store.datasource.close"
label="Close Active Connection"
style="push">
+ <visibleWhen>
+ <with
+ variable="selection">
+ <not>
+ <test
+ property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
+ </test>
+ </not>
+ </with>
+ </visibleWhen>
</command>
<command
commandId="eu.etaxonomy.taxeditor.store.datasource.update"
</reference>
</not>
</visibleWhen>
+
</command>
</menuContribution>
<menuContribution
</reference></enabledWhen>
</handler>
</extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
+ id="eu.etaxonomy.taxeditor.datasource.connect"
+ name="Connect">
+ </command>
+ </extension>
<extension
name="Popup Menu Commands"
point="org.eclipse.ui.commands">
id="eu.etaxonomy.taxeditor.io.import.jaxb"
name="JAXB">
</wizard> -->
- <wizard
+ <!-- <wizard
category="eu.etaxonomy.taxeditor.import.category.cdm"
class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
id="eu.etaxonomy.taxeditor.io.import.berlinModel"
class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
id="eu.etaxonomy.taxeditor.io.import.endnote"
name="Endnote">
- </wizard>
+ </wizard>-->
<wizard
category="eu.etaxonomy.taxeditor.import.category.cdm"
class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
id="eu.etaxonomy.taxeditor.io.export.jaxb"
name="JAXB">
</wizard>
- <wizard
+ <!--<wizard
category="eu.etaxonomy.taxeditor.export.category.cdm"
class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
id="eu.etaxonomy.taxeditor.io.export.berlinModel"
name="Berlin Model">
- </wizard>
+ </wizard>-->
<category
id="eu.etaxonomy.taxeditor.export.category.excel"
name="Excel">
namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
properties="isCompatible"
type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
+ <propertyTester
+ class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
+ id="eu.etaxonomy.taxeditor.datasource.propertyTester"
+ namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
+ properties="test"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
</propertyTester>
<propertyTester
class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"