Package org.opencms.gwt.client.ui.rename
Class CmsRenameView
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.rename.CmsRenameView
- 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 dialog contents of the 'Rename' 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.Panel
The container for the resource info box.protected CmsTextBox
The input field for the new name.protected com.google.gwt.user.client.ui.HasText
The label for the input box.protected CmsPushButton
The OK button.protected com.google.gwt.user.client.ui.HasText
The label for the old name.protected com.google.gwt.user.client.ui.HasText
The label containing the old name.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionCmsRenameView
(org.opencms.gwt.shared.CmsRenameInfoBean renameInfo, com.google.gwt.user.client.rpc.AsyncCallback<String> renameCallback) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the buttons which should be inserted into the parent dialog.protected void
onClickCancel
(com.google.gwt.event.dom.client.ClickEvent e) Event handler for the Cancel button.protected void
onClickOk
(com.google.gwt.event.dom.client.ClickEvent e) Event handler for the OK button.void
Sets the dialog in which this view is contained.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 resource info box. -
m_newNameInput
The input field for the new name. -
m_newNameLabel
The label for the input box. -
m_okButton
The OK button. -
m_oldNameLabel
The label for the old name. -
m_oldNameValue
The label containing the old name.
-
-
Constructor Details
-
Method Details
-
getDialogButtons
Gets the buttons which should be inserted into the parent dialog.- Returns:
- the list of buttons for the parent dialog
-
setDialog
Sets the dialog in which this view is contained.- Parameters:
popup
- the dialog containing this view
-
onClickCancel
@UiHandler("m_cancelButton") protected void onClickCancel(com.google.gwt.event.dom.client.ClickEvent e) Event handler for the Cancel button.- Parameters:
e
- the click event
-
onClickOk
Event handler for the OK button.- Parameters:
e
- the click event
-