public class CmsEditorStateExtension extends com.vaadin.server.AbstractExtension implements I_CmsEditorStateRPC
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Constructor and Description |
|---|
CmsEditorStateExtension(com.vaadin.ui.AbstractComponent component)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasChanges()
Returns whether the editor has content changes.
|
void |
setHasChanges(boolean hasChanges)
Sets the editor changed state
|
extend, getParent, getSupportedParentType, remove, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerpublic CmsEditorStateExtension(com.vaadin.ui.AbstractComponent component)
component - the component to extendpublic boolean hasChanges()
true in case the editor has content changespublic void setHasChanges(boolean hasChanges)
I_CmsEditorStateRPCsetHasChanges in interface I_CmsEditorStateRPChasChanges - the editor changed stateI_CmsEditorStateRPC.setHasChanges(boolean)