Class EditorNotifier
- java.lang.Object
-
- repast.simphony.visualization.editor.EditorNotifier
-
public class EditorNotifier extends Object
Deprecated.2D piccolo based code is being removedManages the coordination between DisplayEditors such that edits performed by one are reflected in the other displays.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description EditorNotifier()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addDisplay(IDisplay display)
Deprecated.Adds the specified display to the list of displays to updated due to an editor event.void
addEditor(DisplayEditor2D editor)
Deprecated.Adds the specified editor to the list of editors to be updated due to an editor event.void
editorEventOccurred()
Deprecated.Invoked when some editor event occurs that should be reflected in other displays.void
reset()
Deprecated.Resets the editor manager prior to another simulation run.
-
-
-
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.
-
-