Class EditorNotifier


  • public class EditorNotifier
    extends Object
    Deprecated.
    2D piccolo based code is being removed
    Manages the coordination between DisplayEditors such that edits performed by one are reflected in the other displays.
    Author:
    Nick Collier
    • Constructor Detail

      • EditorNotifier

        public EditorNotifier()
        Deprecated.
    • Method Detail

      • addDisplay

        public void addDisplay​(IDisplay display)
        Deprecated.
        Adds the specified display to the list of displays to updated due to an editor event.
        Parameters:
        display - the display to add
      • addEditor

        public void addEditor​(DisplayEditor2D editor)
        Deprecated.
        Adds the specified editor to the list of editors to be updated due to an editor event.
        Parameters:
        editor - the editor to add
      • reset

        public void reset()
        Deprecated.
        Resets the editor manager prior to another simulation run.
      • editorEventOccurred

        public void editorEventOccurred()
        Deprecated.
        Invoked when some editor event occurs that should be reflected in other displays. For example, if an agent is added.