Community
Participate
Working Groups
I was under the impression that the about info and other places in UI should be independent of features, and use IProduct and IBundleGroup instead. Currently, there are still calls to get the primary feature, etc. which should be replaced by Platform.getProduct(), etc.
yes, I saw this too while doing some performance work. Everything needed should be availble from IProduct and IBundleGroup. Using the feature support is duplicating work already done by update.
We only converted UI, not IDE. But it should be possible to get away from features in IDE as well. There was another bug reported about the performance impact of this, but I'll keep this separate.
See bug 68982 also. The key issue here is for the UI to define a Product extension. If it did this then a) it would be a good example for others b) it would avoid running a mess of legacy code in Update which ends up reading a mess o files etc etc. (i.e., performance gain)
Jeff is particularly interested in having IDEWorkbenchPlugin.getPrimaryInfo fixed, as it seems to get called alot. The method retrieves the current platform configuration which causes update to do alot of work. Even if we don't get all of IDE off the old stuff, it should be possible to update the commonly used methods (such as this one).
A fix for this has been reviewed by nick and submitted to HEAD.
I've verified that this is working properly in build 200406090800.