Class CmsPropertyDialogExtensionConnector

  • All Implemented Interfaces:
    com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.communication.ClientRpc, com.vaadin.shared.Connector, java.io.Serializable, CmsEditProperties.I_MultiFileNavigation, org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc

    public class CmsPropertyDialogExtensionConnector
    extends com.vaadin.client.extensions.AbstractExtensionConnector
    implements org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc, CmsEditProperties.I_MultiFileNavigation
    Connector for the property dialog extension.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> m_changed
      Changed ids.
      protected com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> m_propertySaveCallback
      Callback to be called after the properties have been saved.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void close​(long delayMillis)
      Disposes of the extension on the server side and notifies the server of which resources have been changed.
      void confirmSaveForNew()  
      void editProperties​(java.lang.String editStructureId, boolean editName, boolean disablePrevNext)  
      void editPropertiesForNewResource​(java.lang.String propertyDataString)  
      protected void extend​(com.vaadin.client.ServerConnector target)  
      void requestNextFile​(int offset, com.google.gwt.user.client.rpc.AsyncCallback<org.opencms.util.CmsUUID> callback)
      Requests the next / previous file id.
      void sendNextId​(java.lang.String id)  
      • Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector

        setParent
      • Methods inherited from class com.vaadin.client.ui.AbstractConnector

        addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_changed

        protected java.util.List<java.lang.String> m_changed
        Changed ids.
      • m_propertySaveCallback

        protected com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> m_propertySaveCallback
        Callback to be called after the properties have been saved.
    • Method Detail

      • confirmSaveForNew

        public void confirmSaveForNew()
        Specified by:
        confirmSaveForNew in interface org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
        See Also:
        I_CmsPropertyClientRpc.confirmSaveForNew()
      • editProperties

        public void editProperties​(java.lang.String editStructureId,
                                   boolean editName,
                                   boolean disablePrevNext)
        Specified by:
        editProperties in interface org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
        See Also:
        I_CmsPropertyClientRpc.editProperties(java.lang.String, boolean, boolean)
      • editPropertiesForNewResource

        public void editPropertiesForNewResource​(java.lang.String propertyDataString)
        Specified by:
        editPropertiesForNewResource in interface org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
        See Also:
        I_CmsPropertyClientRpc.editPropertiesForNewResource(java.lang.String)
      • sendNextId

        public void sendNextId​(java.lang.String id)
        Specified by:
        sendNextId in interface org.opencms.ui.shared.rpc.I_CmsPropertyClientRpc
        See Also:
        I_CmsPropertyClientRpc.sendNextId(java.lang.String)
      • close

        protected void close​(long delayMillis)
        Disposes of the extension on the server side and notifies the server of which resources have been changed.

        Parameters:
        delayMillis - the time to wait on the server before refreshing the view
      • extend

        protected void extend​(com.vaadin.client.ServerConnector target)
        Specified by:
        extend in class com.vaadin.client.extensions.AbstractExtensionConnector
        See Also:
        AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)