com.tensegrity.wpalo.client.ui.mvc.workbench
Class Workbench
java.lang.Object
com.extjs.gxt.ui.client.mvc.View
com.tensegrity.wpalo.client.ui.window.AbstractTopLevelView
com.tensegrity.wpalo.client.ui.mvc.workbench.Workbench
public class Workbench
- extends AbstractTopLevelView
Workbench
The workbench is the main view of the new wpalo implementation. It simply
defines a view panel on the left side and an editor panel attached on the
right.
- Version:
- $Id: Workbench.java,v 1.44 2010/02/16 13:53:42 PhilippBouillon Exp $
Fields inherited from class com.extjs.gxt.ui.client.mvc.View |
controller, initialized |
Methods inherited from class com.extjs.gxt.ui.client.mvc.View |
fireEvent, fireEvent, getController, initialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constants
protected final transient ILocalConstants constants
messages
protected final transient ILocalMessages messages
ID
public static final java.lang.String ID
- id to access a workbench instance via the global
Registry
- See Also:
- Constant Field Values
getUser
public final com.tensegrity.palo.gwt.core.client.models.admin.XUser getUser()
- Returns the currently logged in user or
null
isPaloSuite
public final boolean isPaloSuite()
setPaloSuite
public final void setPaloSuite(boolean v)
hideWaitCursor
public final void hideWaitCursor()
showWaitCursor
public final void showWaitCursor(java.lang.String msg)
showWaitCursor
public final void showWaitCursor(java.lang.String msg,
boolean pushToFront)
getCurrentEditor
public final IEditor getCurrentEditor()
checkOpen
public final void checkOpen(IEditor newEditor,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
open
public final void open(IEditor editor)
open
public final void open(com.google.gwt.user.client.ui.Widget widget)
- for testing purpose only
close
public final void close(IEditor editor,
CloseObserver observer)
handleEvent
protected final void handleEvent(com.extjs.gxt.ui.client.mvc.AppEvent<?> event)
- Specified by:
handleEvent
in class com.extjs.gxt.ui.client.mvc.View
directLogin
public final void directLogin(com.tensegrity.palo.gwt.core.client.models.admin.XUser user)