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 Type
    Method
    Description
    default 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 restored
    void
    eventDeliveryRestored(com.nomagic.uml2.ext.jmi.ModifiedElements modifiedElements, List<PropertyChangeEvent> propertyChangeEvents)
    Notifies the listener that event delivery has been restored

    Methods inherited from interface com.dassault_systemes.modeler.foundation.events.ModelListener

    beforeChange, eventDeliveryStopped, modelChanged
  • Method Details

    • beforeChange

      default void beforeChange(javax.jmi.reflect.RefObject abstractRefObject, String featureName)
      Method is called before model is changed.
      Parameters:
      abstractRefObject - object which will be changed
      featureName - 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 stopped
      propertyChangeEvents - 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 interface com.dassault_systemes.modeler.foundation.events.ModelListener
      Parameters:
      modifiedElements - modified elements during events stopped
      propertyChangeEvents - events generated while delivery was stopped