Class CmsReplaceHandler
java.lang.Object
org.opencms.gwt.client.ui.replace.CmsReplaceHandler
- All Implemented Interfaces:
I_CmsUploadButtonHandler
The replace dialog handler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initializeFileInput
(CmsFileInput fileInput) Custom setup method for newly created file inputs.void
onChange
(CmsFileInput fileInput) Notifies the button handler that the file input field's value has changed.void
setButton
(I_CmsUploadButton button) This method should be called when the handler is set on a button.void
setCloseHandler
(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler) Sets the dialog close handler.void
setMenuItem
(CmsReplace menuItem) Sets the replace menu item.
-
Constructor Details
-
CmsReplaceHandler
Constructor.- Parameters:
structureId
- the structure id of the resource to replace
-
-
Method Details
-
initializeFileInput
Description copied from interface:I_CmsUploadButtonHandler
Custom setup method for newly created file inputs.- Specified by:
initializeFileInput
in interfaceI_CmsUploadButtonHandler
- Parameters:
fileInput
- the new file input- See Also:
-
onChange
Description copied from interface:I_CmsUploadButtonHandler
Notifies the button handler that the file input field's value has changed.- Specified by:
onChange
in interfaceI_CmsUploadButtonHandler
- Parameters:
fileInput
- the file input- See Also:
-
setButton
Description copied from interface:I_CmsUploadButtonHandler
This method should be called when the handler is set on a button.- Specified by:
setButton
in interfaceI_CmsUploadButtonHandler
- Parameters:
button
- the button for which the handler instance has been set- See Also:
-