最近用java做界面,觉得挺烦的,于是想到了要安装一个SWT 。先到SWT官方网http://www.swt-designer.com/
下载一个SWT:
打开网站之后,在左边有一个树型目录,选择Download。
在右边选择最新版本v6.3.0,再选择Zip Edition for Eclipse 3.2 (因为我的Eclipse版本是3.2)
下载完之后解压.zip文件,把目录下的features和plugins文件夹下的所有文件分别复制到eclipse目录下的features和plugins文件夹里。
在eclipse/configuration除了config.ini, org.eclipse.update/ platform.xml, org.eclipse.update/bookmarks.xml其余文件全都删除掉(不用担心,ecilpse重启后会自动生成),然后重启eclipse,此时如果在窗口-->首选项里能看到Designer,则安装成功了。
为何要删除eclipse/configuration下的文件呢?在SWT的官方网站有如下说明:
If you are installing into Eclipse 3.0, you should also delete your <Eclipse>/configuration directory before re-starting Eclipse (it is recreated at startup). This is to avoid a common Eclipse 3.x plugin cache bug. The Full Installer can do this for you automatically. If you are installing into Eclipse 3.1, 3.2 or 3.3, delete everything in the "configuration" directory except the config.ini file and the org.eclipse.update/platform.xml file (Eclipse 3.2 and above). You should also keep your org.eclipse.update/bookmarks.xml file (Eclipse 3.1 and above) in order to preserve your update site bookmarks.

不过SWT Designer能够工作之前还要注册,当然你也可以使用免费版本只是删除了部分功能。

下载一个SWT:
打开网站之后,在左边有一个树型目录,选择Download。
在右边选择最新版本v6.3.0,再选择Zip Edition for Eclipse 3.2 (因为我的Eclipse版本是3.2)
下载完之后解压.zip文件,把目录下的features和plugins文件夹下的所有文件分别复制到eclipse目录下的features和plugins文件夹里。
在eclipse/configuration除了config.ini, org.eclipse.update/ platform.xml, org.eclipse.update/bookmarks.xml其余文件全都删除掉(不用担心,ecilpse重启后会自动生成),然后重启eclipse,此时如果在窗口-->首选项里能看到Designer,则安装成功了。
为何要删除eclipse/configuration下的文件呢?在SWT的官方网站有如下说明:
If you are installing into Eclipse 3.0, you should also delete your <Eclipse>/configuration directory before re-starting Eclipse (it is recreated at startup). This is to avoid a common Eclipse 3.x plugin cache bug. The Full Installer can do this for you automatically. If you are installing into Eclipse 3.1, 3.2 or 3.3, delete everything in the "configuration" directory except the config.ini file and the org.eclipse.update/platform.xml file (Eclipse 3.2 and above). You should also keep your org.eclipse.update/bookmarks.xml file (Eclipse 3.1 and above) in order to preserve your update site bookmarks.
不过SWT Designer能够工作之前还要注册,当然你也可以使用免费版本只是删除了部分功能。