如何以编程方式列出正在运行的 Eclipse 实例中的所有功能
我想为 Eclipse 编写一个简单的依赖可视化插件。我目前基于 Eclipse PDE 孵化器依赖项目。但是,我想将插件分组到功能中以简化图表。
我开始使用 Platform.getBundleGroupProviders
作为回答 另一篇文章。但是,这仅列出了“关于”部分中的功能。我想获得所有功能。
我如何获得完整的功能列表?
或者,是否有任何工具已经提供此功能?
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 features?
Alternatively, are there any tools that already provide this functionality?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试 org.eclipse.update.configurator.ConfiguratorUtils.getCurrentPlatformConfiguration().getConfiguredFeatureEntries(),但它返回与 Platform.getBundleGroupProviders()[i] 完全相同的已安装功能列表.getBundleGroups()
您确定缺少一些功能吗?
You could try
org.eclipse.update.configurator.ConfiguratorUtils.getCurrentPlatformConfiguration().getConfiguredFeatureEntries()
, but it returns exactly the same list of installed featured asPlatform.getBundleGroupProviders()[i].getBundleGroups()
Sure you're missing some features ?