Package com.illumon.iris.console.events
Interface IrisConsoleWidgetSupport
- All Superinterfaces:
IrisWidgetSupport
- All Known Implementing Classes:
IrisConsole
public interface IrisConsoleWidgetSupport extends IrisWidgetSupport
-
Method Summary
Modifier and Type Method Description IrisView
createDerivedView(IrisView parent, String name, boolean addToRootPanel, Map<String,String> params)
Creates a 'derived' view for the specified parent view.ExecutorService
getSharedExecutor()
Get anExecutorService
to be used for doing long-running work.Methods inherited from interface com.illumon.iris.controller.IrisWidgetSupport
addControllerConnectionListener, getControllerClient, getIrisUserContext, getPersistentQueryClient, getQueryClient, getServerConfiguration, removeControllerConnectionListener
-
Method Details
-
getSharedExecutor
Get anExecutorService
to be used for doing long-running work.- Returns:
- a valid
ExecutorService
.
-
createDerivedView
IrisView createDerivedView(@NotNull IrisView parent, @NotNull String name, boolean addToRootPanel, @NotNull Map<String,String> params)Creates a 'derived' view for the specified parent view. A Derived view will be tied to it's parent view in lifecycle. When the parent view is closed, all of the derived views are closed with it. Likewise, when the workspace is loaded, The view manager will wait for the parent view to load before delegating creation of derived views. Callers may indicate that they will place the created view (potentially reused) into the workspace themselves by passing 'addToRootPanel" false.- Parameters:
parent
- The parent view objectname
- The name of the viewaddToRootPanel
- True if the created view should be automatically placed into the root windowparams
- The map of params to be passed to the derived view provider.- Returns:
- the view that was created (or reused)
-