class="eu.etaxonomy.taxeditor.molecular.editor.AlignmentEditor"
default="false"
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor"
- name="Alignment Editor">
+ name="%editor.ALIGNMENT_EDITOR">
</editor>
</extension>
<extension
allowMultiple="true"
class="eu.etaxonomy.taxeditor.molecular.editor.PherogramViewPart"
id="eu.etaxonomy.taxeditor.molecular.PherogramView"
- name="PherogramView"
+ name="%view.PHEROGRAM_VIEW"
restorable="true">
</view>
</extension>
<command
defaultHandler="eu.etaxonomy.taxeditor.molecular.handler.EditSequenceHandler"
id="eu.etaxonomy.taxeditor.molecular.editSequence"
- name="Edit Sequence">
+ name="%command.EDIT_SEQUENCE">
</command>
<command
defaultHandler="eu.etaxonomy.taxeditor.molecular.handler.ShowPherogramHandler"
id="eu.etaxonomy.taxeditor.molecular.showPherogram"
- name="Show Pherogram">
+ name="%command.name.SHOW_PHEROGRAM">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.cutPherogramLeft"
- name="Cut pherogram left">
+ name="%command.name.CUT_PHEROGRAM_LEFT">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.cutPherogramRight"
- name="Cut pherogram right">
+ name="%command.name.CUT_PHEROGRAM_RIGHT">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.reverseComplementRows"
- name="Reverse complement selected rows">
+ name="%command.name.REVERSE_COMPLEMENT_SELECTED_ROWS">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.createConsensus"
- name="(Re)create consensus sequence">
+ name="%command.name.CREATE_CONSENUS_SEQUENCE">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.updateConsensus"
- name="Update consensus sequence">
+ name="%command.name.UPDATE_CONSENSUS_SEQUENCE">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowProbabilities"
- name="Toggle show probability values">
+ name="%command.name.TOGGLE_SHOW_PROBABILITY_VALUES">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.pherogramComponent.toggleShowBaseCallLines"
- name="Toggle show base call lines">
+ name="%command.name.TOGGLE_SHOW_BASE_CALL_LINES">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
- name="Change quality output">
+ name="%command.name.CHANGE_QUALITY_OUTPUT">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.loadPherogram"
- name="Load Pherogram">
+ name="%command.name.LOAD_PHEROGRAM">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.toggleInsertOverwrite"
- name="Toggle insert/overwrite">
+ name="%command.name.TOGGLE_INSERT_OVERWRITE">
</command>
<command
id="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.toggleLeftRightInsertion"
- name="Toggle left/right insertion in base call sequence">
+ name="%command.name.TOGGLE_LEFT_RIGHT_INSERTION">
+ </command>
+ <command
+ defaultHandler="eu.etaxonomy.taxeditor.molecular.handler.ExportSequenceToFileHandler"
+ id="eu.etaxonomy.taxeditor.molecular.exportSequenceToFile"
+ name="%command.name.EXPORT_SEQUENCE_TO_FILE">
</command>
</extension>
<extension
id="eu.etaxonomy.taxeditor.molecular.alignmentToolbar">
<command
commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.toggleInsertOverwrite"
- label="Toggle insert/overwrite"
+ label="%command.TOGGLE_INSERT_OVERWRITE"
style="push">
<visibleWhen
checkEnabled="true">
allPopups="false"
locationURI="menu:org.eclipse.ui.main.menu">
<menu
- label="Alignment Editor">
+ label="%menu.ALIGNMENT_EDITOR">
<command
commandId="eu.etaxonomy.taxeditor.molecular.AlignmentEditor.loadPherogram"
style="push">
</visibleWhen>
</menu>
<menu
- label="Pherogram View">
+ label="%menu.label.PHEROGRAM_VIEW">
<command
commandId="eu.etaxonomy.taxeditor.molecular.pherogramComponent.changeQualityOutput"
style="push">
</menu>
</menuContribution>
<menuContribution
- locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView?before=eu.etaxonomy.taxeditor.editor.view.derivate.DerivateContextMenu">
+ locationURI="popup:eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView?before=eu.etaxonomy.taxeditor.editor.derivative.reuseSingleReadMenuItem">
+ <separator
+ name="eu.etaxonomy.taxeditor.molecular.separator5"
+ visible="true">
+ </separator>
<command
commandId="eu.etaxonomy.taxeditor.molecular.editSequence"
- label="Edit Sequence"
+ label="%command.label.EDIT_SEQUENCE"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <reference
+ definitionId="isSequence">
+ </reference>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="eu.etaxonomy.taxeditor.molecular.exportSequenceToFile"
+ label="%command.label.EXPORT_SEQUENCE_TO_FILE"
style="push">
<visibleWhen
checkEnabled="true">
</command>
<command
commandId="eu.etaxonomy.taxeditor.molecular.showPherogram"
- label="Show Pherogram"
+ label="%command.label.SHOW_PHEROGRAM"
style="push">
<visibleWhen
checkEnabled="true">
class="eu.etaxonomy.taxeditor.molecular.handler.ChangePherogramQualityOutputType"
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>
+ <handler
+ class="eu.etaxonomy.taxeditor.molecular.handler.AlignmentEditorCopyHandler"
+ commandId="org.eclipse.ui.edit.copy">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.molecular.handler.AlignmentEditorCutHandler"
+ commandId="org.eclipse.ui.edit.cut">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
+ <handler
+ class="eu.etaxonomy.taxeditor.molecular.handler.AlignmentEditorPasteHandler"
+ commandId="org.eclipse.ui.edit.paste">
+ <activeWhen>
+ <with
+ variable="activePartId">
+ <equals
+ value="eu.etaxonomy.taxeditor.molecular.AlignmentEditor">
+ </equals>
+ </with>
+ </activeWhen>
+ </handler>
</extension>
<extension
point="org.eclipse.ui.bindings">