public class CmsResourceRelationView
extends com.google.gwt.user.client.ui.Composite
限定符和类型 | 类和说明 |
---|---|
static class |
CmsResourceRelationView.Mode
Enum for the display mode.
|
限定符和类型 | 字段和说明 |
---|---|
protected static java.util.Set<java.lang.String> |
m_filteredActions
Set of context menu actions which we do not want to appear in the context menu for the relation source items.
|
protected CmsList<CmsListItem> |
m_list
The panel containing the resource boxes.
|
protected com.google.gwt.user.client.ui.FlowPanel |
m_panel
Main panel.
|
protected CmsPopup |
m_popup
The popup which contains this widget.
|
构造器和说明 |
---|
CmsResourceRelationView(CmsResourceStatusBean status,
CmsResourceRelationView.Mode mode)
Creates a new widget instance.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
fill()
Creates and renders the resource boxes for the related resources.
|
void |
onSelect()
This method should be called when this view is shown.
|
void |
setPopup(CmsPopup popup)
Sets the popup which contains this widget.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
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, unsinkEvents
protected static java.util.Set<java.lang.String> m_filteredActions
protected CmsList<CmsListItem> m_list
protected com.google.gwt.user.client.ui.FlowPanel m_panel
protected CmsPopup m_popup
public CmsResourceRelationView(CmsResourceStatusBean status, CmsResourceRelationView.Mode mode)
status
- the resource status from which we get the related resources to display.mode
- the display mode (display relation sources or targets)public void onSelect()
public void setPopup(CmsPopup popup)
popup
- the popupprotected void fill()