com.metamatrix.console.ui.layout
Class WorkspaceController
java.lang.Object
com.metamatrix.console.ui.layout.WorkspaceController
- All Implemented Interfaces:
- NotifyOnExitConsole
public class WorkspaceController
- extends java.lang.Object
- implements NotifyOnExitConsole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createInstance
public static void createInstance(Workspace workspace)
getInstance
public static WorkspaceController getInstance()
connectionSelectionChanged
public void connectionSelectionChanged(ConnectionInfo connection)
- Change to a different user connection. Does the work in a background thread, because this can be slow (especially if the
server becomes unavailable).
- Parameters:
connection
-
isChangingConnections
public boolean isChangingConnections()
treeSelectionChangedToClass
public void treeSelectionChangedToClass(java.lang.Class clazz,
boolean showThePanel,
ConnectionInfo connection)
- Change to a different panel. Does the work in a background WorkerPool, because this can be slow (especially if the server
becomes unavailable). The WorkerPool is has maxSize 1, so that requests are processed in order.
doChangePanel
protected void doChangePanel(WorkspaceControllerWorkItem item)
- Do the work of changing to a different panel. See
treeSelectionChangedToClass
.
- Parameters:
item
- - Since:
- 4.3
handleUpdateNotification
public void handleUpdateNotification(ConnectionInfo connection,
RuntimeUpdateNotification notification)
updateActions
public void updateActions(WorkspacePanel panel)
getPanelOfClass
public WorkspacePanel getPanelOfClass(java.lang.Class cls,
ConnectionInfo connection)
createPanelOfClass
public WorkspacePanel createPanelOfClass(java.lang.Class cls,
ConnectionInfo connection)
deletePanelsForConnection
public void deletePanelsForConnection(ConnectionInfo connection)
havePendingChanges
public boolean havePendingChanges(ConnectionInfo connection)
havePendingChanges
public boolean havePendingChanges()
- Specified by:
havePendingChanges
in interface NotifyOnExitConsole
finishUp
public boolean finishUp(ConnectionInfo connection)
finishUp
public boolean finishUp()
- Specified by:
finishUp
in interface NotifyOnExitConsole
applyAutoRefreshParmsToAll
public void applyAutoRefreshParmsToAll()
applyAutoRefreshParmsToWorkspacePanel
public void applyAutoRefreshParmsToWorkspacePanel(WorkspacePanel wsp)
applyAutoRefreshParms
public void applyAutoRefreshParms(AutoRefreshable refAutoRefreshablePanel,
boolean bEnabled,
int iRate)
Copyright © 2009. All Rights Reserved.