Interface InterpreterBaseIndexChangeListener


public interface InterpreterBaseIndexChangeListener
Listener interface for change notifications from the Refinery Base index.
Since:
0.9
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyChanged(boolean indexChanged)
    Called after a model change is handled by the Refinery Interpreter base index and if indexChanged == onlyOnIndexChange().
    boolean
    NOTE: it is possible that this method is called only ONCE! Consider returning a constant value that is set in the constructor.
  • Method Details

    • onlyOnIndexChange

      boolean onlyOnIndexChange()
      NOTE: it is possible that this method is called only ONCE! Consider returning a constant value that is set in the constructor.
      Returns:
      true, if the listener should be notified only after index changes, false if notification is needed after each model change
    • notifyChanged

      void notifyChanged(boolean indexChanged)
      Called after a model change is handled by the Refinery Interpreter base index and if indexChanged == onlyOnIndexChange().
      Parameters:
      indexChanged - true, if the model change also affected the contents of the base index