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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendLogMessage(java.lang.String message)Append a message to the progress logvoidsetCurrentAction(java.lang.String text)Sets the current action that is donevoidsetCustomText(java.lang.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 Detail
-
setVisible
void setVisible(boolean visible)
Sets the visibility of this dialog- Parameters:
visible- The visibility,trueto show it,falseto hide it
-
updateProgress
void updateProgress(int progress)
Updates the progress value to the specified progress.- Parameters:
progress- The progress as integer. Between 0 andPleaseWaitProgressMonitor.PROGRESS_BAR_MAX
-
setCustomText
void setCustomText(java.lang.String text)
Sets the description of what is done- Parameters:
text- The description of the task
-
setCurrentAction
void setCurrentAction(java.lang.String text)
Sets the current action that is done- Parameters:
text- The current action
-
setIndeterminate
void setIndeterminate(boolean newValue)
Display that the current progress cannot be determined- Parameters:
newValue- whether the progress cannot be determined
-
appendLogMessage
void appendLogMessage(java.lang.String message)
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
-
-