Class CmsRestoreDialog

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.restore.CmsRestoreDialog
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 CmsRestoreDialog extends CmsPopup
A dialog used for undoing changes to a resource and restoring it to its last published state.

  • Field Details

    • m_restoreView

      The content widget for this dialog.
    • m_structureId

      protected org.opencms.util.CmsUUID m_structureId
      The structure id of the resource to undo changes for.
  • Constructor Details

    • CmsRestoreDialog

      public CmsRestoreDialog(org.opencms.util.CmsUUID structureId, Runnable afterRestoreAction)
      Creates a new instance of this dialog.

      Parameters:
      structureId - the structure id of the resource which should be restored
      afterRestoreAction - the action which will be executed after the resource has been restored
  • Method Details

    • loadAndShow

      public void loadAndShow()
      Loads the necessary data for the dialog from the server and shows the dialog.