@OpenApiAll
public class MagicDrawProgressStatusRunner
extends java.lang.Object
| Constructor and Description |
|---|
MagicDrawProgressStatusRunner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runWithProgressStatus(Project project,
RunnableWithProgress runnable,
java.lang.String description,
boolean allowCancel,
int millisToShow)
Executes runnable with progress status.
|
static void |
runWithProgressStatus(RunnableWithProgress runnable,
java.lang.String description,
boolean allowCancel,
int millisToShow)
Executes runnable with progress status.
|
public static void runWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel, int millisToShow)
runnable - runnable actually performing the taskdescription - title of progress barallowCancel - true if cancel should be enabledmillisToShow - amount of time before progress is displayed. Pass 0 if progress should be displayed without delayRunnableWithProgress,
ProgressStatus,
ProgressMonitorAdapterpublic static void runWithProgressStatus(Project project, RunnableWithProgress runnable, java.lang.String description, boolean allowCancel, int millisToShow)
project - active projectrunnable - runnable actually performing the taskdescription - title of progress barallowCancel - true if cancel should be enabledmillisToShow - amount of time before progress is displayed. Pass 0 if progress should be displayed without delayRunnableWithProgress,
ProgressStatus,
ProgressMonitorAdapter