eclipse 3.6的VE配置 Visual Editor for eclipse3.6

来源:互联网 发布:二十八间原创商铺 知乎 编辑:程序博客网 时间:2024/06/06 07:30

【转】eclipse 3.6的VE配置 Visual Editor for eclipse3.6

擦。eclipse3.6的VE竟然配好了。很简单。记下来,以后备用。

一、下载以下4个软件

1、Eclipse3.6

http://www.eclipse.org/

2、VE

2010-08-29: prelininary eclipse 3.6 (helios) version
link: ve_eclipse_36_win32_201008292115.zip
notes: unzip and put it into the dropins directory
important: the java beans selection palette isbroken, you have to use always "choose bean".

http://www.ehecht.com/eclipse_ve/ve.html

3、EMF build 2.6.1

http://www.eclipse.org/emf/downloads/

4、GEF Build 3.6.1

http://www.eclipse.org/gef/downloads/

二、配置

1、解压Eclipse

2、解压emf、gef将其中Features、Plugins两个文件夹中内容分别添加到eclipse中Features和Plugins文件夹中

3、将VE整个解压到eclipse\dropins文件中。

三、关于VisualEditor的使用,我也仅是学习阶段

1.新建一个java工程

2.工程上右键属性->Java Build Path -> Add Library -> Standard Widget Toolkit(SWT) 然后下一步选择 Include Support For JFace library,完成即可

3.工程上右键 ->New -> Other 选JAVA 下的Visual Class,Page自己随便写个。Name也随便写个左下角 Style 里选 -> Swt ->Shell 完成新建类

设置一下视图:

1.Window -> Show View -> Other 选 Java -> Java Beans

2.Window -> show View -> Other 选 General -> Properties

http://www.cnblogs.com/riverspirit/articles/1488889.html

原创粉丝点击