Bug 214691 - [prov] [repo] Need to support progress monitor cancellation when loading repositories
Summary: [prov] [repo] Need to support progress monitor cancellation when loading repo...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Incubator (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-01-08 17:49 EST by Susan McCourt CLA
Modified: 2008-01-11 17:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-01-08 17:49:20 EST
The progress monitor passed in to MetadataRepositoryManager.loadRepository(...) is not passed on to the factories.  So if the user tries to cancel, they can't.  That's a long wait if the UI happens to be blocking on it.  

I realize the UI shouldn't be blocking on a repo load.  But now that repos are lazily loaded as needed, we are running into cases like this.  Worse, there are cases in the API where there is no progress monitor argument, so the UI doesn't suspect it's long running, and a side-effect repo load occurs.  I'll open a separate bug for that one.
Comment 1 John Arthorne CLA 2008-01-11 17:07:32 EST
Done.