Class CmsRestoreView
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.gwt.client.ui.restore.CmsRestoreView
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
The content widget for the restore dialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmsPushButton
The cancel button.protected com.google.gwt.user.client.ui.FlowPanel
The container for the file info box.protected com.google.gwt.user.client.ui.Label
The label which informs the user that the resource has moved.protected com.google.gwt.user.client.ui.Panel
The section which is displayed when the resource was moved.protected CmsPushButton
The OK button.protected CmsPopup
The popup in which this widget is contained.protected org.opencms.gwt.shared.CmsRestoreInfoBean
The bean containing information about the resource to restore.protected CmsCheckBox
The check box used for selecting whether a move operation should be undone.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionCmsRestoreView
(org.opencms.gwt.shared.CmsRestoreInfoBean restoreInfo, Runnable afterRestoreAction) Creates a new widget instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onClickCancel
(com.google.gwt.event.dom.client.ClickEvent e) Handler for the cancel button.protected void
onClickOk
(com.google.gwt.event.dom.client.ClickEvent e) Click handler for the OK button.void
Sets the popup in which this widget is displayed.Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Field Details
-
m_cancelButton
The cancel button. -
m_infoBoxContainer
The container for the file info box. -
m_movedLabel
The label which informs the user that the resource has moved. -
m_movedSection
The section which is displayed when the resource was moved. -
m_okButton
The OK button. -
m_popup
The popup in which this widget is contained. -
m_restoreInfo
The bean containing information about the resource to restore. -
m_undoMoveCheckbox
The check box used for selecting whether a move operation should be undone.
-
-
Constructor Details
-
Method Details
-
setPopup
Sets the popup in which this widget is displayed.- Parameters:
popup
- the popup in which this widget is displayed
-
onClickCancel
@UiHandler("m_cancelButton") protected void onClickCancel(com.google.gwt.event.dom.client.ClickEvent e) Handler for the cancel button.- Parameters:
e
- the click event
-
onClickOk
Click handler for the OK button.- Parameters:
e
- the click event
-