ITeye博客

Eclipse Plug-in

共 4 篇文章

swt 工具栏中添加下拉式的按钮[转]

swt 工具栏中添加下拉式的按钮 package rcp; import org.eclipse.swt.SWT; public class ToolItemDropDownMenu { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); ToolBar toolBar = new ToolBar(shell, SWT.BORDER | SWT.VERTICAL); ToolItem item = new ToolItem(too…

2012-08-21 08:14 · Eclipse Plug-in · SWT

Eclipse plugin.xml 国际化

1、在Plugin.xml同目录下新建plugin.properties、plugin_en.properties、plugin_zh_CN.properties。 2、在插件的 MANIFEST.MF 文件后面添加上 Bundle-Localization: plugin 和一个回车。 3、将Plugin.xml文件中中文部分替换成%xxxx。

2012-08-20 17:11 · Eclipse Plug-in · Eclipse

Eclipse plug-in 书籍

Eclipse SWT/Jface 书籍。

2012-08-10 09:58 · Eclipse Plug-in · Eclipse · SWT · jface

Eclipse 插件开发 问题收集

观察者模式; createFormContent FormPage @Override protected void createFormContent(IManagedForm managedForm) { }

2012-08-10 09:52 · Eclipse Plug-in · Eclipse