Package ghidra.framework.model
Interface TransactionListener
-
public interface TransactionListener
An interface for listening to transactions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transactionEnded(DomainObjectAdapterDB domainObj)
Invoked when a transaction is ended.void
transactionStarted(DomainObjectAdapterDB domainObj, Transaction tx)
Invoked when a transaction is started.void
undoRedoOccurred(DomainObjectAdapterDB domainObj)
Notification that undo or redo has occured.void
undoStackChanged(DomainObjectAdapterDB domainObj)
Invoked when the stack of available undo/redo's has changed.
-
-
-
Method Detail
-
transactionStarted
void transactionStarted(DomainObjectAdapterDB domainObj, Transaction tx)
Invoked when a transaction is started.- Parameters:
domainObj
- the domain object where the transaction was startedtx
- the transaction that was started
-
transactionEnded
void transactionEnded(DomainObjectAdapterDB domainObj)
Invoked when a transaction is ended.- Parameters:
domainObj
- the domain object where the transaction was ended
-
undoStackChanged
void undoStackChanged(DomainObjectAdapterDB domainObj)
Invoked when the stack of available undo/redo's has changed.- Parameters:
domainObj
- the affected domain object
-
undoRedoOccurred
void undoRedoOccurred(DomainObjectAdapterDB domainObj)
Notification that undo or redo has occured.- Parameters:
domainObj
- the affected domain object
-
-