public static interface RunOffEDTProvider.Progress2 extends RunOffEDTProvider.Progress
RunOffEDTProvider.Progress, RunOffEDTProvider.Progress2
Modifier and Type | Method and Description |
---|---|
void |
runOffEventThreadWithCustomDialogContent(Runnable operation,
String dialogTitle,
JPanel content,
int waitCursorAfter,
int dialogAfter)
Deprecated.
interface SwingProgress should be used instead.
|
void |
runOffEventThreadWithProgressDialog(Runnable operation,
String operationDescr,
ProgressHandle progress,
boolean includeDetailLabel,
int waitCursorAfter,
int dialogAfter)
Runs operation out of the event thread, blocking the whole UI.
|
showProgressDialogAndRun, showProgressDialogAndRun, showProgressDialogAndRunLater
runOffEventDispatchThread
void runOffEventThreadWithProgressDialog(Runnable operation, String operationDescr, ProgressHandle progress, boolean includeDetailLabel, int waitCursorAfter, int dialogAfter)
Cancellable
interface, cancel button is part of dialog and can be used
to interrupt the operation.operation
- task to perform in the backgroundoperationDescr
- dialog titleprogress
- progress handle. Do not invoke any methods before
passing to this method. Start/progress/finish it
only in operation
includeDetailLabel
- show progress detail label in the dialogwaitCursorAfter
- amount of time, in milliseconds, after which
wait cursor is showndialogAfter
- amount of time, in milliseconds, after which
dialog is shown@Deprecated void runOffEventThreadWithCustomDialogContent(Runnable operation, String dialogTitle, JPanel content, int waitCursorAfter, int dialogAfter)
content
panel is shown.
If operation is marked with Cancellable
interface, cancel button is part of dialog and can be used to
interrupt the operation.operation
- task to perform in the backgrounddialogTitle
- dialog titlecontent
- panel to be shown in the dialogwaitCursorAfter
- amount of time, in milliseconds, after which
wait cursor is showndialogAfter
- amount of time, in milliseconds, after which
dialog is shown