Package com.illumon.iris.console.events
Class EmbeddedDbConsole
java.lang.Object
com.illumon.iris.console.events.EmbeddedDbConsole
- All Implemented Interfaces:
ViewIdProvider
,Workspace
public class EmbeddedDbConsole extends Object implements Workspace, ViewIdProvider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EmbeddedDbConsole.VariableBindingListener
When variable bindings are changed (add, update, remove), these listeners will be notified. -
Method Summary
Modifier and Type Method Description JComponent
$$$getRootComponent$$$()
void
addDisconnectHandler(QueryProcessorConnection.DisconnectHandler handler)
void
addVariableBindingListener(EmbeddedDbConsole.VariableBindingListener listener)
void
addView(IrisView newView)
com.fishlib.io.logger.Logger
getLog()
RemoteDatabase
getRemoteDatabase()
Table
getTable(String tableName)
String
getViewId()
org.jdom2.Element
getWorkspaceInfo()
Serialize the class into an element to be stored in the workspaceboolean
isStandalone()
void
removeVariableBindingListener(EmbeddedDbConsole.VariableBindingListener listener)
void
setWorkspaceInfo(org.jdom2.Element workspaceInfo)
Restore the class to the state defined by the data persisted in workspaceInfovoid
updateVariables(Map<String,ExportedObjectInfo> scopeNamesAndTypes)
-
Method Details
-
isStandalone
public boolean isStandalone() -
$$$getRootComponent$$$
- Noinspection:
- ALL
-
addView
-
getWorkspaceInfo
public org.jdom2.Element getWorkspaceInfo()Description copied from interface:Workspace
Serialize the class into an element to be stored in the workspace- Specified by:
getWorkspaceInfo
in interfaceWorkspace
- Returns:
- An
Element
containing the data to persist.
-
setWorkspaceInfo
public void setWorkspaceInfo(org.jdom2.Element workspaceInfo)Description copied from interface:Workspace
Restore the class to the state defined by the data persisted in workspaceInfo- Specified by:
setWorkspaceInfo
in interfaceWorkspace
- Parameters:
workspaceInfo
- AnElement
containing the persisted state.
-
getViewId
- Specified by:
getViewId
in interfaceViewIdProvider
-
getTable
-
addDisconnectHandler
-
getRemoteDatabase
-
updateVariables
-
getLog
public com.fishlib.io.logger.Logger getLog() -
addVariableBindingListener
-
removeVariableBindingListener
-