IlvManager
.IlvThreadedActivityMonitor mon = IlvThreadedActivityMonitorProperty.GetThreadedActivityMonitor(manager);
mon.updateActivityProgress(activityID,10,"doing something long"); ... do something long that takes 10% of total time... mon.updateActivityProgress(activityID,20,"doing another thing"); ...
mon.addActivityListener(new IlvThreadedActivityMonitor.ActivityListener() { public void activityChanged(ActivityEvent e) { if(e.getEventType() == IlvThreadedActivityMonitor.ActivityEvent.ACTIVITY_REMOVED) { ... an activity just ended, do something. } });