public class CmsDeleteWarningDialog extends CmsConfirmDialog
com.google.gwt.user.client.ui.PopupPanel.PositionCallback| 限定符和类型 | 字段和说明 |
|---|---|
protected com.google.gwt.user.client.Command |
m_cmd
The callback command.
|
protected CmsLinkWarningPanel |
m_content
The content of the dialog.
|
DEFAULT_DIALOG_WIDTHm_closeCommand, m_notificationWidgetInstalled, m_windowWidth| 构造器和说明 |
|---|
CmsDeleteWarningDialog(CmsUUID structureId)
Constructor.
|
CmsDeleteWarningDialog(java.lang.String sitePath)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
deleteResource()
Deletes a resource from the vfs.
|
protected void |
displayBrokenLinks(CmsDeleteResourceBean brokenLinks)
Displays the broken links information.
|
void |
loadAndShow(com.google.gwt.user.client.Command callback)
Loads and shows the delete dialog.
|
protected void |
onAfterDeletion()
Method which should be called after the deletion has been performed.
|
center, getHandler, getOkButton, onOk, setHandler, setOkIconClass, setOkText, showaddBottomWidget, addTopWidget, getCloseButton, getTopWidgets, onClose, onShow, setCloseIconClass, setCloseText, setHandler, setWarningMessage, truncateadd, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, centerHorizontally, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, clear, continueDragging, createDialogNotificationWidget, doAttachChildren, doDetachChildren, endDragging, getAvailableHeight, getCaption, getChildren, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, getWidth, hasCaption, hide, insert, insert, insertFront, installNotificationWidget, iterator, onBrowserEvent, onDetach, onPreviewNativeEvent, remove, remove, removeAllButtons, removeButton, removePadding, setBackgroundColor, setCaption, setHeight, setHeight, setMainContent, setPixelSize, setPositionFixed, setSize, setSpecialBackgroundClass, setUseAnimation, setWidget, setWidth, setWidth, showArrow, wrapWithBorderPaddingaddAutoHidePartner, addCloseHandler, addPopupListener, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeToaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabledprotected com.google.gwt.user.client.Command m_cmd
protected CmsLinkWarningPanel m_content
public CmsDeleteWarningDialog(java.lang.String sitePath)
sitePath - the site-path of the resource going to be deletedpublic CmsDeleteWarningDialog(CmsUUID structureId)
structureId - the structure id of the resource going to be deletedpublic void loadAndShow(com.google.gwt.user.client.Command callback)
callback - the callback that is executed when the resource was deleted (can be null)protected void deleteResource()
protected void onAfterDeletion()
protected void displayBrokenLinks(CmsDeleteResourceBean brokenLinks)
brokenLinks - the broken links information