</test>
</with>
</definition>
+ <definition
+ id="isSequence">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
+ </test>
+ </with>
+ </definition>
+ <definition
+ id="isSingleRead">
+ <with
+ variable="selection">
+ <test
+ property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
+ </test>
+ </with>
+ </definition>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
properties="isGroupEditor"
type="eu.etaxonomy.taxeditor.bulkeditor.BulkEditor">
</propertyTester>
+ <propertyTester
+ class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
+ properties="isSequence,isSingleRead"
+ type="org.eclipse.jface.viewers.IStructuredSelection">
+ </propertyTester>
</extension>
<extension
point="org.eclipse.ui.bindings">
-package eu.etaxonomy.taxeditor.molecular.handler;
+package eu.etaxonomy.taxeditor.editor.handler;
import org.eclipse.core.expressions.PropertyTester;
public SpecimenPropertyTester() {}
-
- /* (non-Javadoc)
- * @see org.eclipse.core.expressions.IPropertyTester#test(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Object)
- */
/** {@inheritDoc} */
@Override
public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
return false;
}
-
private boolean isSequence(Object object) {
return (object instanceof Sequence);
}
-
private boolean isSingleReadAlignment(Object object) {
return (object instanceof SingleRead);
}
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