com.tensegrity.wpalo.client.ui.editor
Class AbstractTabEditor
java.lang.Object
com.tensegrity.wpalo.client.ui.editor.AbstractTabEditor
- All Implemented Interfaces:
- IEditor
- Direct Known Subclasses:
- AccountEditor, ConnectionEditor, GroupEditor, ReportStructureEditor, RoleEditor, TemplateEditor, UserEditor
public abstract class AbstractTabEditor
- extends java.lang.Object
- implements IEditor
AdminEditor
TODO DOCUMENT ME
- Version:
- $Id: AbstractTabEditor.java,v 1.29 2010/04/15 09:55:22 PhilippBouillon Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tensegrity.wpalo.client.ui.editor.IEditor |
getId |
constants
protected final transient ILocalConstants constants
messages
protected final transient ILocalMessages messages
content
protected com.extjs.gxt.ui.client.widget.ContentPanel content
tabs
protected EditorTab[] tabs
title
protected java.lang.String title
tabFolder
protected com.extjs.gxt.ui.client.widget.TabPanel tabFolder
AbstractTabEditor
public AbstractTabEditor()
close
public final void close(CloseObserver observer)
- Specified by:
close
in interface IEditor
beforeClose
public void beforeClose(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> cb)
- Specified by:
beforeClose
in interface IEditor
getPanel
public final com.extjs.gxt.ui.client.widget.ContentPanel getPanel()
- Specified by:
getPanel
in interface IEditor
getTitle
public 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
setInputQuietly
public final void setInputQuietly(java.lang.Object input)
markDirty
public final void markDirty()
- Specified by:
markDirty
in interface IEditor
isDirty
public final boolean isDirty()
- Specified by:
isDirty
in interface IEditor
doSave
public final void doSave(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
- Specified by:
doSave
in interface IEditor
getEditorTabs
public abstract EditorTab[] getEditorTabs()
getTitle
public abstract java.lang.String getTitle(com.tensegrity.palo.gwt.core.client.models.XObject input)
needsUpdate
public boolean needsUpdate()
clearNeedsUpdate
public void clearNeedsUpdate()
getSaveType
protected int getSaveType()
selectFirstTab
public void selectFirstTab()
- Specified by:
selectFirstTab
in interface IEditor
setTextCursor
public void setTextCursor()
- Specified by:
setTextCursor
in interface IEditor