Package com.saperion.ngc.util
Class MessageboxProvider
- java.lang.Object
-
- com.saperion.ngc.util.MessageboxProvider
-
public final class MessageboxProvider extends java.lang.Object
This provider build zk message boxes to avoid spaghetti code.- Author:
- sts
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
showDocumentCannotBeEditedMessage(ResultSetView view, DocumentId id)
Shows the 'this document cannot be edited' message box with a choice for the user.static void
showNoDownloadMessage(java.lang.String message)
-
-
-
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)
-
-