Class CmsUploadPropertyDialog
java.lang.Object
org.opencms.ade.postupload.client.ui.CmsUploadPropertyDialog
Provides a dialog.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidAction to display the dialog content for the previous resource.protected voidAction to close the dialog.protected voidAction to display the dialog content for the next resource.voidCloses the dialog.protected org.opencms.ade.postupload.shared.rpc.I_CmsPostUploadDialogServiceAsyncReturns the dialog service instance.booleanReturnstrueif we are currently in the explorer mode.booleanReturns if the dialog is in iFrame mode.voidLoads and shows the content of the dialog inside a popup.protected voidloadDialogBean(org.opencms.util.CmsUUID uuid) Retrieves the resource information from the server, creates a the dialogs content and puts the content into the mainpanel.voidRuns the next action after finishing a save operation.voidsetCloseCmd(com.google.gwt.user.client.Command cmd) Adds a close "button" to the top of the popup.voidsetHeight(int height) Delegation method.voidDelegation method.voidsetWidth(int width) Delegation method.protected voidupdateDialog(org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean result) Updates the dialog.voidUpdates the height of the dialog to fit the content.
-
Constructor Details
-
CmsUploadPropertyDialog
public CmsUploadPropertyDialog()Public constructor.
-
-
Method Details
-
closeDialog
Closes the dialog. -
isExplorerMode
Returnstrueif we are currently in the explorer mode.- Returns:
trueif we are currently in the explorer mode
-
isIFrameMode
Returns if the dialog is in iFrame mode.- Returns:
trueif the dialog is in iFrame mode
-
loadAndShow
Loads and shows the content of the dialog inside a popup. -
runAction
Runs the next action after finishing a save operation. -
setCloseCmd
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
Delegation method.- Parameters:
height- the height- See Also:
-
setTitle
Delegation method.- Parameters:
title- the title- See Also:
-
setWidth
Delegation method.- Parameters:
width- the width- See Also:
-
updateHeight
Updates the height of the dialog to fit the content. -
actionAdvanced
-
actionBack
Action to display the dialog content for the previous resource. -
actionClose
Action to close the dialog. -
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
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
-