Package org.opencms.ui.sitemap
Class CmsSitemapExtension
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
org.opencms.ui.sitemap.CmsSitemapExtension
- All Implemented Interfaces:
com.vaadin.event.MethodEventSource,com.vaadin.server.ClientConnector,com.vaadin.server.Extension,com.vaadin.shared.communication.ServerRpc,com.vaadin.shared.Connector,Serializable,I_CmsSitemapServerRpc
public class CmsSitemapExtension
extends com.vaadin.server.AbstractExtension
implements I_CmsSitemapServerRpc
Extension used for the Vaadin dialogs in the sitemap editor.
- See Also:
-
Nested Class Summary
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles changes made via the property dialog.voidopenPageCopyDialog(String callId, String structureId) Opens the page copy dialog for a resource.voidopenPropertyDialog(CmsUUID sitemapEntryId, CmsUUID rootId) Opens the property dialog for the locale comparison view.voidsetSitemapTreeController(CmsSitemapTreeController controller) Sets the currently active sitemap tree controller.voidShows an info header in the locale-header-container element.voidDisplays the locale comparison view.Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParentMethods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Constructor Details
-
CmsSitemapExtension
Creates a new instance.- Parameters:
ui- the component to attach to
-
-
Method Details
-
handleChangedProperties
Description copied from interface:I_CmsSitemapServerRpcHandles changes made via the property dialog.- Specified by:
handleChangedPropertiesin interfaceI_CmsSitemapServerRpc- Parameters:
id- the structure id of the changed resource- See Also:
-
openPageCopyDialog
Description copied from interface:I_CmsSitemapServerRpcOpens the page copy dialog for a resource.- Specified by:
openPageCopyDialogin interfaceI_CmsSitemapServerRpc- Parameters:
callId- a unique (per client) id representing the RPC callstructureId- the structure id of the resource for which to open the dialog- See Also:
-
openPropertyDialog
Opens the property dialog for the locale comparison view.- Parameters:
sitemapEntryId- the structure id for the sitemap entry to editrootId- the structure id of the current tree's root
-
setSitemapTreeController
Sets the currently active sitemap tree controller.- Parameters:
controller- the controller to set
-
showInfoHeader
public void showInfoHeader(String title, String description, String path, String locale, String iconClass) Shows an info header in the locale-header-container element.- Parameters:
title- the titledescription- the descriptionpath- the pathlocale- the localeiconClass- the icon class
-
showLocaleComparison
Description copied from interface:I_CmsSitemapServerRpcDisplays the locale comparison view.- Specified by:
showLocaleComparisonin interfaceI_CmsSitemapServerRpc- Parameters:
id- the locale comparison view- See Also:
-