public interface UndoableSupport
Modifier and Type | Method and Description |
---|---|
void |
beginCompoundEdit(boolean isUndoRedo)
Begins the edit of the model.
|
void |
endCompoundEdit()
Ends the edit of the model.
|
UndoableEditSupport |
getUndoableEditSupport()
Gets the UndoableEditSupport instance to add UndoableListener.
|
UndoManager |
getUndoManager()
Gets the UndoManager.
|
UndoManager getUndoManager()
UndoableEditSupport getUndoableEditSupport()
void beginCompoundEdit(boolean isUndoRedo)
isUndoRedo
- the flag to indicate if this operation is triggered by undo/redovoid endCompoundEdit()