public abstract class UndoOperation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isMarker |
private static java.util.concurrent.atomic.AtomicInteger |
operationCounter |
protected int |
operationNumber |
Constructor and Description |
---|
UndoOperation() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
boolean |
canUndo() |
UndoOperation |
combineWith(UndoOperation previous) |
java.lang.String |
getDescription() |
abstract java.lang.String |
getLabel() |
int |
getOperationNumber() |
java.lang.String |
getRedoLabel() |
java.lang.String |
getUndoLabel() |
boolean |
isMarker() |
abstract void |
redo() |
abstract void |
undo() |
private static final java.util.concurrent.atomic.AtomicInteger operationCounter
protected int operationNumber
protected boolean isMarker
public int getOperationNumber()
public boolean isMarker()
public boolean canUndo()
public boolean canRedo()
public abstract void undo() throws UndoException
UndoException
public abstract void redo() throws UndoException
UndoException
public abstract java.lang.String getLabel()
public java.lang.String getUndoLabel()
public java.lang.String getRedoLabel()
public java.lang.String getDescription()
public UndoOperation combineWith(UndoOperation previous)
Copyright 2004-2015 Wandora Team