Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 248989

Summary: [ui] need to respond to new repo ENABLEMENT event
Product: [Eclipse Project] Equinox Reporter: Susan McCourt <susan>
Component: p2Assignee: Susan McCourt <susan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: unspecified   
Target Milestone: 3.5 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 241307    
Bug Blocks:    

Description Susan McCourt CLA 2008-09-29 13:46:45 EDT
The fix for bug #241307 includes sending a repository ENABLED event.
The UI needs to handle this simarly to an ADD event - so that it refreshes the list of shown repositories when a repo gets enabled.
Comment 1 Susan McCourt CLA 2008-09-29 13:48:07 EDT
marking M3
Comment 2 Susan McCourt CLA 2008-10-14 18:00:16 EDT
Fixed in HEAD >20081014.

Given the fact that I can't currently distinguish between system and non-system repos in the RepositoryEvent, and the fact that the repo manager often adds things as enabled first, then potentially disables, etc...I was nervous about handling the ENABLEMENT event in a generic way.

It seemed best at this point to generate my own event whenever the user adds and removes a repo, and only respond to the user-generated event.  This way I'll ignore any side-effect adds/removes/disables that occur in the process of a user adding a repo.
Comment 3 Susan McCourt CLA 2008-10-29 15:50:57 EDT
Verified in WinXP, Build id: I20081029-0100
If you disable Ganymede, and then add it, it will appear again in the available software list.