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 TypeMethodDescriptionvoidinitializeFileInput(CmsFileInput fileInput) Custom setup method for newly created file inputs.voidonChange(CmsFileInput fileInput) Notifies the button handler that the file input field's value has changed.voidsetButton(I_CmsUploadButton button) This method should be called when the handler is set on a button.voidsetCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler) Sets the dialog close handler.voidsetMenuItem(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_CmsUploadButtonHandlerCustom setup method for newly created file inputs.- Specified by:
initializeFileInputin interfaceI_CmsUploadButtonHandler- Parameters:
fileInput- the new file input- See Also:
-
onChange
Description copied from interface:I_CmsUploadButtonHandlerNotifies the button handler that the file input field's value has changed.- Specified by:
onChangein interfaceI_CmsUploadButtonHandler- Parameters:
fileInput- the file input- See Also:
-
setButton
Description copied from interface:I_CmsUploadButtonHandlerThis method should be called when the handler is set on a button.- Specified by:
setButtonin interfaceI_CmsUploadButtonHandler- Parameters:
button- the button for which the handler instance has been set- See Also:
-