Class CommandLineUiCallback

  • All Implemented Interfaces:
    IGuiCallback

    public class CommandLineUiCallback
    extends java.lang.Object
    implements IGuiCallback
    Implementation of the UI callback for command line sessions.
    Author:
    andy.st
    • Constructor Detail

      • CommandLineUiCallback

        public CommandLineUiCallback()
    • Method Detail

      • showConfirmDialog

        public int showConfirmDialog​(java.lang.String message,
                                     java.lang.String title,
                                     int optionType)
        Specified by:
        showConfirmDialog in interface IGuiCallback
      • getProgressMonitorInputStream

        public java.io.InputStream getProgressMonitorInputStream​(java.io.InputStream in,
                                                                 int length,
                                                                 java.lang.String msg)
        Specified by:
        getProgressMonitorInputStream in interface IGuiCallback
      • setErrorMessage

        public void setErrorMessage​(java.lang.String errorMsg)
        Specified by:
        setErrorMessage in interface IGuiCallback
      • displayNonmodelMessage

        public void displayNonmodelMessage​(java.lang.String title,
                                           java.lang.String message)
        Specified by:
        displayNonmodelMessage in interface IGuiCallback
      • showQuestionDialog

        public java.lang.String showQuestionDialog​(java.lang.String message,
                                                   java.lang.String title,
                                                   java.lang.String defaultValue)
        Specified by:
        showQuestionDialog in interface IGuiCallback