public class BasicAggregateProgressFactory
extends java.lang.Object
ProgressHandle| Constructor | Description |
|---|---|
BasicAggregateProgressFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
static AggregateProgressHandle |
createHandle(java.lang.String displayName,
ProgressContributor[] contributors,
org.openide.util.Cancellable allowToCancel) |
Create an aggregating progress ui handle for a long lasting task.
|
static ProgressContributor |
createProgressContributor(java.lang.String trackingId) |
|
protected static AggregateProgressHandle |
doCreateHandle(java.lang.String displayName,
ProgressContributor[] contributors,
org.openide.util.Cancellable allowToCancel,
boolean systemHandle,
ProgressHandle h) |
|
protected static ProgressHandle |
getProgressHandle(AggregateProgressHandle ah) |
public static AggregateProgressHandle createHandle(java.lang.String displayName, ProgressContributor[] contributors, org.openide.util.Cancellable allowToCancel)
contributors - the initial set of progress indication contributors that are aggregated in the UI.allowToCancel - either null, if the task cannot be cancelled or
an instance of Cancellable that will be called when user
triggers cancel of the task.linkOutput - an Action instance that links the running task in the progress bar
to an output of the task. The action is assumed to open the apropriate component with the task's output.displayName - to be shown in the progress UIProgressHandle, initialized but not started.public static ProgressContributor createProgressContributor(java.lang.String trackingId)
protected static AggregateProgressHandle doCreateHandle(java.lang.String displayName, ProgressContributor[] contributors, org.openide.util.Cancellable allowToCancel, boolean systemHandle, ProgressHandle h)
protected static ProgressHandle getProgressHandle(AggregateProgressHandle ah)
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.