<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.ui.main.menu">
- <menu
- label="View">
- <menu
- label="Pherogram">
- <command
- commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
- style="push">
- </command>
- <command
- commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
- style="push">
- </command>
- <visibleWhen
- checkEnabled="true">
- <with
- variable="activePartId">
- <or>
- <equals
- value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
- </equals>
- <equals
- value="eu.etaxonomy.taxeditor.molecular.PherogramView">
- </equals>
- </or>
- </with>
- </visibleWhen>
- </menu>
- </menu>
<menu
label="Alignment Editor">
<command
commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.updateConsensus"
style="push">
</command>
- <!--visibleWhen
+ <visibleWhen
checkEnabled="true">
<with
variable="activePartId">
value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
</equals>
</with>
- </visibleWhen-->
+ </visibleWhen>
+ </menu>
+ <menu
+ label="Pherogram View">
+ <command
+ commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
+ style="push">
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
+ style="push">
+ </command>
+ <visibleWhen
+ checkEnabled="true">
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.molecular.PherogramView">
+ </equals>
+ </with>
+ </visibleWhen>
</menu>
</menuContribution>
<menuContribution
commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput">
</handler>
</extension>
- <extension
- point="org.eclipse.core.expressions.definitions">
- <definition
- id="isSequence">
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.molecular.SpecimenPropertyTester.isSequence">
- </test>
- </with>
- </definition>
- <definition
- id="isSingleRead">
- <with
- variable="selection">
- <test
- property="eu.etaxonomy.taxeditor.molecular.SpecimenPropertyTester.isSingleRead">
- </test>
- </with>
- </definition>
- </extension>
- <extension
- point="org.eclipse.core.expressions.propertyTesters">
- <propertyTester
- class="eu.etaxonomy.taxeditor.molecular.handler.SpecimenPropertyTester"
- id="eu.etaxonomy.taxeditor.molecular.SpecimenPropertyTester"
- namespace="eu.etaxonomy.taxeditor.molecular.SpecimenPropertyTester"
- properties="isSequence,isSingleRead"
- type="org.eclipse.jface.viewers.IStructuredSelection">
- </propertyTester>
- </extension>
<extension
point="org.eclipse.ui.bindings">
<scheme