Interface ModelListener


  • public interface ModelListener
    Listener for model changes.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beforeChange​(javax.jmi.reflect.RefObject abstractRefObject, java.lang.String featureName)
      Method is called before model is changed.
      void changed​(javax.jmi.reflect.RefObject object)
      Object was changed
      void eventDeliveryRestored​(ModifiedElements modifiedElements, java.util.List<java.beans.PropertyChangeEvent> propertyChangeEvents)
      Notifies the listener that event delivery has been restored
      void eventDeliveryStopped()
      Notifies the listener that event delivery has been stopped temporarily.
      void modelChanged​(java.beans.PropertyChangeEvent evt)
      Model was changed with given property change event.
    • Method Detail

      • modelChanged

        void modelChanged​(java.beans.PropertyChangeEvent evt)
        Model was changed with given property change event.
        Parameters:
        evt - event of model change
      • changed

        void changed​(javax.jmi.reflect.RefObject object)
        Object was changed
        Parameters:
        object - event of model change
      • beforeChange

        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
      • eventDeliveryStopped

        void eventDeliveryStopped()
        Notifies the listener that event delivery has been stopped temporarily. Changes may take place before event delivery is restored but events will not be delivered for these changes
      • 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