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 restored
      void eventDeliveryRestored​(ModifiedElements modifiedElements, java.util.List<java.beans.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 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 changed
        featureName - 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 stopped
        propertyChangeEvents - 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 interface com.dassault_systemes.modeler.foundation.events.ModelListener
        Parameters:
        modifiedElements - modified elements during events stopped
        propertyChangeEvents - events generated while delivery was stopped