public interface ProgressDelegate
ConcurrentFeature
.
Typically ProgressDelegate is a modal dialog box with a progress bar and a "Cancel" button.
Modifier and Type | Method and Description |
---|---|
void |
done()
Executed when service thread is finished.
|
void |
onException(Throwable ex)
Executed when service thread is finished with exception.
|
void |
setUpDelegate(ConcurrentExecutor executor,
ConcurrentFeature concurrentFeature,
ConcurrentAdapter adapter)
Set up and displays the ProgressDelegate.
|
void |
start()
Executed when service thread is started
|
void done()
void onException(Throwable ex)
ex
- the Throwablevoid setUpDelegate(ConcurrentExecutor executor, ConcurrentFeature concurrentFeature, ConcurrentAdapter adapter)
executor
- the ConcurrentExecutoconcurrentFeature
- the ConcurrentFeatureadapter
- the ConcurrentAdaptervoid start()
Copyright © 2010-2020 Toolsverse. All Rights Reserved.