Class EditorFactory

java.lang.Object
repast.simphony.visualization.editor.EditorFactory

public class EditorFactory extends Object
Deprecated.
2D piccolo based code is being removed
Singleton factory for creating display editors.
  • Method Details

    • getInstance

      public static EditorFactory getInstance()
      Deprecated.
    • reset

      public void reset()
      Deprecated.
      Resets this EditorFactory prior to a simulation run.
    • create3DEditor

      public DisplayEditorLifecycle create3DEditor(Display3D display, JPanel panel)
      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 for
      panel - 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 for
      canvas - the canvas displayed by the 2D display for which this is to be an editor
      panel - a border laid out panel to which any editor components can be added
      Returns:
      an editor for editing a 2D display