| 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 | Description |
|---|---|---|
static ProgressHandle |
ProgressHandle.createHandle(java.lang.String displayName) |
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandle.createHandle(java.lang.String displayName,
org.openide.util.Cancellable allowToCancel) |
Create a progress ui handle for a long lasting task.
|
static ProgressHandle |
ProgressHandle.createSystemHandle(java.lang.String displayName,
org.openide.util.Cancellable allowToCancel) |
Create a cancelable handle for a task that is not triggered by explicit user action.
|
| Modifier and Type | Method | Description |
|---|---|---|
T |
ProgressRunnable.run(ProgressHandle handle) |
Perform the background work
|
static void |
BaseProgressUtils.runOffEventThreadWithProgressDialog(java.lang.Runnable operation,
java.lang.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(java.lang.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> java.util.concurrent.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 | Description |
|---|---|---|
protected static ProgressHandle |
BasicAggregateProgressFactory.getProgressHandle(AggregateProgressHandle ah) |
| Modifier and Type | Method | Description |
|---|---|---|
protected static AggregateProgressHandle |
BasicAggregateProgressFactory.doCreateHandle(java.lang.String displayName,
ProgressContributor[] contributors,
org.openide.util.Cancellable allowToCancel,
boolean systemHandle,
ProgressHandle h) |
| Modifier and Type | Method | Description |
|---|---|---|
ProgressHandle |
ProgressEnvironment.createHandle(java.lang.String displayname,
org.openide.util.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 | Description |
|---|---|---|
void |
RunOffEDTProvider.Progress2.runOffEventThreadWithProgressDialog(java.lang.Runnable operation,
java.lang.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(java.lang.Runnable operation,
ProgressHandle handle,
boolean includeDetailLabel) |
Show a modal progress dialog that blocks the main window while running
a background process.
|
<T> java.util.concurrent.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.
|
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.