How can I programatically list all the features in a running Eclipse instance
I'm want to write a simple dependency visualisation plugin for Eclipse. I've currently based it on the Eclipse PDE Incubator Dependency Project. However, I would like to group plugins into features to simplify the diagram.
I have started by using Platform.getBundleGroupProviders
as answered by another post. However, this only lists features in the About section. I'd like to get ALL the features.
How can I get the complete list of featur开发者_如何转开发es?
Alternatively, are there any tools that already provide this functionality?
You could try org.eclipse.update.configurator.ConfiguratorUtils.getCurrentPlatformConfiguration().getConfiguredFeatureEntries()
, but it returns exactly the same list of installed featured as Platform.getBundleGroupProviders()[i].getBundleGroups()
Sure you're missing some features ?
精彩评论