Package ghidra.framework.data
Interface DomainObjectDBChangeSet
-
- All Superinterfaces:
DBChangeSet
public interface DomainObjectDBChangeSet extends DBChangeSet
DomainObjectDBChangeSet
extendsDBChangeSet
providing methods which facilitate transaction synchronization with the domain object's DBHandle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearUndo()
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
startTransaction()
Start change data transaction.void
undo()
Undo the last change data transaction-
Methods inherited from interface db.DBChangeSet
read, write
-
-
-
-
Method Detail
-
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
-
-