Package com.nomagic.uml2.transaction
Class TransactionCommitListenerWrapper
java.lang.Object
com.nomagic.uml2.transaction.TransactionCommitListenerWrapper
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.transaction.TransactionListener
public class TransactionCommitListenerWrapper
extends Object
implements com.dassault_systemes.modeler.foundation.transaction.TransactionListener
A wrapper of @
TransactionCommitListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allTransactionsCompleted
(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Invoked when all transactions (master and nested) are completed.toString()
void
transactionCompleted
(Collection<PropertyChangeEvent> events, com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Notifies that transaction is completed and provides changes done in the transaction.void
transactionStarted
(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Invoked when transaction is started.
-
Constructor Details
-
TransactionCommitListenerWrapper
-
-
Method Details
-
transactionStarted
public void transactionStarted(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Description copied from interface:com.dassault_systemes.modeler.foundation.transaction.TransactionListener
Invoked when transaction is started.- Specified by:
transactionStarted
in interfacecom.dassault_systemes.modeler.foundation.transaction.TransactionListener
-
transactionCompleted
public void transactionCompleted(Collection<PropertyChangeEvent> events, com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Description copied from interface:com.dassault_systemes.modeler.foundation.transaction.TransactionListener
Notifies that transaction is completed and provides changes done in the transaction. Listener can modify model.- Specified by:
transactionCompleted
in interfacecom.dassault_systemes.modeler.foundation.transaction.TransactionListener
- Parameters:
events
- events recorded during transaction.
-
allTransactionsCompleted
public void allTransactionsCompleted(com.dassault_systemes.modeler.foundation.transaction.TransactionOptions options) Description copied from interface:com.dassault_systemes.modeler.foundation.transaction.TransactionListener
Invoked when all transactions (master and nested) are completed.- Specified by:
allTransactionsCompleted
in interfacecom.dassault_systemes.modeler.foundation.transaction.TransactionListener
-
getListener
-
toString
-