Package ghidra.framework.data
Interface DomainObjectDBChangeSet
- All Superinterfaces:
DBChangeSet
DomainObjectDBChangeSet
extends DBChangeSet
providing methods which facilitate transaction synchronization with the domain object's DBHandle.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the undo/redo stack.void
clearUndo
(boolean isCheckedOut) Resets the change sets after a save.void
endTransaction
(boolean commit) End change data transaction.void
redo()
Redo the change data transaction associated the last Undo.void
setMaxUndos
(int maxUndos) Set the undo/redo stack depthvoid
Start change data transaction.void
undo()
Undo the last change data transactionMethods inherited from interface db.DBChangeSet
read, write
-
Method Details
-
clearUndo
void clearUndo(boolean isCheckedOut) Resets the change sets after a save. -
undo
void undo()Undo the last change data transaction -
redo
void redo()Redo the change data transaction associated the last Undo. -
setMaxUndos
void setMaxUndos(int maxUndos) Set the undo/redo stack depth- Parameters:
maxUndos
- the maximum numbder of undo
-
clearUndo
void clearUndo()Clears the undo/redo stack. -
startTransaction
void startTransaction()Start change data transaction. -
endTransaction
void endTransaction(boolean commit) End change data transaction.- Parameters:
commit
- if true transaction data is committed, otherwise transaction data is discarded
-