Package org.opencms.ui.dialogs
Class CmsEmbeddedDialogsUI
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.ui.AbstractComponent
-
- com.vaadin.ui.AbstractSingleComponentContainer
-
- com.vaadin.ui.UI
-
- org.opencms.ui.A_CmsUI
-
- org.opencms.ui.dialogs.CmsEmbeddedDialogsUI
-
- All Implemented Interfaces:
com.vaadin.event.Action.Container,com.vaadin.event.Action.Notifier,com.vaadin.event.ConnectorEventListener,com.vaadin.event.ContextClickEvent.ContextClickNotifier,com.vaadin.event.MethodEventSource,com.vaadin.event.SerializableEventListener,com.vaadin.event.UIEvents.PollNotifier,com.vaadin.server.ClientConnector,com.vaadin.server.Sizeable,com.vaadin.server.VariableOwner,com.vaadin.shared.communication.ServerRpc,com.vaadin.shared.Connector,com.vaadin.ui.Component,com.vaadin.ui.Component.Focusable,com.vaadin.ui.HasComponents,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier,com.vaadin.ui.LegacyComponent,com.vaadin.ui.SingleComponentContainer,java.io.Serializable,java.lang.Iterable<com.vaadin.ui.Component>,java.util.EventListener,I_CmsEmbeddingServerRpc
public class CmsEmbeddedDialogsUI extends A_CmsUI implements I_CmsEmbeddingServerRpc
Separate UI for VAADIN based dialog embedded into a GWT module.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.ui.UI
com.vaadin.ui.UI.WindowOrderUpdateEvent, com.vaadin.ui.UI.WindowOrderUpdateListener
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
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
-
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
-
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDIALOGS_PATHThe dialogs path fragment.protected CmsEmbeddedDialogExtensionm_extensionThe extension used to communicate with the client.-
Fields inherited from class org.opencms.ui.A_CmsUI
LAST_OFFLINE_PROJECT
-
-
Constructor Summary
Constructors Constructor Description CmsEmbeddedDialogsUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetEmbeddedDialogsContextPath()Returns the context path for embedded dialogs.java.util.LocalegetLocale()protected voidinit(com.vaadin.server.VaadinRequest request)voidloadDialog(java.lang.String dialogInfo)Loads the dialog for the given dialog information.voidreload()Reloads the current UI.-
Methods inherited from class org.opencms.ui.A_CmsUI
changeProject, changeSite, closeWindows, get, getAttribute, getCmsObject, getDisplayType, getHttpSession, getLastOfflineProject, getParameters, getWorkplaceSettings, openPageOrWarn, openPageOrWarn, setAttribute, setContentToDialog, setContentToDialog, setError
-
Methods inherited from class com.vaadin.ui.UI
access, accessSynchronously, addAction, addActionHandler, addClickListener, addPollListener, addWindow, addWindowOrderUpdateListener, attach, changeVariables, close, detach, doInit, doRefresh, focus, getActionManager, getActiveDragSource, getComponentCount, getConnectorTracker, getCurrent, getEmbedId, getLastHeartbeatTimestamp, getLastProcessedClientToServerId, getLoadingIndicatorConfiguration, getLocaleService, getNavigator, getNotificationConfiguration, getOverlayContainerLabel, getPage, getPollInterval, getPushConfiguration, getPushConnection, getReconnectDialogConfiguration, getScrollLeft, getScrollTop, getSession, getState, getState, getStateType, getTabIndex, getTheme, getTooltipConfiguration, getUI, getUIId, getUiPathInfo, getUiRootPath, getWindows, isClosing, isConnectorEnabled, isMobileHtml5DndEnabled, isResizeLazy, isUsingThoroughSizeCheck, iterator, paintContent, push, refresh, removeAction, removeActionHandler, removeClickListener, removePollListener, removeWindow, scrollIntoView, setActiveDragSource, setCaption, setContent, setCurrent, setFocusedComponent, setLastHeartbeatTimestamp, setLastProcessedClientToServerId, setMobileHtml5DndEnabled, setNavigator, setOverlayContainerLabel, setPollInterval, setPushConnection, setResizeLazy, setScrollLeft, setScrollTop, setSession, setTabIndex, setTheme, setUsingThoroughSizeCheck, showNotification, showNotification, showNotification, showNotification, showNotification, showNotification
-
Methods inherited from class com.vaadin.ui.AbstractSingleComponentContainer
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesign
-
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getParent, getPrimaryStyleName, getStyleName, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
-
-
-
-
Field Detail
-
DIALOGS_PATH
public static final java.lang.String DIALOGS_PATH
The dialogs path fragment.- See Also:
- Constant Field Values
-
m_extension
protected CmsEmbeddedDialogExtension m_extension
The extension used to communicate with the client.
-
-
Constructor Detail
-
CmsEmbeddedDialogsUI
public CmsEmbeddedDialogsUI()
-
-
Method Detail
-
getEmbeddedDialogsContextPath
public static java.lang.String getEmbeddedDialogsContextPath()
Returns the context path for embedded dialogs.- Returns:
- the context path for embedded dialogs
-
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocalein interfacecom.vaadin.ui.Component- Overrides:
getLocalein classcom.vaadin.ui.AbstractComponent- See Also:
AbstractComponent.getLocale()
-
loadDialog
public void loadDialog(java.lang.String dialogInfo)
Description copied from interface:I_CmsEmbeddingServerRpcLoads the dialog for the given dialog information.- Specified by:
loadDialogin interfaceI_CmsEmbeddingServerRpc- Parameters:
dialogInfo- the dialog information as JSON representation of an I_CmsEmbeddedDialogInfo auto bean- See Also:
I_CmsEmbeddingServerRpc.loadDialog(java.lang.String)
-
reload
public void reload()
Description copied from class:A_CmsUIReloads the current UI.- Overrides:
reloadin classA_CmsUI- See Also:
A_CmsUI.reload()
-
init
protected void init(com.vaadin.server.VaadinRequest request)
- Overrides:
initin classA_CmsUI- See Also:
A_CmsUI.init(com.vaadin.server.VaadinRequest)
-
-