com.tensegrity.wpalo.client.ui.mvc.workbench
Class Workbench

java.lang.Object
  extended by com.extjs.gxt.ui.client.mvc.View
      extended by com.tensegrity.wpalo.client.ui.window.AbstractTopLevelView
          extended by 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 $

Field Summary
protected  ILocalConstants constants
           
static java.lang.String ID
          id to access a workbench instance via the global Registry
protected  ILocalMessages messages
           
 
Fields inherited from class com.tensegrity.wpalo.client.ui.window.AbstractTopLevelView
editorpanel, editorpanelStatusLine, viewpanel, viewpanelStatusLine, viewport
 
Fields inherited from class com.extjs.gxt.ui.client.mvc.View
controller, initialized
 
Method Summary
 void checkOpen(IEditor newEditor, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
           
 void close(IEditor editor, CloseObserver observer)
           
 void directLogin(com.tensegrity.palo.gwt.core.client.models.admin.XUser user)
           
 IEditor getCurrentEditor()
           
 com.tensegrity.palo.gwt.core.client.models.admin.XUser getUser()
          Returns the currently logged in user or null
protected  void handleEvent(com.extjs.gxt.ui.client.mvc.AppEvent<?> event)
           
 void hideWaitCursor()
           
 boolean isPaloSuite()
           
 void open(IEditor editor)
           
 void open(com.google.gwt.user.client.ui.Widget widget)
          for testing purpose only
 void setPaloSuite(boolean v)
           
 void showWaitCursor(java.lang.String msg)
           
 void showWaitCursor(java.lang.String msg, boolean pushToFront)
           
 
Methods inherited from class com.tensegrity.wpalo.client.ui.window.AbstractTopLevelView
addToViewPanel, createEditorPanel, createEditorPanelStatusLine, createViewPanel, createViewPanelStatusLine, getStatusLine
 
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
 

Field Detail

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
Method Detail

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)