Interface IProcessUI

    • Method Detail

      • lockUI

        void lockUI​(ProcessInfo pi)
        Lock User Interface. Called from the Worker before processing
        Parameters:
        pi - process info
      • unlockUI

        void unlockUI​(ProcessInfo pi)
        Unlock User Interface. Called from the Worker when processing is done
        Parameters:
        pi - process info
      • isUILocked

        boolean isUILocked()
        Is the UI locked
        Returns:
        true, if UI is locked
      • statusUpdate

        void statusUpdate​(String message)
        Provide status feedback to user
        Parameters:
        message -
      • ask

        void ask​(String message,
                 Callback<Boolean> callback)
        Prompt for user input. Example Usage in process:
                    final StringBuffer answer = new StringBuffer();
                        aProcessMonitor.ask(adMessage, new Callback() {    
        Parameters:
        message -
        callback -
      • askForInput

        default void askForInput​(String message,
                                 MLookup lookup,
                                 int displayType,
                                 Callback<Object> callback)
        Prompt user for input with a configurable DisplayType (String, Number, TableDir or Search) Usage is the same from ask and askForInput methods with some additional parameters muriloht - devCoffee #3390
        Parameters:
        message -
        lookup -
        displayType -
        callback -
      • download

        void download​(File file)
        add to list of file available for download after process end
        Parameters:
        file -
      • showReports

        default void showReports​(List<File> pdfList)
        show reports from a given file list matheus.marcelino - devCoffee #5561
        Parameters:
        pdfList -
      • showInfoWindow

        default void showInfoWindow​(int WindowNo,
                                    String tableName,
                                    String keyColumn,
                                    String queryValue,
                                    boolean multipleSelection,
                                    String whereClause,
                                    Integer AD_InfoWindow_ID,
                                    boolean lookup)
        show an info window from inside a process with user defined parameters gustavo.francisco - devCoffee #7094
        Parameters:
        WindowNo -
        tableName -
        keyColumn -
        queryValue -
        multipleSelection -
        whereClause -
        AD_InfoWindow_ID -
        lookup -