Class MessageboxProvider


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

      • 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​(java.lang.String message)