Interface PleaseWaitProgressMonitor.ProgressMonitorDialog
- All Known Implementing Classes:
MapStatus.BackgroundProgressMonitor,PleaseWaitDialog
- Enclosing class:
- PleaseWaitProgressMonitor
public static interface PleaseWaitProgressMonitor.ProgressMonitorDialog
Implemented by both foreground dialog and background progress dialog (in status bar)
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendLogMessage(String message) Append a message to the progress logvoidsetCurrentAction(String text) Sets the current action that is donevoidsetCustomText(String text) Sets the description of what is donevoidsetIndeterminate(boolean newValue) Display that the current progress cannot be determinedvoidsetVisible(boolean visible) Sets the visibility of this dialogvoidupdateProgress(int progress) Updates the progress value to the specified progress.
-
Method Details
-
setVisible
Sets the visibility of this dialog- Parameters:
visible- The visibility,trueto show it,falseto hide it
-
updateProgress
Updates the progress value to the specified progress.- Parameters:
progress- The progress as integer. Between 0 andPleaseWaitProgressMonitor.PROGRESS_BAR_MAX
-
setCustomText
Sets the description of what is done- Parameters:
text- The description of the task
-
setCurrentAction
Sets the current action that is done- Parameters:
text- The current action
-
setIndeterminate
Display that the current progress cannot be determined- Parameters:
newValue- whether the progress cannot be determined
-
appendLogMessage
Append a message to the progress logTODO Not implemented properly in background monitor, log message will get lost if progress runs in background
- Parameters:
message- The message
-