Class CmsResourceInfoView

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.CmsResourceInfoView
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 CmsResourceInfoView extends com.google.gwt.user.client.ui.Composite implements I_CmsDescendantResizeHandler
A widget used to display various resource information to a user.

  • Nested Class Summary

    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 com.google.gwt.user.client.ui.FlowPanel
    Contains the additional information lines.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.SimplePanel
    The container for the file info box.
    protected com.google.gwt.user.client.ui.FlowPanel
    The info panel.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected CmsScrollPanel
    Scroll panel for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.
    protected com.google.gwt.user.client.ui.HasText
    Text field for resource information.

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    CmsResourceInfoView(org.opencms.gwt.shared.CmsResourceStatusBean status, CmsContextMenuHandler menuHandler)
    Creates a new widget instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initContent(org.opencms.gwt.shared.CmsResourceStatusBean status)
    Initializes the content.
    void
    This method should be called when a descendant widget changes its size.

    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
  • Field Details

    • m_dateCreated

      @UiField protected com.google.gwt.user.client.ui.HasText m_dateCreated
      Text field for resource information.

    • m_dateExpired

      @UiField protected com.google.gwt.user.client.ui.HasText m_dateExpired
      Text field for resource information.

    • m_dateLastModified

      @UiField protected com.google.gwt.user.client.ui.HasText m_dateLastModified
      Text field for resource information.

    • m_dateReleased

      @UiField protected com.google.gwt.user.client.ui.HasText m_dateReleased
      Text field for resource information.

    • m_infoBoxContainer

      @UiField protected com.google.gwt.user.client.ui.SimplePanel m_infoBoxContainer
      The container for the file info box.

    • m_infoPanel

      @UiField protected com.google.gwt.user.client.ui.FlowPanel m_infoPanel
      The info panel.

    • m_lastProject

      @UiField protected com.google.gwt.user.client.ui.HasText m_lastProject
      Text field for resource information.

    • m_locales

      @UiField protected com.google.gwt.user.client.ui.HasText m_locales
      Text field for resource information.

    • m_lockState

      @UiField protected com.google.gwt.user.client.ui.HasText m_lockState
      Text field for resource information.

    • m_permissions

      @UiField protected com.google.gwt.user.client.ui.HasText m_permissions
      Text field for resource information.

    • m_resourceType

      @UiField protected com.google.gwt.user.client.ui.HasText m_resourceType
      Text field for resource information.

    • m_scrollPanel

      @UiField protected CmsScrollPanel m_scrollPanel
      Scroll panel for resource information.

    • m_size

      @UiField protected com.google.gwt.user.client.ui.HasText m_size
      Text field for resource information.

    • m_state

      @UiField protected com.google.gwt.user.client.ui.HasText m_state
      Text field for resource information.

    • m_title

      @UiField protected com.google.gwt.user.client.ui.HasText m_title
      Text field for resource information.

    • m_userCreated

      @UiField protected com.google.gwt.user.client.ui.HasText m_userCreated
      Text field for resource information.

    • m_userLastModified

      @UiField protected com.google.gwt.user.client.ui.HasText m_userLastModified
      Text field for resource information.

    • m_additionalParams

      @UiField protected com.google.gwt.user.client.ui.FlowPanel m_additionalParams
      Contains the additional information lines.

  • Constructor Details

    • CmsResourceInfoView

      public CmsResourceInfoView(org.opencms.gwt.shared.CmsResourceStatusBean status, CmsContextMenuHandler menuHandler)
      Creates a new widget instance.

      Parameters:
      status - the resource information to display
      menuHandler - the context menu handler
  • Method Details