Class CmsGwtDialogExtensionConnector

  • 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, org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc

    public class CmsGwtDialogExtensionConnector
    extends com.vaadin.client.extensions.AbstractExtensionConnector
    implements org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
    Client side part of CmsGwtDialogExtension.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> m_changed
      List of structure ids of changed resources.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void close​(boolean reinitUI)
      Disposes of the extension and tells the server whether to re-init the UI.
      protected void close​(long delayMillis)
      Disposes of the extension on the server side and notifies the server of which resources have been changed.
      protected void doEdit​(java.lang.String sitePath, org.opencms.util.CmsUUID structureId)
      Actually starts the XML content editor for a given file.
      void editPointer​(java.lang.String pointerStructureId)  
      void editProperties​(java.lang.String editStructureId, boolean editName)  
      protected void extend​(com.vaadin.client.ServerConnector target)  
      void openCategoriesDialog​(java.lang.String structureId, boolean collapsed)  
      void openContentEditor​(java.lang.String structureId, java.lang.String sitePath)  
      void openGalleryDialog​(java.lang.String galleryConfiguration)  
      void openInfoDialog​(java.lang.String string, java.lang.String startTab)  
      void openLockReport​(java.lang.String dialogTitle, java.lang.String structureId)  
      void openPublishDialog​(java.lang.String serializedPublishData)  
      void openReplaceDialog​(java.lang.String structureId)  
      void showAbout()  
      void showPreview​(java.lang.String uuid, java.lang.String versionAsString)  
      void showUserPreferences()  
      • 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
        List of structure ids of changed resources.
    • Method Detail

      • editPointer

        public void editPointer​(java.lang.String pointerStructureId)
        Specified by:
        editPointer in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.editPointer(java.lang.String)
      • editProperties

        public void editProperties​(java.lang.String editStructureId,
                                   boolean editName)
        Specified by:
        editProperties in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.editProperties(java.lang.String, boolean)
      • openCategoriesDialog

        public void openCategoriesDialog​(java.lang.String structureId,
                                         boolean collapsed)
        Specified by:
        openCategoriesDialog in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openCategoriesDialog(java.lang.String, boolean)
      • openContentEditor

        public void openContentEditor​(java.lang.String structureId,
                                      java.lang.String sitePath)
        Specified by:
        openContentEditor in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openContentEditor(java.lang.String, java.lang.String)
      • openGalleryDialog

        public void openGalleryDialog​(java.lang.String galleryConfiguration)
        Specified by:
        openGalleryDialog in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openGalleryDialog(java.lang.String)
      • openInfoDialog

        public void openInfoDialog​(java.lang.String string,
                                   java.lang.String startTab)
        Specified by:
        openInfoDialog in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openInfoDialog(java.lang.String, java.lang.String)
      • openLockReport

        public void openLockReport​(java.lang.String dialogTitle,
                                   java.lang.String structureId)
        Specified by:
        openLockReport in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openLockReport(java.lang.String, java.lang.String)
      • openPublishDialog

        public void openPublishDialog​(java.lang.String serializedPublishData)
        Specified by:
        openPublishDialog in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openPublishDialog(java.lang.String)
      • openReplaceDialog

        public void openReplaceDialog​(java.lang.String structureId)
        Specified by:
        openReplaceDialog in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.openReplaceDialog(java.lang.String)
      • showAbout

        public void showAbout()
        Specified by:
        showAbout in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.showAbout()
      • showPreview

        public void showPreview​(java.lang.String uuid,
                                java.lang.String versionAsString)
        Specified by:
        showPreview in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.showPreview(java.lang.String, java.lang.String)
      • showUserPreferences

        public void showUserPreferences()
        Specified by:
        showUserPreferences in interface org.opencms.ui.shared.components.I_CmsGwtDialogClientRpc
        See Also:
        I_CmsGwtDialogClientRpc.showUserPreferences()
      • close

        protected void close​(boolean reinitUI)
        Disposes of the extension and tells the server whether to re-init the UI.

        Parameters:
        reinitUI - true to reinit the UI
      • 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
      • doEdit

        protected void doEdit​(java.lang.String sitePath,
                              org.opencms.util.CmsUUID structureId)
        Actually starts the XML content editor for a given file.

        Parameters:
        sitePath - the site path of the file
        structureId - the file structure id
      • 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)