Class 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 Classes 
      Modifier and Type Class Description
      static class  CmsResourceRelationView.Mode
      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

      Fields 
      Modifier and Type Field Description
      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 CmsList<CmsListItem> m_otherSitesList
      List for relations from other sites.
      protected com.google.gwt.user.client.ui.FlowPanel m_panel
      Main panel.
      protected CmsPopup m_popup
      The popup which contains this widget.
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void fill()
      Creates and renders the resource boxes for the related resources.
      void initContent​(org.opencms.gwt.shared.CmsResourceStatusBean status)
      Initializes the content.
      void onResizeDescendant()
      This method should be called when a descendant widget changes its size.
      void setPopup​(CmsPopup popup)
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait