Package com.illumon.iris.console.events
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
-
Field Summary
-
Method Summary
Modifier and Type Method Description protected IrisViewcreateView(String type, String title, String viewId, Map<String,String> params)Attempts to create a view for the specified type and parameters.protected com.illumon.infonode.docking.util.StringViewMapcreateViewMap()EmbeddedDbConsolegetConsoleForParams(Map<String,String> params, String title)protected voidinit()protected voidmaybeUpdateParams(Map<String,String> params, Map<String,String> viewIdMap)IrisViewupdateView(String type, String title, String id, Map<String,String> params)Methods inherited from class com.illumon.iris.gui.workspace.ViewManager
addView, addView, addView, exportShare, getAndClearViewProblems, getWorkspaceInfo, importShare, isViewLocked, setViewLock, setWorkspaceInfo, updateView
-
Method Details
-
updateView
- Overrides:
updateViewin classViewManager
-
init
protected void init()- Overrides:
initin classViewManager
-
createViewMap
protected com.illumon.infonode.docking.util.StringViewMap createViewMap()- Specified by:
createViewMapin classViewManager
-
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:
createViewin classViewManager- Parameters:
type- The type of view being createdtitle- The title of the viewviewId- The view ID to use for checking for reuseparams- The view-type specific parameters to create the view- Returns:
- An IrisView containing the recreated view, or an error panel containing failure details
-
maybeUpdateParams
- Overrides:
maybeUpdateParamsin classViewManager
-
getConsoleForParams
-