These tasks first register with this monitor through
the
registerThreadedActivity method, and then notify the monitor of any progress
they make by calling the
updateActivityProgress method. Eventually, a task can be removed from the
list by calling
unregisterThreadedActivity method. A task that reports a progress reading of
one hundred percent is automatically unregistered from the monitor.
IlvManagerView view; // the main view of the application
// Get the manager of this view (provided that it was set somewhere before)
IlvManager manager = view.getManager();
// Get the activity monitor associated with this manager
IlvThreadedActivityMonitor monitor =
IlvThreadedActivityMonitorProperty.GetThreadedActivityMonitor(manager);
if (monitor != null) {
// Notify the monitor of the progress of this activity
monitor.updateActivityProgress(this,100,null);
};