01 六 2010 @ 8:27 上午 

摘自: http://www.smartdio.com/2009/07/eclipse3_5_visual_editor_1_4/

尽管已经有不少支持的Eclipse的可视化GUI工具,但我还是喜欢Visual Editor(VE)。奇怪的是,这个属于Eclipse.org官方的项目,居然2年没有任何更新。旧版本的VE从Eclipse 3.2开始就已经出现了兼容性的问题,根本不能使用。大家只好使用非官方版本的VE1.4。现在Eclipse 3.5(伽利略)已经出来了,eclipse.org的版面也作了全面的更新,这个VE到底苏醒没有呢?好消息是,VE终于发布正式的1.4版了。

不过在VE项目主页上是看不到任何更新的,依然停留在2007年的状态。不要紧,另外一个网页提供了最新的信息:

http://wiki.eclipse.org/VE/Update

按照这个网页的介绍,在Eclipse 3.5中,选择菜单“Help > Install New Software… ”。然后按Add…按钮,输入下面这个更新地址:

http://download.eclipse.org/tools/ve/updates/1.4/

在eclipse 3.4.1上证实可行,需要注意的是,我在用上面的更新地址之前,已经从eclipse 网站下载并添加了VE-Update-1.4.0,GEF-Update-3.5.0,emf-sdo-xsd-Update-2.4.2,但并没有成功安装VE.

二、控件窗口

摘自: http://lyz2008now.spaces.live.com/Blog/cns!BF37EEC8E0BC5557!184.entry

但是新建 Visual Class后没有出现控件面板。大概是英文不好,找了许久呼不出来,GOOGLE & BAIDU也没有人说得清楚,但是有很多人碰到这种情况。我把经验分享出来,希望对有需要的人有帮助。

这个“控件面板”或“部件窗口”或“拖板”(没有统一称呼)在VE里称为 Palette 。如下打开:

window -> customize perspective -> shortcut标签 -> submenus选择 show view -> 单击General在右边 palette 打勾。

确定后 回到 window -> show view -> palette 。

三、对齐控件

1、默认的而控件布局是borderlayout,将它改为任意布局:右击空白-> set layout -> null

2、选择多个控件,右击,选择 Customiz Layout ,呼出Customiz Layout窗口,接下来就容易摸索了。

Posted By: william
Last Edit: 01 六 2010 @ 08:42 上午

EmailPermalink
Tags
Tags: , , ,
Categories: 软件开发


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Change Theme...
  • Users » 3
  • Posts/Pages » 41
  • Comments » 5
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

关于王小文



    No Child Pages.