Class CmsLockReportDialog

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.CmsLockReportDialog
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 final class CmsLockReportDialog extends CmsPopup
The lock report dialog.

Since:
8.0.1
  • Method Details

    • openDialogForResource

      public static void openDialogForResource(String title, org.opencms.util.CmsUUID structureId, com.google.gwt.user.client.Command onUnlock, com.google.gwt.user.client.Command optionalOnCloseCommand)
      Opens the lock report dialog for the given resource.

      Parameters:
      title - the dialog title (will use a default value if null)
      structureId - the structure id of the resource
      onUnlock - the command to execute after the has been unlocked
      optionalOnCloseCommand - the optional command to execute when the lock report dialog is closed
    • adjustHeight

      protected void adjustHeight()
      Adjusts the height of the scroll panel.

    • getStructureId

      protected org.opencms.util.CmsUUID getStructureId()
      Returns the structure id of the resource to report on.

      Returns:
      the structure id
    • initContent

      protected void initContent(org.opencms.gwt.shared.CmsLockReportInfo reportInfo)
      Initializes the dialog content with the give report info.

      Parameters:
      reportInfo - the report info
    • onUnlock

      protected void onUnlock()
      Executed on unlock.

    • unlock

      protected void unlock()
      Unlocks the resource and all descending resources.