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, Iterable<com.google.gwt.user.client.ui.Widget>, I_CmsAutoHider

public class CmsResourceInfoDialog extends CmsPopup
Dialog for displaying resource information.

  • Field Details

  • Constructor Details

    • 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 bean
      includeTargets - true if relation targets should be displayed
      detailContentId - the detail content id
  • Method Details

    • load

      public static void load(org.opencms.util.CmsUUID structureId, boolean includeTargets, org.opencms.util.CmsUUID detailContentId, Map<String,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 loaded
      includeTargets - true if relation targets should also be displayed
      detailContentId - the structure id of the detail content if present
      context - additional parameters from the context used for displaying additional infos
      closeHandler - 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, String startTab, Map<String,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 loaded
      includeTargets - true if relation targets should also be displayed
      detailContentId - the structure id of the detail content if present
      startTab - the start tab id
      context - additional parameters from the context used for displaying additional infos
      closeHandler - the close handler for the dialog (may be null if no close handler is needed)
    • onLoad

      public void onLoad()
      Overrides:
      onLoad in class com.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