public class ROIRemoveSequenceEdit extends AbstractROISequenceEdit
| Constructor and Description |
|---|
ROIRemoveSequenceEdit(Sequence sequence,
ROI source) |
| Modifier and Type | Method and Description |
|---|---|
void |
redo()
Throws
CannotRedoException if canRedo returns false. |
void |
undo()
Throws
CannotUndoException if canUndo returns false. |
die, getROIgetSequenceaddEdit, canRedo, canUndo, getIcon, getPresentationName, getRedoPresentationName, getSource, getUndoPresentationName, isMergeable, isSignificant, replaceEdit, setMergeable, toStringpublic ROIRemoveSequenceEdit(Sequence sequence, ROI source)
public void undo() throws javax.swing.undo.CannotUndoException
AbstractIcyUndoableEditCannotUndoException 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.UndoableEditundo in class AbstractIcyUndoableEditjavax.swing.undo.CannotUndoException - if canUndo returns falseAbstractIcyUndoableEdit.canUndo()public void redo() throws javax.swing.undo.CannotRedoException
AbstractIcyUndoableEditCannotRedoException if canRedo returns false. Sets
hasBeenDone to true.
Subclasses should override to redo the operation represented by
this edit. Override should begin with a call to super.redo in interface javax.swing.undo.UndoableEditredo in class AbstractIcyUndoableEditjavax.swing.undo.CannotRedoException - if canRedo returns falseAbstractIcyUndoableEdit.canRedo()