简体   繁体   English

Eclipse PDE,创建控件

[英]Eclipse PDE, create controls

From the very helpful templates I´ve got some controls. 从非常有用的模板我得到了一些控制。 But how do I discover where those controls are located. 但是,我如何发现这些控件的位置。

For example I know how to create a label or a button but how can I find a checkbox or add a browser to a button a List Box ... 例如,我知道如何创建标签或按钮,但如何找到一个复选框或将浏览器添加到列表框的按钮...

Isn´t there any documentation where a developer can find those things? 是不是有开发人员可以找到这些东西的文档?

You could use the Plugin Spy to see how those control are referenced in other plugins, in order to replicate that in your own plugins. 您可以使用插件间谍来查看在其他插件中如何引用这些控件,以便在您自己的插件中复制它。

插件间谍

For example I know how to create a label or a button but how can I find a checkbox or add a browser to a button a List Box ... 例如,我知道如何创建标签或按钮,但如何找到一个复选框或将浏览器添加到列表框的按钮...

A checkbox is a Button with the SWT.CHECK style. 复选框是具有SWT.CHECK样式的Button

Isn't there any documentation where a developer can find those things? 是不是有开发人员可以找到这些东西的文档?

I bought an SWT book. 我买了一本SWT书。 The Definitive Guide to SWT and JFace. SWT和JFace的权威指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM