base/common/src/main/com/thesett/common/swing/workflow/WorkFlowController.java
protected void saveWorkFlow()
    {
        /*log.fine("void saveWorkFlow(): called");*/

        // Cycle through all the accessed screens in the work flow
        while (!accessedScreens.isEmpty())
        {
            WorkFlowScreenPanel nextScreen = (WorkFlowScreenPanel) accessedScreens.pop();

            // Check if the screen has unsaved state and call its save work method if so
            if (nextScreen.getState().getState().equals(WorkFlowScreenState.NOT_SAVED))
            {
                nextScreen.saveWork();
            }
        }

        // Call the save work method for the entire work flow controller to finalize the work flow
        saveWork();
    }
protected void saveWorkFlow()
    {
        /*log.fine("void saveWorkFlow(): called");*/

        // Cycle through all the accessed screens in the work flow
        while (!accessedScreens.isEmpty())
        {
            WorkFlowScreenPanel nextScreen = (WorkFlowScreenPanel) accessedScreens.pop();

            // Check if the screen has unsaved state and call its save work method if so
            if (nextScreen.getState().getState().equals(WorkFlowScreenState.NOT_SAVED))
            {
                nextScreen.saveWork();
            }
        }

        // Call the save work method for the entire work flow controller to finalize the work flow
        saveWork();
    }
protected void saveWorkFlow ( ) { /*log.fine("void saveWorkFlow(): called");*/ // Cycle through all the accessed screens in the work flow while ( ! accessedScreens . isEmpty ( ) ) { WorkFlowScreenPanel nextScreen = ( WorkFlowScreenPanel ) accessedScreens . pop ( ) ; // Check if the screen has unsaved state and call its save work method if so if ( nextScreen . getState ( ) . getState ( ) . equals ( WorkFlowScreenState . NOT_SAVED ) ) { nextScreen . saveWork ( ) ; } } // Call the save work method for the entire work flow controller to finalize the work flow saveWork ( ) ; }
Method called when the finish button is pressed. It works through all the screens in the order in which they were
accessed (or reverse order, depending on the order set by the {@link #setCommitOrder} method). Any screens that
are in the NOT_SAVED state will have their {@link WorkFlowScreenPanel#saveWork} method called. After this step is
complete the {@link #saveWork} for the work flow controller is called.
Method called when the finish button is pressed . It works through all the screens in the order in which they were accessed ( or reverse order depending on the order set by the {