Class CmsUploadPropertyDialog

java.lang.Object
org.opencms.ade.postupload.client.ui.CmsUploadPropertyDialog

public class CmsUploadPropertyDialog extends Object
Provides a dialog.

Since:
8.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Public constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
    Action to display the dialog content for the previous resource.
    protected void
    Action to close the dialog.
    protected void
    Action to display the dialog content for the next resource.
    void
    Closes the dialog.
    protected org.opencms.ade.postupload.shared.rpc.I_CmsPostUploadDialogServiceAsync
    Returns the dialog service instance.
    boolean
    Returns true if we are currently in the explorer mode.
    boolean
    Returns if the dialog is in iFrame mode.
    void
    Loads and shows the content of the dialog inside a popup.
    protected void
    loadDialogBean(org.opencms.util.CmsUUID uuid)
    Retrieves the resource information from the server, creates a the dialogs content and puts the content into the mainpanel.
    void
    Runs the next action after finishing a save operation.
    void
    setCloseCmd(com.google.gwt.user.client.Command cmd)
    Adds a close "button" to the top of the popup.
    void
    setHeight(int height)
    Delegation method.
    void
    Delegation method.
    void
    setWidth(int width)
    Delegation method.
    protected void
    updateDialog(org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean result)
    Updates the dialog.
    void
    Updates the height of the dialog to fit the content.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • closeDialog

      public void closeDialog()
      Closes the dialog.

    • isExplorerMode

      public boolean isExplorerMode()
      Returns true if we are currently in the explorer mode.

      Returns:
      true if we are currently in the explorer mode
    • isIFrameMode

      public boolean isIFrameMode()
      Returns if the dialog is in iFrame mode.

      Returns:
      true if the dialog is in iFrame mode
    • loadAndShow

      public void loadAndShow()
      Loads and shows the content of the dialog inside a popup.

    • runAction

      public void runAction()
      Runs the next action after finishing a save operation.
    • setCloseCmd

      public void setCloseCmd(com.google.gwt.user.client.Command cmd)
      Adds a close "button" to the top of the popup.

      Parameters:
      cmd - the command that should be executed when the close button is clicked
    • setHeight

      public void setHeight(int height)
      Delegation method.

      Parameters:
      height - the height
      See Also:
    • setTitle

      public void setTitle(String title)
      Delegation method.

      Parameters:
      title - the title
      See Also:
    • setWidth

      public void setWidth(int width)
      Delegation method.

      Parameters:
      width - the width
      See Also:
    • updateHeight

      public void updateHeight()
      Updates the height of the dialog to fit the content.

    • actionAdvanced

      protected void actionAdvanced()
    • actionBack

      protected void actionBack()
      Action to display the dialog content for the previous resource.

    • actionClose

      protected void actionClose()
      Action to close the dialog.

    • actionNext

      protected void actionNext()
      Action to display the dialog content for the next resource.

    • getDialogService

      protected org.opencms.ade.postupload.shared.rpc.I_CmsPostUploadDialogServiceAsync getDialogService()
      Returns the dialog service instance.

      Returns:
      the dialog service instance
    • loadDialogBean

      protected void loadDialogBean(org.opencms.util.CmsUUID uuid)
      Retrieves the resource information from the server, creates a the dialogs content and puts the content into the mainpanel.

      Parameters:
      uuid - the structure id to show the dialog for
    • updateDialog

      protected void updateDialog(org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean result)
      Updates the dialog.

      Parameters:
      result - the result