Class CmsPropertyDialogExtension

  • All Implemented Interfaces:
    com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.communication.ServerRpc, com.vaadin.shared.Connector, java.io.Serializable, I_CmsPropertyServerRpc

    public class CmsPropertyDialogExtension
    extends com.vaadin.server.AbstractExtension
    implements I_CmsPropertyServerRpc
    Extension used for the GWT-based property dialog called from the workplace. This keeps track of the list of resources which were visible when the property dialog was opened, allowing the user to navigate through the list with prev/next buttons.
    See Also:
    Serialized Form
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEdit​(CmsUUID id)
      Checks if the user can edit the resource with the given id.
      void editProperties​(CmsUUID structureId, java.util.List<CmsUUID> allIds, boolean editName)
      Open property editor for the resource with the given structure id.
      void editPropertiesForNewResource​(CmsNewResourceBuilder builder)
      Opens the property dialog for a resource to be created with the 'New' dialog.
      void onClose​(long delayMillis)
      Disposes of the extension, and tells the server which resources have changed.
      void removeExtension()
      Removes the extension on the server side.
      void requestNextFile​(int offset)
      Requests the id of the next file.
      void savePropertiesForNewResource​(java.lang.String data)
      Saves the properties for a new resource.
      • 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