Package ghidra.framework.data
Interface DomainObjectDBChangeSet
-
- All Superinterfaces:
DBChangeSet
public interface DomainObjectDBChangeSet extends DBChangeSet
DomainObjectDBChangeSetextendsDBChangeSetproviding methods which facilitate transaction synchronization with the domain object's DBHandle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearUndo()Clears the undo/redo stack.voidclearUndo(boolean isCheckedOut)Resets the change sets after a save.voidendTransaction(boolean commit)End change data transaction.voidredo()Redo the change data transaction associated the last Undo.voidsetMaxUndos(int maxUndos)Set the undo/redo stack depthvoidstartTransaction()Start change data transaction.voidundo()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
-
-