Community
Participate
Working Groups
In the plug-ins view, there is a counter stating how many plug-ins the filter is currently matching. This number does not get updated upon selecting a new target platform. Should be an easy fix. Need to listen for model changes in PluginsView instead of PluginsContentProvider. When models change, then need to refresh the viewer through the PluginsContentProvider, but also update the counter (updateContentDescription).
Assigning to Sean. Let's see what he is made of ;)
hooray for more help! Sean, if you get stuck, let me know and I can try to help.
welcome Sean, if you need help, feel free to ping me on Sametime or better yet, use IRC and idle on #eclipse-dev Wassim and Brian are posers, they don't idle there, so come idle with the 'cool' people http://wiki.eclipse.org/index.php/IRC
oops
come on Sean, you can do it ;)
Last day to get this fix in is Feb 2, 2007. wake up, Sean :)
Created attachment 57428 [details] Here is the fix. I must have taken to long to start work on this, there were some pretty big changes to PluginView and PluginContentProvider between when I first got the source and this patch ... of course the patch was really trivial now. I didn't realize such (seemingly) big changes would be made ... I mean PluginContentProvider no longer implements IPluginModelListener and PluginView does. Anyway, that looks like the right thing to do ... I just never would have done it since I'd have been afraid to break something else.
Thanks Sean. I just applied the patch, which plays very well. This patch is so much better than my good friend Chris' first patch :) Your observations are all correct in comment 7 about the view and the listener. That is why I made the view to be the listener over the weekend.