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

java.lang.Object
  extended by com.tensegrity.wpalo.client.ui.mvc.viewmode.ViewModeEditor
All Implemented Interfaces:
IEditor

public class ViewModeEditor
extends java.lang.Object
implements IEditor


Field Summary
protected  com.extjs.gxt.ui.client.widget.ContentPanel content
           
protected  java.lang.String title
           
 
Constructor Summary
ViewModeEditor()
           
 
Method Summary
 void beforeClose(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
           
 void close(CloseObserver observer)
           
 void doSave(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
           
 java.lang.String getId()
           
 java.lang.Object getInput()
           
 com.extjs.gxt.ui.client.widget.ContentPanel getPanel()
           
 java.lang.String getTitle()
           
 boolean isDirty()
           
 void markDirty()
           
 void selectFirstTab()
           
 void set(TreeNode input)
           
 void setInput(java.lang.Object input)
           
 void setTextCursor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected com.extjs.gxt.ui.client.widget.ContentPanel content

title

protected java.lang.String title
Constructor Detail

ViewModeEditor

public ViewModeEditor()
Method Detail

beforeClose

public void beforeClose(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
Specified by:
beforeClose in interface IEditor

close

public final void close(CloseObserver observer)
Specified by:
close in interface IEditor

getPanel

public final com.extjs.gxt.ui.client.widget.ContentPanel getPanel()
Specified by:
getPanel in interface IEditor

getTitle

public final java.lang.String getTitle()
Specified by:
getTitle in interface IEditor

getInput

public final java.lang.Object getInput()
Specified by:
getInput in interface IEditor

setInput

public final void setInput(java.lang.Object input)
Specified by:
setInput in interface IEditor

set

public void set(TreeNode input)

markDirty

public final void markDirty()
Specified by:
markDirty in interface IEditor

isDirty

public boolean isDirty()
Specified by:
isDirty in interface IEditor

doSave

public final void doSave(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
Specified by:
doSave in interface IEditor

getId

public java.lang.String getId()
Specified by:
getId in interface IEditor

selectFirstTab

public void selectFirstTab()
Specified by:
selectFirstTab in interface IEditor

setTextCursor

public void setTextCursor()
Specified by:
setTextCursor in interface IEditor