Class CmsUploadPropertyDialog
java.lang.Object
org.opencms.ade.postupload.client.ui.CmsUploadPropertyDialog
Provides a dialog.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
Returnstrue
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.
-
Constructor Details
-
CmsUploadPropertyDialog
public CmsUploadPropertyDialog()Public constructor.
-
-
Method Details
-
closeDialog
Closes the dialog. -
isExplorerMode
Returnstrue
if we are currently in the explorer mode.- Returns:
true
if we are currently in the explorer mode
-
isIFrameMode
Returns if the dialog is in iFrame mode.- Returns:
true
if 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
-