com.tensegrity.wpalo.client.ui.mvc.viewmode
Class ViewModeWorkbench

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.viewmode.ViewModeWorkbench

public class ViewModeWorkbench
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: ViewModeWorkbench.java,v 1.12 2009/12/17 16:14:20 PhilippBouillon Exp $

Field Summary
static java.lang.String ID
          id to access a workbench instance via the global Registry
 
Fields inherited from class com.tensegrity.wpalo.client.ui.window.AbstractTopLevelView
constants, editorpanel, editorpanelStatusLine, viewpanel, viewpanelStatusLine, viewport
 
Fields inherited from class com.extjs.gxt.ui.client.mvc.View
controller, initialized
 
Method Summary
 void close(IEditor editor)
           
 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 open(IEditor editor)
           
 
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

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


open

public final void open(IEditor editor)

close

public final void close(IEditor editor)

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