sdedic commented on a change in pull request #2641:
URL: https://github.com/apache/netbeans/pull/2641#discussion_r552552292
##########
File path:
platform/api.progress/src/org/netbeans/api/progress/aggregate/BasicAggregateProgressFactory.java
##########
@@ -53,6 +54,42 @@ public static ProgressContributor
createProgressContributor(String trackingId) {
return new ProgressContributor(trackingId);
}
+ /**
+ * Create an aggregating progress ui handle for a long lasting task.
+ * @param contributors the initial set of progress indication contributors
that are aggregated in the UI.
+ * @param allowToCancel either null, if the task cannot be cancelled or
+ * an instance of {@link org.openide.util.Cancellable} that will
be called when user
+ * triggers cancel of the task.
+ * @param linkOutput an <code>Action</code> 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.
+ * @param displayName to be shown in the progress UI
+ * @return an instance of <code>ProgressHandle</code>, initialized but not
started.
+ * @since 1.59
+ */
+ public static AggregateProgressHandle createSystemHandle(String
displayName, ProgressContributor[] contributors,
Review comment:
I could migrate them (add new ones, deprecated old ones), too - now when
the API is being touched. Do you think it is beneficial ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists