Package com.nomagic.uml2.transaction
Interface ModelListener
- All Superinterfaces:
com.dassault_systemes.modeler.foundation.events.ModelListener
public interface ModelListener
extends com.dassault_systemes.modeler.foundation.events.ModelListener
Listener for model changes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
beforeChange
(javax.jmi.reflect.RefObject abstractRefObject, String featureName) Method is called before model is changed.default void
eventDeliveryRestored
(com.dassault_systemes.modeler.foundation.events.ModifiedElements modifiedElements, List<PropertyChangeEvent> propertyChangeEvents) Notifies the listener that event delivery has been restoredvoid
eventDeliveryRestored
(com.nomagic.uml2.ext.jmi.ModifiedElements modifiedElements, List<PropertyChangeEvent> propertyChangeEvents) Notifies the listener that event delivery has been restoredMethods inherited from interface com.dassault_systemes.modeler.foundation.events.ModelListener
beforeChange, eventDeliveryStopped, modelChanged
-
Method Details
-
beforeChange
Method is called before model is changed.- Parameters:
abstractRefObject
- object which will be changedfeatureName
- feature name which will be changed
-
eventDeliveryRestored
void eventDeliveryRestored(com.nomagic.uml2.ext.jmi.ModifiedElements modifiedElements, List<PropertyChangeEvent> propertyChangeEvents) Notifies the listener that event delivery has been restored- Parameters:
modifiedElements
- modified elements during events stoppedpropertyChangeEvents
- events generated while delivery was stopped
-
eventDeliveryRestored
default void eventDeliveryRestored(com.dassault_systemes.modeler.foundation.events.ModifiedElements modifiedElements, List<PropertyChangeEvent> propertyChangeEvents) Description copied from interface:com.dassault_systemes.modeler.foundation.events.ModelListener
Notifies the listener that event delivery has been restored- Specified by:
eventDeliveryRestored
in interfacecom.dassault_systemes.modeler.foundation.events.ModelListener
- Parameters:
modifiedElements
- modified elements during events stoppedpropertyChangeEvents
- events generated while delivery was stopped
-