executeWithProgress
public static void executeWithProgress(RunnableWithProgress run,
java.lang.String description,
boolean allowCancel,
int millisToShowProgress)
Executes runnable task with progress. All runtime exceptions from
runnable will be thrown from this method.
- Parameters:
run - runnable which will be executed during progress show.
description - title of progress bar.
allowCancel - true if cancel should be enabled.
millisToShowProgress - amount of time before progress is displayed. Pass 0 if progress
should be displayed without delay.