Class IrisConsole.IrisViewManager

java.lang.Object
com.illumon.iris.gui.workspace.ViewManager
com.illumon.iris.console.events.IrisConsole.IrisViewManager
All Implemented Interfaces:
Workspace
Enclosing class:
IrisConsole

public class IrisConsole.IrisViewManager extends ViewManager
  • Method Details

    • updateView

      public IrisView updateView(String type, String title, String id, Map<String,String> params)
      Overrides:
      updateView in class ViewManager
    • init

      protected void init()
      Overrides:
      init in class ViewManager
    • createViewMap

      protected com.illumon.infonode.docking.util.StringViewMap createViewMap()
      Specified by:
      createViewMap in class ViewManager
    • createView

      protected IrisView createView(String type, String title, String viewId, Map<String,String> params)
      Attempts to create a view for the specified type and parameters. If the view creation fails for any reason this method will put up a placeholder containing error details that will also preserve any workspace state information, so if a user saves the workspace with a broken component, its data will not be lost.
      Specified by:
      createView in class ViewManager
      Parameters:
      type - The type of view being created
      title - The title of the view
      viewId - The view ID to use for checking for reuse
      params - The view-type specific parameters to create the view
      Returns:
      An IrisView containing the recreated view, or an error panel containing failure details
    • maybeUpdateParams

      protected void maybeUpdateParams(Map<String,String> params, Map<String,String> viewIdMap)
      Overrides:
      maybeUpdateParams in class ViewManager
    • getConsoleForParams

      public EmbeddedDbConsole getConsoleForParams(Map<String,String> params, String title)