com.tensegrity.wpalo.client.ui.mvc.reports
Class TemplateViewEditor

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

public class TemplateViewEditor
extends java.lang.Object
implements IEditor

TemplateViewEditor TODO DOCUMENT ME

Version:
$Id: TemplateViewEditor.java,v 1.11 2009/12/17 16:14:20 PhilippBouillon Exp $

Constructor Summary
TemplateViewEditor()
           
 
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 setInput(java.lang.Object input)
           
 void setTextCursor()
           
 void showView(java.lang.Object input)
          shows the view if it is already open, otherwise calling this method has no effect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateViewEditor

public TemplateViewEditor()
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

doSave

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

isDirty

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

getId

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

getInput

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

getPanel

public 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

markDirty

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

setInput

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

showView

public final void showView(java.lang.Object input)
shows the view if it is already open, otherwise calling this method has no effect

Parameters:
input -

selectFirstTab

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

setTextCursor

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