Class VGenPanel

    • Constructor Detail

      • VGenPanel

        public VGenPanel​(GenForm genForm,
                         int WindowNo,
                         FormFrame frame)
    • Method Detail

      • dispose

        public void dispose()
        Dispose
      • saveSelection

        public void saveSelection()
        Save Selection & return selecion Query or ""
      • generate

        public void generate()
        Generate Shipments/Invoices
      • generateComplete

        public void generateComplete​(ProcessInfo pi)
        Complete generating shipments/invoices. Called from Unlock UI
        Parameters:
        pi - process info
      • lockUI

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

        public void unlockUI​(ProcessInfo pi)
        Unlock User Interface. Called from the Worker when processing is done
        Specified by:
        unlockUI in interface IProcessUI
        Parameters:
        pi - result of execute ASync call
      • isUILocked

        public boolean isUILocked()
        Is the UI locked (Internal method)
        Specified by:
        isUILocked in interface IProcessUI
        Returns:
        true, if UI is locked
      • executeASync

        public void executeASync​(ProcessInfo pi)
        Method to be executed async. Called from the Worker
        Parameters:
        pi - ProcessInfo
      • getParameterPanel

        public CPanel getParameterPanel()
      • getMiniTable

        public MiniTable getMiniTable()
      • getStatusBar

        public StatusBar getStatusBar()
      • statusUpdate

        public void statusUpdate​(String message)
        Description copied from interface: IProcessUI
        Provide status feedback to user
        Specified by:
        statusUpdate in interface IProcessUI
      • ask

        public void ask​(String message,
                        Callback<Boolean> callback)
        Description copied from interface: IProcessUI
        Prompt for user input. Example Usage in process:
                    final StringBuffer answer = new StringBuffer();
                        aProcessMonitor.ask(adMessage, new Callback() {
        
        Specified by:
        ask in interface IProcessUI
      • download

        public void download​(File file)
        Description copied from interface: IProcessUI
        add to list of file available for download after process end
        Specified by:
        download in interface IProcessUI