Several Small Updates to ProcessingStatusDialog
Previously when the job being monitored by ProcessingStatusDialog completes, the dialog would close itself after 60 seconds. Now the time can be configured using the method ProcessingStatusDialog.setAutoCloseDelaySeconds. A value of 0 disables this auto close feature.
Added methods ProcessingStatusDialog.getJobWasAborted and ProcessingStatusControl.getJobWasStopped. When the user either stops or aborts the processing job through the interface the respective method will return true to denote this.
Eaxmple usage from Ruby (full file here):
processing_status_dialog = ProcessingStatusDialog.new
processing_status_dialog.setAutoCloseDelaySeconds(42) # Set to non-default value
# This will begin processing and display the processing status dialog
puts "Handing off to processing status dialog..."
processing_status_dialog.displayAndBeginProcessing(processor)
puts "Job was aborted?: #{processing_status_dialog.getJobWasAborted}"
puts "Job was stopped?: #{processing_status_dialog.getJobWasStopped}"