Class EditorFactory
java.lang.Object
repast.simphony.visualization.editor.EditorFactory
Deprecated.
2D piccolo based code is being removed
Singleton factory for creating display editors.
-
Method Summary
Modifier and TypeMethodDescriptioncreate2DEditor
(Display2D display, org.piccolo2d.PCanvas canvas, JPanel panel) Deprecated.Creates an editor for editing a 2D display using the specified data, canvas, and panel.create3DEditor
(Display3D display, JPanel panel) Deprecated.Creates an editor for editing the specified 3D display using the specified panel.static EditorFactory
Deprecated.void
reset()
Deprecated.Resets this EditorFactory prior to a simulation run.
-
Method Details
-
getInstance
Deprecated. -
reset
public void reset()Deprecated.Resets this EditorFactory prior to a simulation run. -
create3DEditor
Deprecated.Creates an editor for editing the specified 3D display using the specified panel. This does not edit in the 3D display directly but rather creates 2D projection(s) of the 3D and allows the user to edit those displays.- Parameters:
display
- the display to create the editor forpanel
- a border laid out panel to which any editor components can be added- Returns:
- an editor for editing a 3D display
-
create2DEditor
public DisplayEditorLifecycle create2DEditor(Display2D display, org.piccolo2d.PCanvas canvas, JPanel panel) Deprecated.Creates an editor for editing a 2D display using the specified data, canvas, and panel.- Parameters:
display
- the display to create the editor forcanvas
- the canvas displayed by the 2D display for which this is to be an editorpanel
- a border laid out panel to which any editor components can be added- Returns:
- an editor for editing a 2D display
-