public class CmsLegacyApp extends com.vaadin.ui.BrowserFrame implements I_CmsWorkplaceApp
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VAR_IS_LEGACY_APP
Name of Javascript variable used to indicate whether we are currently showing a legacy app.
|
Constructor and Description |
---|
CmsLegacyApp(I_CmsToolHandler toolHandler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
initUI(I_CmsAppUIContext context)
Within this method the app UI should be initialized.
|
void |
onStateChange(java.lang.String state)
Called on navigation events.
|
getAlternateText, getCustomAttributes, getSource, getState, readDesign, setAlternateText, setSource, writeDesign
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public static final java.lang.String VAR_IS_LEGACY_APP
public CmsLegacyApp(I_CmsToolHandler toolHandler)
toolHandler
- the tool handlerpublic void initUI(I_CmsAppUIContext context)
I_CmsWorkplaceApp
Use the context to add the app's components to the UI.
initUI
in interface I_CmsWorkplaceApp
context
- the UI contextI_CmsWorkplaceApp.initUI(org.opencms.ui.apps.I_CmsAppUIContext)
public void onStateChange(java.lang.String state)
I_CmsWorkplaceApp
onStateChange
in interface I_CmsWorkplaceApp
state
- the app state to showI_CmsWorkplaceApp.onStateChange(java.lang.String)