Interface IWaitDialog


  • public interface IWaitDialog
    Provides a generic way to open a dialog box and wait for a simple input from the user.
    • Method Detail

      • waitForUserInput

        int waitForUserInput​(String message,
                             String okLabel)
        Opens a dialog or prompt and waits for the user input.
        Parameters:
        message - the message to display.
        okLabel - the label to display for the OK button.
        Returns:
        0 if the user cancels, a positive value otherwise.