com.metamatrix.console.ui
Class ViewManager
java.lang.Object
com.metamatrix.console.ui.ViewManager
public class ViewManager
- extends java.lang.Object
ViewManager is a developer's API to the metaMatrix console's
framework. It is a central point of controlling such things as
initializing the GUI, refreshing, and retrieving the currently
active panel. (Note that this class consists mostly of static
helper methods.)
- Author:
- Steve Jacobs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSOLE_ICON
public static final javax.swing.ImageIcon CONSOLE_ICON
CONSOLE_ICON_IMAGE
public static java.awt.Image CONSOLE_ICON_IMAGE
ViewManager
public ViewManager()
init
public static void init(ConnectionInfo connection)
getMainFrame
public static javax.swing.JFrame getMainFrame()
setStatus
public static void setStatus(java.lang.String statusMessage)
clearStatus
public static void clearStatus()
fireApplicationEvent
public static void fireApplicationEvent(java.util.EventObject event)
setLoggingPreferences
public static void setLoggingPreferences()
startBusy
public static void startBusy()
- Should be called before any operation that will take a long
time. This will make the GUI indicate business.
startBusySyncronize
public static void startBusySyncronize()
endBusy
public static void endBusy()
- Should be called after the operation that startBusy was
called for. It may be wise to put this method invocation
in a finally{} block in case, for example, a remote method
invocation fails.
endBusySyncronize
public static void endBusySyncronize()
Copyright © 2009. All Rights Reserved.