Interface ViatraQueryModelUpdateListener


  • public interface ViatraQueryModelUpdateListener
    Listener interface for model changes affecting different levels of the VIATRA Query architecture.
    • Method Detail

      • notifyChanged

        void notifyChanged​(ViatraQueryModelUpdateListener.ChangeLevel changeLevel)
        Called after each change with also sending the level of change. Only called if the change level is at least at the level returned by getLevel().
        Parameters:
        changeLevel -
      • getLevel

        ViatraQueryModelUpdateListener.ChangeLevel getLevel()
        This may be queried only ONCE (!!!) at the registration of the listener. NOTE: this allows us to only create engine level change providers if there is someone who needs it.
        Returns:
        the change level where you want notifications