Class CmsUploadPropertyDialog
- java.lang.Object
-
- org.opencms.ade.postupload.client.ui.CmsUploadPropertyDialog
-
public class CmsUploadPropertyDialog extends java.lang.Object
Provides a dialog.- Since:
- 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsUploadPropertyDialog()
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
actionAdvanced()
protected void
actionBack()
Action to display the dialog content for the previous resource.protected void
actionClose()
Action to close the dialog.protected void
actionNext()
Action to display the dialog content for the next resource.void
closeDialog()
Closes the dialog.protected org.opencms.ade.postupload.shared.rpc.I_CmsPostUploadDialogServiceAsync
getDialogService()
Returns the dialog service instance.boolean
isExplorerMode()
Returnstrue
if we are currently in the explorer mode.boolean
isIFrameMode()
Returns if the dialog is in iFrame mode.void
loadAndShow()
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
runAction()
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
setTitle(java.lang.String title)
Delegation method.void
setWidth(int width)
Delegation method.protected void
updateDialog(org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean result)
Updates the dialog.void
updateHeight()
Updates the height of the dialog to fit the content.
-
-
-
Constructor Detail
-
CmsUploadPropertyDialog
public CmsUploadPropertyDialog()
Public constructor.
-
-
Method Detail
-
closeDialog
public void closeDialog()
Closes the dialog.
-
isExplorerMode
public boolean isExplorerMode()
Returnstrue
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:
CmsFrameDialog.setHeight(int)
-
setTitle
public void setTitle(java.lang.String title)
Delegation method.- Parameters:
title
- the title- See Also:
CmsFrameDialog.setTitle(java.lang.String)
-
setWidth
public void setWidth(int width)
Delegation method.- Parameters:
width
- the width- See Also:
CmsFrameDialog.setWidth(int)
-
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
-
-