| Summary: | [ui] revisit RepositoryTracker in general and the local cache impl in particular | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Susan McCourt <susan> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffmcaffer, matthew, pascal |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
|
Description
Susan McCourt
(In reply to comment #0) > Perhaps we should strive to evolve RepositoryTracker into a customized > error/reporter and event batcher, without having the convenience methods for > add/remove/refresh. This would involve defining a runnable that the client > runs during batching, and then the client can make decisions about colocation, > etc. To clarify: this would involve a runnable that the client supplies, that the tracker runs as a batch operation. So the client can decide if it's refreshing metadata, artifacts, or both. And the tracker handles the event batching that occurs in the meantime. The client would have to specify whether the end result should be an update in the UI, but we have to be careful about the current assumptions made (see the end of ColocatedRepositoryTracker.addRepository(...)) where we are faking certain events to ensure the UI responds. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This bug was marked as stalebug a while ago. Marking as worksforme. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag. |