public final class CmsPreviewDialog extends CmsPopup
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
getSitePath()
Returns the site path.
|
protected void |
loadOtherLocale(java.lang.String locale)
Loads preview for another locale.
|
static void |
showPreviewForResource(CmsPreviewInfo previewInfo)
Shows the preview for the given resource.
|
static void |
showPreviewForResource(CmsUUID structureId)
Shows the preview for the given resource.
|
static void |
showPreviewForResource(java.lang.String sitePath)
Shows the preview for the given resource.
|
protected void |
updatePreviewContent(CmsPreviewInfo previewInfo)
Updates the preview content of the dialog.
|
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, center, 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, show, showArrow, wrapWithBorderPadding
addAutoHidePartner, 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, showRelativeTo
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, 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, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled
public static void showPreviewForResource(CmsPreviewInfo previewInfo)
previewInfo
- the resource preview infopublic static void showPreviewForResource(CmsUUID structureId)
structureId
- the resource structure idpublic static void showPreviewForResource(java.lang.String sitePath)
sitePath
- the resource site pathprotected java.lang.String getSitePath()
protected void loadOtherLocale(java.lang.String locale)
locale
- the locale to loadprotected void updatePreviewContent(CmsPreviewInfo previewInfo)
previewInfo
- the preview info