SWT 例程和文档 
Eclipse的主页新风格 前些天提到Eclipse的web master在网上征求对eclipse.org主页新风格的意见,以及投票。 昨天,投票结果出来了,列第一的是那个基于蓝色底面的设计(基本上也是Eclipse IDE的那个slash的颜色),85票。
按照Denis Roy在mailing list中所说,会很快将现在的eclipse.org主页改为新的设计:
“I’ll be handing over Roger’s submission to the web designer so that the
stylesheets can be created. We’ll contact Roger to get the submitted
skin in a high-res graphic format the web designer can work with.Many thanks to Roger, Andrew, Linda and Stavros for submitting great
templates, and thanks to all who voted. I look forward to seeing this
new skin on the eclipse.org web pages! ”
Eclipse plugin - SQLExplorer 大胃在6月6号的blog中,曾经推荐过这个Eclipse的插件。 当时SQLExplorer 2.23对Eclipse 3.1的支持还不是很好。 7月份的SQLExplorer 2.24发布了,在Eclipse 3.1上安装以后,没有任何问题。
OnJava.com上有一篇介绍SQLExplorer的文章,作为入门介绍,非常详细。 SQLExplorer的主页也搬到dev.java.net上了。
在Vista下的Eclipse和NetBeans Windows Vista (原来的Longhorn) Beta 发布了以后,Eclipse和NetBeans两大阵营的“狂热爱好者”就在Vista分别下试验了Eclipse 和 NetBeans。 下面分别是运行在Vista下的Eclipse和NetBeans的屏幕效果:
看上去,在Vista下面,Java UI 更加成熟和漂亮了(当然,Eclipse使用的是原生的UI,本来就应该和Vista完全一致的),加上Mustang (Java SE 6)对GUI(以及Swing UI)的增强,可以预料到,会有更多的Java桌面应用系统的,不管是基于Eclipse的RCP程序,还是使用Swing的。
投票选择Eclipse主页新的风格 Phoenix Project,是Eclipse.org下面一个重新设计eclipse.org站点风格的项目,按照项目计划,9月1日开始,公众就可以开始从已经设计出来的若干个不同的风格中投票选择最喜欢的一个。 目前提供了三个,均列在下面,点击图片可以看到清晰的大图,点击图片下面的链接则可以投票了。(你需要一个Eclipse Bugzilla的帐号,不过很容易申请的)
Eclipse.org网站的管理员,Denis Roy关于这次投票评选的详细介绍。
为什么Eclipse RCP会rule the world Eclipse Foundation的首席执行官,Mike Milinkovich, 在他的blog (中国国内无法看到他的blog)中简单的说了一句:”I could not have said it better myself. RCP rules! ” Mike给出的是一个Eclipse RCP用户写的blog,写出了他所认为的“为什么Eclipse RCP会rule the world?” (原文如下)
简单的翻译了一下:
用Eclipse的”synchronize”比较图片文件 不知道这个是不是真的可行,因为没有任何文档来说明这个功能。 但是既然
有人写出来了,倒是可以参考一下:通过Eclipse中CVS的synchronize功能,比较本地和服务器上的图片文件(见下图)

Eclipse显示出图片更新了,需要上传,而且做了比较
这个功能不常用,但是对于那些用Eclipse开发web程序,或者管理网站的,还是有帮助的。
让Eclipse使用Windows XP的skin 在Windows XP下使用Eclipse,你会发现,Eclipse的UI(比如对话框中的按钮,toolbar上的按钮等)比较象Windows 2000而不是XP。

Eclipse上SWT的FAQ解释了这个问题,而且给出了解决方案:

同样的道理,如果你的SWT程序没有使用XP的skin的话,也可以使用类似的办法,不过,要把javaw.exe.manifest拷贝为java.exe.manifest才可以。
摘自于一份Eclipse Wiki。 由于重装了系统,发现了这个问题,所以google了一下,找到这个办法。
Eclipse Plugin:Ant Explorer yWorks的Ant Explorer是一个可以图形化Ant脚本,并且执行Ant Task的Eclipse插件。
安装
使用Eclipse的Update Manager来安装是最方便的: “Help” - “Software Updates” - “Find and Install.” - “New Remote Site” 中输入 URL “http://www.yworks.com/eclipse/update” .
使用
在Package Explorer中,为Ant脚本(通常是build.xml文件)打开 yWorks Ant Explorer

如果Ant脚本更新了,Ant Explorer会自动更新可视化的视图的。

Eclipse icons 如果你在开发Eclipse的plug-in或者RCP程序,你一定在为找到一些好的图标(icons)而犯愁。 也许你只是想找到一些icons而已,那么就到Eclipse里面找吧。 CodeHaus上的blogger,bwalding把大多数的Eclipse icon都收集起来了,你可以直接去下载,或者按照他blog中的方式,连接到Eclipse的CVS服务器上,定期的去抓取出来。 bwalding提供的shell脚本如下:
#!/bin/sh
CVSROOT=:pserver:anonymous@dev.eclipse.org:/home/eclipse
export CVSROOT
mkdir -p eclipse
cd eclipse
cvs -q co org.eclipse.debug.ui/icons
cvs -q co org.eclipse.pde.ui/icons
cvs -q co org.eclipse.jdt.ui/icons
cvs -q co org.eclipse.vcm.ui/icons
cvs -q co org.eclipse.team.ui/icons
cvs -q co org.eclipse.ant.ui/icons
cvs -q co org.eclipse.help.ui/icons
cvs -q co org.eclipse.ui/icons
cvs -q co org.eclipse.ui.views/icons
cvs -q co org.eclipse.ui.console/icons
cd ..
rm -f ~/public_html/eclipse-icons.zip
find eclipse -name “*.gif“ -print | zip ~/public_html/eclipse-icons.zip -@或者,可以先到bwalding的blog上,看看所有的Eclipse icon是什么样的。
Copyright的问题呢?Eclipse是源代码开发的,而且使用的Eclipse License,类似于比较松散的Apache/BSD的方式,所以,应该没有问题的。
Get free blog up and running in minutes with Blogsome | Theme designs available here