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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
beforeChange(javax.jmi.reflect.RefObject abstractRefObject, java.lang.String featureName)
Method is called before model is changed.default void
eventDeliveryRestored(com.dassault_systemes.modeler.foundation.events.ModifiedElements modifiedElements, java.util.List<java.beans.PropertyChangeEvent> propertyChangeEvents)
Notifies the listener that event delivery has been restoredvoid
eventDeliveryRestored(ModifiedElements modifiedElements, java.util.List<java.beans.PropertyChangeEvent> propertyChangeEvents)
Notifies the listener that event delivery has been restored
-
-
-
Method Detail
-
beforeChange
default void beforeChange(javax.jmi.reflect.RefObject abstractRefObject, java.lang.String featureName)
Method is called before model is changed.- Parameters:
abstractRefObject
- object which will be changedfeatureName
- feature name which will be changed
-
eventDeliveryRestored
void eventDeliveryRestored(ModifiedElements modifiedElements, java.util.List<java.beans.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, java.util.List<java.beans.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
-
-