Class MessageboxProvider

java.lang.Object
com.saperion.ngc.util.MessageboxProvider

public final class MessageboxProvider extends Object
This provider build zk message boxes to avoid spaghetti code.
Author:
sts
  • Method Details

    • showDocumentCannotBeEditedMessage

      public static void showDocumentCannotBeEditedMessage(ResultSetView view, DocumentId id)
      Shows the 'this document cannot be edited' message box with a choice for the user. If the user clicks 'yes' the document with the given document id is shown in view mode. If the user clicks 'no' nothing happens.
      Parameters:
      view - The ResultSetView to post the displayPopupEvent to.
      id - The document if of the document in question.
    • showNoDownloadMessage

      public static void showNoDownloadMessage(String message)