gpt4 book ai didi

java - 如何以编程方式列出正在运行的 Eclipse 实例中的所有功能

转载 作者:行者123 更新时间:2023-12-01 05:43:06 27 4
gpt4 key购买 nike

我想为 Eclipse 编写一个简单的依赖可视化插件。我目前基于Eclipse PDE Incubator Dependency Project 。但是,我想将插件分组到功能中以简化图表。

我已经开始使用 Platform.getBundleGroupProviders 正如 another post 所回答的那样。但是,这仅列出了“关于”部分中的功能。我想获得所有功能。

如何获得完整的功能列表?

或者,是否有任何工具已经提供此功能?

最佳答案

您可以尝试org.eclipse.update.configurator.ConfiguratorUtils.getCurrentPlatformConfiguration().getConfiguredFeatureEntries(),但它返回与Platform.getBundleGroupProviders()完全相同的已安装功能列表[i].getBundleGroups()

您确定缺少一些功能吗?

关于java - 如何以编程方式列出正在运行的 Eclipse 实例中的所有功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6624661/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com