This document lists changes made to the Progress API/SPI.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
ProgressUtils class with runOffEventDispatchThread methods was added.ProgressHandle.suspend(String) method for visual suspend of a running task.createProgressComponent(AggregateProgressHandle) method to AggregateProgressFactorysetInitialDelay(int) method to ProgressHandle and AggregateProgressHandleThese API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.progress > 1.20
ProgressUtils class with runOffEventDispatchThread methods was added.ProgressHandle.suspend(String) method for visual suspend of a running task.createProgressComponent(AggregateProgressHandle) method to AggregateProgressFactorysetInitialDelay(int) method to ProgressHandle and AggregateProgressHandleorg.netbeans.api.progress.aggregate.AggregateProgressFactorycreateProgressComponent(AggregateProgressHandle) method to AggregateProgressFactoryorg.netbeans.api.progress.aggregate.AggregateProgressHandlecreateProgressComponent(AggregateProgressHandle) method to AggregateProgressFactorysetInitialDelay(int) method to ProgressHandle and AggregateProgressHandleorg.netbeans.api.progress.ProgressHandleProgressHandle.suspend(String) method for visual suspend of a running task.setInitialDelay(int) method to ProgressHandle and AggregateProgressHandleorg.netbeans.api.progress.ProgressHandleFactoryorg.netbeans.api.progress.ProgressUtilsProgressUtils class with runOffEventDispatchThread methods was added.ProgressUtils; made by: t_h; issues:
#170882ProgressUtils class with runOffEventDispatchThread methods
was added. These methods allow movement of operations out of AWT thread while blocking UI.
ProgressHandle.suspend(String) method for visual suspend of a running task.ProgressHandle; made by: mkleint; issues:
#63586Adding suspend(String) to ProgressHandle class.
Any progress event coming after this call wakes up the progress bar to previous state.
Currently running task can switch to silent suspend mode where the progress bar stops moving, hides completely or partially. The exact UI behaviour is undefined.
Useful to make progress in status bar less intrusive for very long running tasks, eg. running an ant script that executes user application, debugs user application etc.
ProgressHandleFactory AggregateProgressFactory; made by: mkleint; issues:
#58889Adding createMainLabelComponent(ProgressHandle) and
createDetailLabelComponent(ProgressHandle) to ProgressHandleFactory and AggregateProgressFactory classes.
These are complementary to the createProgressComponent(ProgressHandle) method and allow to
externalize the display of task's display name and detail messages when embedded in custom UI components.
Split the implementation and APIs of progress component.
ProgressHandle AggregateProgressHandle; made by: mkleint; issues:
#68923
Added new method setDisplayName(String) to ProgressHandle and AggregateProgressHandle,
allows to change the main identifying name of the progress task.
createProgressComponent(AggregateProgressHandle) method to AggregateProgressFactoryAggregateProgressFactory AggregateProgressHandle; made by: mkleint; issues:
#66554For aggregated progress handles the equivalent of ProgressHandleFactory.createProgressComponent() was missing. Added in this version.
setInitialDelay(int) method to ProgressHandle and AggregateProgressHandleProgressHandle AggregateProgressHandle; made by: mkleint; issues:
#60966The newly added methods allow to customize the amount of time that shall pass between the start of handle's progress and it's appearance in the status bar. If the progress task finishes fast enough it won't appear in the UI at all. The default value is around 0.5s.
For handles that are used in dialogs and elsewhere, this property has no effect and the handle's component is shown immediately.
Built on July 6 2010. | Portions Copyright 1997-2010 Sun Microsystems, Inc. All rights reserved.