Package | Description |
---|---|
org.netbeans.api.progress |
This API allows to visualize tracking for progress of long lasting tasks.
|
org.netbeans.api.progress.aggregate |
Advanced progress manipulation, allowing to construct a single progress indication bar
from multiple, possibly independent sources.
|
org.netbeans.modules.progress.spi |
Interfaces permitting a UI for the progress system to be supplied.
|
Modifier and Type | Method and Description |
---|---|
static ProgressHandle |
ProgressHandle.createHandle(String displayName)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandle.createHandle(String displayName,
Cancellable allowToCancel)
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandle.createHandle(String displayName,
Cancellable allowToCancel,
Action viewAction)
Creates a potentially cancellable handle, which can deliver an event if the user 'triggers' the handle.
|
static ProgressHandle |
ProgressHandle.createSystemHandle(String displayName,
Cancellable allowToCancel)
Create a cancelable handle for a task that is not triggered by explicit user action.
|
static ProgressHandle |
ProgressHandle.createSystemHandle(String displayName,
Cancellable allowToCancel,
Action viewAction)
Creates a possibly cancellable handle, not initiated by the user, e.g.
|
Modifier and Type | Method and Description |
---|---|
T |
ProgressRunnable.run(ProgressHandle handle)
Perform the background work
|
static void |
BaseProgressUtils.runOffEventThreadWithProgressDialog(Runnable operation,
String dialogTitle,
ProgressHandle progress,
boolean includeDetailLabel,
int waitCursorAfter,
int dialogAfter)
Runs operation out of the event thread, blocking the whole UI.
|
static void |
BaseProgressUtils.showProgressDialogAndRun(Runnable operation,
ProgressHandle progress,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window and all other
currently displayed frames or dialogs, while running the passed runnable
on a background thread.
|
static <T> Future<T> |
BaseProgressUtils.showProgressDialogAndRunLater(ProgressRunnable<T> operation,
ProgressHandle handle,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window and all other
currently displayed frames or dialogs while running a background process.
|
Modifier and Type | Method and Description |
---|---|
protected static ProgressHandle |
BasicAggregateProgressFactory.getProgressHandle(AggregateProgressHandle ah) |
Modifier and Type | Method and Description |
---|---|
protected static AggregateProgressHandle |
BasicAggregateProgressFactory.doCreateHandle(String displayName,
ProgressContributor[] contributors,
Cancellable allowToCancel,
boolean systemHandle,
ProgressHandle h) |
Modifier and Type | Method and Description |
---|---|
ProgressHandle |
ProgressEnvironment.createHandle(String displayname,
Cancellable c,
boolean userInit)
Creates a ProgressHandle with the specified parameters.
|
ProgressHandle |
InternalHandle.createProgressHandle()
Creates a
ProgressHandle instance, which works with this SPI. |
Modifier and Type | Method and Description |
---|---|
void |
RunOffEDTProvider.Progress2.runOffEventThreadWithProgressDialog(Runnable operation,
String operationDescr,
ProgressHandle progress,
boolean includeDetailLabel,
int waitCursorAfter,
int dialogAfter)
Runs operation out of the event thread, blocking the whole UI.
|
void |
RunOffEDTProvider.Progress.showProgressDialogAndRun(Runnable operation,
ProgressHandle handle,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window while running
a background process.
|
<T> Future<T> |
RunOffEDTProvider.Progress.showProgressDialogAndRunLater(ProgressRunnable<T> toRun,
ProgressHandle handle,
boolean includeDetailLabel)
Show a modal progress dialog that blocks the main window while running
a background process.
|