Class CmsResourceInfoDialog
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- org.opencms.gwt.client.ui.CmsPopup
-
- org.opencms.gwt.client.ui.resourceinfo.CmsResourceInfoDialog
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.EventPreview
,com.google.gwt.user.client.ui.AcceptsOneWidget
,com.google.gwt.user.client.ui.HasAnimation
,com.google.gwt.user.client.ui.HasOneWidget
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.SourcesPopupEvents
,java.lang.Iterable<com.google.gwt.user.client.ui.Widget>
,I_CmsAutoHider
public class CmsResourceInfoDialog extends CmsPopup
Dialog for displaying resource information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CmsResourceInfoDialog.ContextMenuHandler
Context menu handler for resource info boxes.-
Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.CmsPopup
CmsPopup.HistoryHandler
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
SCROLLPANEL_HEIGHT
The scroll panel height.-
Fields inherited from class org.opencms.gwt.client.ui.CmsPopup
DEFAULT_WIDTH, m_closeCommand, m_notificationWidgetInstalled, m_windowWidth, WIDE_WIDTH
-
-
Constructor Summary
Constructors Constructor Description CmsResourceInfoDialog(org.opencms.gwt.shared.CmsResourceStatusBean statusBean, boolean includeTargets, org.opencms.util.CmsUUID detailContentId)
Creates the dialog for the given resource information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
load(org.opencms.util.CmsUUID structureId, boolean includeTargets, org.opencms.util.CmsUUID detailContentId, java.lang.String startTab, java.util.Map<java.lang.String,java.lang.String> context, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler)
Loads the resource information for a resource and displays it in a dialog.static void
load(org.opencms.util.CmsUUID structureId, boolean includeTargets, org.opencms.util.CmsUUID detailContentId, java.util.Map<java.lang.String,java.lang.String> context, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler)
Loads the resource information for a resource and displays it in a dialog.void
onLoad()
protected void
reinitContent(org.opencms.gwt.shared.CmsResourceStatusBean statusBean)
Re-initializes the dialog content.-
Methods inherited from class org.opencms.gwt.client.ui.CmsPopup
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, 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
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeTo
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opencms.gwt.client.ui.I_CmsAutoHider
addAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled
-
-
-
-
Field Detail
-
SCROLLPANEL_HEIGHT
protected static final int SCROLLPANEL_HEIGHT
The scroll panel height.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsResourceInfoDialog
public CmsResourceInfoDialog(org.opencms.gwt.shared.CmsResourceStatusBean statusBean, boolean includeTargets, org.opencms.util.CmsUUID detailContentId)
Creates the dialog for the given resource information.- Parameters:
statusBean
- the resource information to beanincludeTargets
-true
if relation targets should be displayeddetailContentId
- the detail content id
-
-
Method Detail
-
load
public static void load(org.opencms.util.CmsUUID structureId, boolean includeTargets, org.opencms.util.CmsUUID detailContentId, java.util.Map<java.lang.String,java.lang.String> context, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler)
Loads the resource information for a resource and displays it in a dialog.- Parameters:
structureId
- the structure id of the resource for which the resource info should be loadedincludeTargets
- true if relation targets should also be displayeddetailContentId
- the structure id of the detail content if presentcontext
- additional parameters from the context used for displaying additional infoscloseHandler
- the close handler for the dialog (may be null if no close handler is needed)
-
load
public static void load(org.opencms.util.CmsUUID structureId, boolean includeTargets, org.opencms.util.CmsUUID detailContentId, java.lang.String startTab, java.util.Map<java.lang.String,java.lang.String> context, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel> closeHandler)
Loads the resource information for a resource and displays it in a dialog.- Parameters:
structureId
- the structure id of the resource for which the resource info should be loadedincludeTargets
- true if relation targets should also be displayeddetailContentId
- the structure id of the detail content if presentstartTab
- the start tab idcontext
- additional parameters from the context used for displaying additional infoscloseHandler
- the close handler for the dialog (may be null if no close handler is needed)
-
onLoad
public void onLoad()
- Overrides:
onLoad
in classcom.google.gwt.user.client.ui.Widget
- See Also:
Widget.onLoad()
-
reinitContent
protected void reinitContent(org.opencms.gwt.shared.CmsResourceStatusBean statusBean)
Re-initializes the dialog content.- Parameters:
statusBean
- the resource status
-
-