Eclipse rcp 数据绑定与值数组

发布于 2025-01-02 02:32:40 字数 341 浏览 5 评论 0原文

我已阅读本教程并且熟悉简单的数据绑定。

但是如何处理与值数组的数据绑定呢?

例如,我想为我的应用程序创建一个首选项页面,我需要为多个可能的配置文件设置多个值,可以添加或删除这些配置文件。

我想做的类似事情是 Eclipse Preferences 页面 General->Keys,您可以在其中选择方案并为该方案设置值。我还需要做的是能够添加和删除方案。

预先感谢您提供任何提示、示例和链接。

问候

I have read this tutorial and I am familiar with simple databinding.

But how do I handle databinding with arrays of values?

For example I want to make a Preferences page for my app where I need to set multiple values for multiple possible profiles, which can be added or removed.

Similar thing that I want to do is an Eclipse Preferences page General->Keys, where you can select Schemes and set values for that scheme. What I need to do additionally is to be able to add and remove schemes.

thank you in advance for any tips, example and links.

regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜还是长夜 2025-01-09 02:32:40

您使用可观察集合,例如本示例中的

You use observable collections, like in this example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文