protected class AbstractModel.ModelUndoableEdit extends CompoundEdit
edits
RedoName, UndoName
Modifier | Constructor and Description |
---|---|
protected |
ModelUndoableEdit() |
Modifier and Type | Method and Description |
---|---|
boolean |
addEdit(UndoableEdit anEdit) |
void |
justUndo() |
void |
redo() |
void |
undo() |
canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, toString
replaceEdit
public boolean addEdit(UndoableEdit anEdit)
addEdit
in interface UndoableEdit
addEdit
in class CompoundEdit
public void redo() throws CannotRedoException
redo
in interface UndoableEdit
redo
in class CompoundEdit
CannotRedoException
public void undo() throws CannotUndoException
undo
in interface UndoableEdit
undo
in class CompoundEdit
CannotUndoException
public void justUndo()