Class CmsResourceRelationView
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.resourceinfo.CmsResourceRelationView
- 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
,I_CmsDescendantResizeHandler
public class CmsResourceRelationView
extends com.google.gwt.user.client.ui.Composite
implements I_CmsDescendantResizeHandler
Widget which shows which contents refer to a resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum for the display mode.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 TypeFieldDescriptionSet of context menu actions which we do not want to appear in the context menu for the relation source items.protected CmsList<CmsListItem>
The panel containing the resource boxes.protected CmsList<CmsListItem>
List for relations from other sites.protected com.google.gwt.user.client.ui.FlowPanel
Main panel.protected CmsPopup
The popup which contains this widget.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionCmsResourceRelationView
(org.opencms.gwt.shared.CmsResourceStatusBean status, CmsResourceRelationView.Mode mode, CmsContextMenuHandler menuHandler) Creates a new widget instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fill()
Creates and renders the resource boxes for the related resources.void
initContent
(org.opencms.gwt.shared.CmsResourceStatusBean status) Initializes the content.void
This method should be called when a descendant widget changes its size.void
Sets the popup which contains this widget.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_filteredActions
Set of context menu actions which we do not want to appear in the context menu for the relation source items. -
m_list
The panel containing the resource boxes. -
m_otherSitesList
List for relations from other sites. -
m_panel
Main panel. -
m_popup
The popup which contains this widget.
-
-
Constructor Details
-
Method Details
-
onResizeDescendant
Description copied from interface:I_CmsDescendantResizeHandler
This method should be called when a descendant widget changes its size.- Specified by:
onResizeDescendant
in interfaceI_CmsDescendantResizeHandler
- See Also:
-
setPopup
Sets the popup which contains this widget.- Parameters:
popup
- the popup
-
fill
Creates and renders the resource boxes for the related resources.