Package ghidra.framework.model
Interface TransactionListener
public interface TransactionListener
An interface for listening to transactions
-
Method Summary
Modifier and TypeMethodDescriptionvoidtransactionEnded(DomainObjectAdapterDB domainObj) Invoked when a transaction is ended.voidtransactionStarted(DomainObjectAdapterDB domainObj, TransactionInfo tx) Invoked when a transaction is started.voidundoRedoOccurred(DomainObjectAdapterDB domainObj) Notification that undo or redo has occurred.voidundoStackChanged(DomainObjectAdapterDB domainObj) Invoked when the stack of available undo/redo's has changed.
-
Method Details
-
transactionStarted
Invoked when a transaction is started.- Parameters:
domainObj- the domain object where the transaction was startedtx- the transaction that was started
-
transactionEnded
Invoked when a transaction is ended.- Parameters:
domainObj- the domain object where the transaction was ended
-
undoStackChanged
Invoked when the stack of available undo/redo's has changed.- Parameters:
domainObj- the affected domain object
-
undoRedoOccurred
Notification that undo or redo has occurred.- Parameters:
domainObj- the affected domain object
-