Community
Participate
Working Groups
20030219 The doc of IProgressMonitor.done() says that this method has to be called when the task is finished or cancel has been pressed. I added a progress monitor to the type hierarchy which shows up in the workbench window footer. Everything works fine except that when I cancel, the progress monitor stays in the window an continues to show the 'unlimited' progress. For a temporary solution I added a monitor.done in my caller code to make the monitor to go away.
Added finally block in TypeHierarchy.refresh(...) to ensure done() is always called.
Verified.