如何在jface wizrd中动态创建控件

发布于 2024-09-14 18:09:58 字数 92 浏览 0 评论 0原文

我正在开发 eclipse 插件,我想在循环中动态创建 jface 文本框。 在eclipse插件开发中有没有办法做到这一点? 动态添加文本框后是否需要重绘或其他内容

I am developing eclipse plugin and I want to create jface Text boxes in loop dynamically.
is there a way of doing it in eclipse plugin developement?
do I need to redraw or something after I add Text boxes dynamically

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

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

发布评论

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

评论(2

世界等同你 2024-09-21 18:09:58

您可能需要在新创建的控件的父组合上调用 Composite.layout(),具体取决于您编写代码的方式。

You might need to call Composite.layout() on the parent composite of the freshly created control, depending on how you write the code.

浅笑轻吟梦一曲 2024-09-21 18:09:58

您可以创建所有控件,但使用条件语句来隐藏/显示和更新控件中的信息

you may create all your controls but use a conditional statement to hide/show and update information in the controls

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