public class CmsSitemapExtension extends com.vaadin.server.AbstractExtension implements I_CmsSitemapServerRpc
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 |
|---|
CmsSitemapExtension(CmsSitemapUI ui)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleChangedProperties(java.lang.String id)
Handles changes made via the property dialog.
|
void |
openPageCopyDialog(java.lang.String callId,
java.lang.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 |
showInfoHeader(java.lang.String title,
java.lang.String description,
java.lang.String path,
java.lang.String locale,
java.lang.String iconClass)
Shows an info header in the locale-header-container element.
|
void |
showLocaleComparison(java.lang.String id)
Displays the locale comparison view.
|
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 CmsSitemapExtension(CmsSitemapUI ui)
ui - the component to attach topublic void handleChangedProperties(java.lang.String id)
I_CmsSitemapServerRpchandleChangedProperties in interface I_CmsSitemapServerRpcid - the structure id of the changed resourceI_CmsSitemapServerRpc.handleChangedProperties(java.lang.String)public void openPageCopyDialog(java.lang.String callId, java.lang.String structureId)
I_CmsSitemapServerRpcopenPageCopyDialog in interface I_CmsSitemapServerRpccallId - a unique (per client) id representing the RPC callstructureId - the structure id of the resource for which to open the dialogI_CmsSitemapServerRpc.openPageCopyDialog(java.lang.String, java.lang.String)public void openPropertyDialog(CmsUUID sitemapEntryId, CmsUUID rootId)
sitemapEntryId - the structure id for the sitemap entry to editrootId - the structure id of the current tree's rootpublic void setSitemapTreeController(CmsSitemapTreeController controller)
controller - the controller to setpublic void showInfoHeader(java.lang.String title, java.lang.String description, java.lang.String path, java.lang.String locale, java.lang.String iconClass)
title - the titledescription - the descriptionpath - the pathlocale - the localeiconClass - the icon classpublic void showLocaleComparison(java.lang.String id)
I_CmsSitemapServerRpcshowLocaleComparison in interface I_CmsSitemapServerRpcid - the locale comparison viewI_CmsSitemapServerRpc.showLocaleComparison(java.lang.String)