com.tensegrity.wpalo.client.ui.mvc.viewbrowser
Class ViewBrowserEditor

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

public class ViewBrowserEditor
extends java.lang.Object
implements IEditor

ViewBrowserEditor TODO DOCUMENT ME

Version:
$Id: ViewBrowserEditor.java,v 1.46 2010/04/12 11:13:36 PhilippBouillon Exp $

Field Summary
protected  ILocalConstants constants
           
protected  ILocalMessages messages
           
 
Constructor Summary
ViewBrowserEditor(boolean hideTitlebar)
           
 
Method Summary
 void beforeClose(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
           
 void close(CloseObserver closeListener)
           
 void closeIfOpen(java.lang.Object input)
           
 void doSave(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
           
 void doSaveAs()
           
 java.lang.String getId()
           
 java.lang.Object getInput()
           
 com.extjs.gxt.ui.client.widget.ContentPanel getPanel()
           
 java.lang.String getTitle()
           
 boolean hasOpenViews()
           
 void initUI(DisplayFlags displayFlags)
           
 boolean isDirty()
           
 void markDirty()
           
 void renameIfOpen(java.lang.Object input)
           
 void selectFirstTab()
           
 void setCloseAll(boolean cAll)
           
 void setInput(java.lang.Object input)
           
 void setInputQuietly(java.lang.Object input)
           
 void setTextCursor()
           
 void setUnDirty()
           
 void showIfOpen(java.lang.Object input)
           
 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
 

Field Detail

constants

protected final transient ILocalConstants constants

messages

protected final transient ILocalMessages messages
Constructor Detail

ViewBrowserEditor

public ViewBrowserEditor(boolean hideTitlebar)
Method Detail

hasOpenViews

public final boolean hasOpenViews()

doSave

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

doSaveAs

public void doSaveAs()

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

setUnDirty

public void setUnDirty()

isDirty

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

initUI

public final void initUI(DisplayFlags displayFlags)

setInput

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

setInputQuietly

public void setInputQuietly(java.lang.Object input)

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 -

closeIfOpen

public final void closeIfOpen(java.lang.Object input)

showIfOpen

public final void showIfOpen(java.lang.Object input)

renameIfOpen

public final void renameIfOpen(java.lang.Object input)

beforeClose

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

setCloseAll

public final void setCloseAll(boolean cAll)

close

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

selectFirstTab

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

setTextCursor

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