RunOffEDTProviderRunOffEDTProvider.Progress2public static interface RunOffEDTProvider.Progress extends RunOffEDTProvider
RunOffEDTProvider.Progress, RunOffEDTProvider.Progress2| Modifier and Type | Method | Description |
|---|---|---|
void |
showProgressDialogAndRun(java.lang.Runnable operation,
ProgressHandle handle,
boolean includeDetailLabel) |
Show a modal progress dialog that blocks the main window while running
a background process.
|
<T> T |
showProgressDialogAndRun(ProgressRunnable<T> toRun,
java.lang.String displayName,
boolean includeDetailLabel) |
Show a modal progress dialog that blocks the main window while running
a background process.
|
<T> java.util.concurrent.Future<T> |
showProgressDialogAndRunLater(ProgressRunnable<T> toRun,
ProgressHandle handle,
boolean includeDetailLabel) |
Show a modal progress dialog that blocks the main window while running
a background process.
|
runOffEventDispatchThreadvoid showProgressDialogAndRun(java.lang.Runnable operation,
ProgressHandle handle,
boolean includeDetailLabel)
operation - A runnable that needs to be run with the UI blockedhandle - A progress handle that will be updated to reflect
the progress of the operationshowDetails - If true, a label should be provided in the progress
dialog to show detailed progress messages<T> T showProgressDialogAndRun(ProgressRunnable<T> toRun, java.lang.String displayName, boolean includeDetailLabel)
T - The type of the return valuetoRun - A ProgressCallable which will be passed a progress handle
on a background thread, can do its work and (optionally) return a valuedisplayName - The display name of the work being doneincludeDetailLabel - Show the detail levels. Set to true if the
caller will use ProgressHandle.progress (String, int) to provide
detailed progress messages<T> java.util.concurrent.Future<T> showProgressDialogAndRunLater(ProgressRunnable<T> toRun, ProgressHandle handle, boolean includeDetailLabel)
toRun - The operation to runhandle - A progress handleincludeDetailLabel - Whether or not to include a detail labelBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.