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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles changes made via the property dialog.void
openPageCopyDialog
(String callId, String structureId) Opens the page copy dialog for a resource.void
openPropertyDialog
(CmsUUID sitemapEntryId, CmsUUID rootId) Opens the property dialog for the locale comparison view.void
setSitemapTreeController
(CmsSitemapTreeController controller) Sets the currently active sitemap tree controller.void
Shows an info header in the locale-header-container element.void
Displays the locale comparison view.Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParent
Methods 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, 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, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
Methods 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_CmsSitemapServerRpc
Handles changes made via the property dialog.- Specified by:
handleChangedProperties
in interfaceI_CmsSitemapServerRpc
- Parameters:
id
- the structure id of the changed resource- See Also:
-
openPageCopyDialog
Description copied from interface:I_CmsSitemapServerRpc
Opens the page copy dialog for a resource.- Specified by:
openPageCopyDialog
in 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_CmsSitemapServerRpc
Displays the locale comparison view.- Specified by:
showLocaleComparison
in interfaceI_CmsSitemapServerRpc
- Parameters:
id
- the locale comparison view- See Also:
-