public class MetadataSequenceEdit extends AbstractSequenceEdit
Constructor and Description |
---|
MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous,
Sequence sequence) |
MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous,
Sequence sequence,
java.awt.Image icon) |
MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous,
Sequence sequence,
java.lang.String name) |
MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous,
Sequence sequence,
java.lang.String name,
java.awt.Image icon) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
void |
undo()
Throws
CannotUndoException if canUndo returns false . |
getSequence
addEdit, canUndo, die, getIcon, getPresentationName, getRedoPresentationName, getSource, getUndoPresentationName, isMergeable, isSignificant, redo, replaceEdit, setMergeable, toString
public MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous, Sequence sequence, java.lang.String name, java.awt.Image icon)
public MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous, Sequence sequence, java.awt.Image icon)
public MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous, Sequence sequence, java.lang.String name)
public MetadataSequenceEdit(ome.xml.meta.OMEXMLMetadata previous, Sequence sequence)
public void undo() throws javax.swing.undo.CannotUndoException
AbstractIcyUndoableEdit
CannotUndoException
if canUndo
returns false
.
Sets hasBeenDone
to false
. Subclasses should override to undo the
operation represented by this edit. Override should begin with
a call to super.undo
in interface javax.swing.undo.UndoableEdit
undo
in class AbstractIcyUndoableEdit
javax.swing.undo.CannotUndoException
- if canUndo
returns false
AbstractIcyUndoableEdit.canUndo()
public boolean canRedo()
canRedo
in interface javax.swing.undo.UndoableEdit
canRedo
in class AbstractIcyUndoableEdit