kukooBlog
look to the master, follow the master, walk with the master, see through the master, become the master.

September 14, 2005

SWT 例程和文档

Posted @ 1:26 am+8 in Eclipse | Licensed under a Creative Commons License

Eclipse.org的 SWT 站点上的SWT widget 的示例。 当然,注意看一下文档

[参考] SWT samples and documentation

Yourit Technorati cosmos Refresh Technorati

September 8, 2005

Eclipse的主页新风格

Posted @ 1:21 am+8 in Eclipse | Licensed under a Creative Commons License

前些天提到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! ”

Yourit Technorati cosmos Refresh Technorati

September 5, 2005

Eclipse plugin - SQLExplorer

Posted @ 5:45 am+8 in Eclipse | Licensed under a Creative Commons License

大胃在6月6号的blog中,曾经推荐过这个Eclipse的插件。 当时SQLExplorer 2.23对Eclipse 3.1的支持还不是很好。 7月份的SQLExplorer 2.24发布了,在Eclipse 3.1上安装以后,没有任何问题。

OnJava.com上有一篇介绍SQLExplorer的文章,作为入门介绍,非常详细。 SQLExplorer的主页也搬到dev.java.net上了。

Yourit Technorati cosmos Refresh Technorati

September 3, 2005

在Vista下的Eclipse和NetBeans

Posted @ 2:40 am+8 in Eclipse | Licensed under a Creative Commons License

Windows Vista (原来的Longhorn) Beta 发布了以后,Eclipse和NetBeans两大阵营的“狂热爱好者”就在Vista分别下试验了Eclipse 和 NetBeans。 下面分别是运行在Vista下的Eclipse和NetBeans的屏幕效果:



Eclipse


NetBeans

看上去,在Vista下面,Java UI 更加成熟和漂亮了(当然,Eclipse使用的是原生的UI,本来就应该和Vista完全一致的),加上Mustang (Java SE 6)对GUI(以及Swing UI)的增强,可以预料到,会有更多的Java桌面应用系统的,不管是基于Eclipse的RCP程序,还是使用Swing的。

参考 EclipseZoneChet Hasse的blog

Yourit Technorati cosmos Refresh Technorati

September 2, 2005

投票选择Eclipse主页新的风格

Posted @ 3:48 pm+8 in Eclipse | Licensed under a Creative Commons License

Phoenix Project,是Eclipse.org下面一个重新设计eclipse.org站点风格的项目,按照项目计划,9月1日开始,公众就可以开始从已经设计出来的若干个不同的风格中投票选择最喜欢的一个。 目前提供了三个,均列在下面,点击图片可以看到清晰的大图,点击图片下面的链接则可以投票了。(你需要一个Eclipse Bugzilla的帐号,不过很容易申请的)



投票选择上面的skin



投票选择上面的skin



投票选择上面的skin

Eclipse.org网站的管理员,Denis Roy关于这次投票评选的详细介绍

Yourit Technorati cosmos Refresh Technorati

August 31, 2005

为什么Eclipse RCP会rule the world

Posted @ 7:57 am+8 in Eclipse | Licensed under a Creative Commons License

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?” (原文如下)

  1. Web is not for everything :
    • All web based enterprise applications are failed in terms of usability
    • Web has limited flexibility in terms of adding innovative ideas; everything is limited within the JavaScript boundary
    • Even JSF+AJAX /ASP.Net+AJAX can’t become a desktop alternative, unless all the browsers replace JavaScript with Java
  2. .Net Smart Client Replacement
    • It has all the features of .Net Smart Client Architecture, including Update Manager and Avalon like XML based UI scripting
    • OSGi Framework based pluggable architecture
    • Unlike .Net Smart Client, it support all the available platforms including Windows, Mac, Linux, Solaris, etc
    • Also uses the SWT, a SWING alternative, which uses the native UI sub systems.
  3. Tools and Support
    • Comes with brilliant Eclipse IDE and Plug-in Development Tools to support the RCP application development. It took us only few mints to get the Hello World done.
  4. Its Java
    • world is full of java programmers, finding resources is not an issue.
  5. Above all, its Free.
    • The entire Eclipse Platform, IDE, and Platform Development Tools are available as Open Source.

简单的翻译了一下:

  1. Web 不是一切:
    • 几乎所有基于Web的企业应用最终因为易用性的问题而失败
    • 因为不容易加入创新的想法,Web有它的局限性;所有一切都局限于JavaScript的框框里面了
    • 甚至是JSF+AJAX /ASP.Net+AJAX 也无法成为桌面应用的替代方案,除非所有浏览器用Java来替换JavaScript
  2. .Net Smart Client 的替换方案
    • 它拥有.Net Smart Client架构的所有功能, 包括更新管理,类似Avalon的基于XML的UI脚本设计
    • 基于OSGi Framework 的插拔士架构
    • 不像.Net Smart Client, 它支持多种平台,如Windows,Mac,Linux,Solaris等等
    • 使用SWT, 一种SWING的替代方案, 但是使用原生的UI
  3. 工具和支持
    • 来自于Eclipse IDE并且有Plug-in Development Tools来支持RCP的开发. 我们只用了几分钟就建立了一个简单的Hello World
  4. Java的
    • 有很多的Java工程师, 寻找资源也不是一件难事
  5. 最后一点:免费的.
    • 整个Eclipse平台,IDE,PDE工具,都是开发源码的。

Yourit Technorati cosmos Refresh Technorati

用Eclipse的”synchronize”比较图片文件

Posted @ 7:19 am+8 in Eclipse | Licensed under a Creative Commons License

不知道这个是不是真的可行,因为没有任何文档来说明这个功能。 但是既然
有人写出来了
,倒是可以参考一下:通过Eclipse中CVS的synchronize功能,比较本地和服务器上的图片文件(见下图)

Eclipse显示出图片更新了,需要上传,而且做了比较

这个功能不常用,但是对于那些用Eclipse开发web程序,或者管理网站的,还是有帮助的。

Yourit Technorati cosmos Refresh Technorati

August 30, 2005

让Eclipse使用Windows XP的skin

Posted @ 7:37 am+8 in Eclipse | Licensed under a Creative Commons License

在Windows XP下使用Eclipse,你会发现,Eclipse的UI(比如对话框中的按钮,toolbar上的按钮等)比较象Windows 2000而不是XP。

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

  1. 首先找到你的Eclipse使用的javaw.exe。 最好的方式,是检查Eclipse的eclipse.vm环境变量的设置:Help->About->Configuration Details。 在我的机器上,是C:\Windows\system32\javaw.exe
  2. 然后,把这个文件:javaw.exe.manifest拷贝到javaw.exe所在的目录下面。
  3. 重起Eclipse(注意上下两幅图中按钮的式样)

同样的道理,如果你的SWT程序没有使用XP的skin的话,也可以使用类似的办法,不过,要把javaw.exe.manifest拷贝为java.exe.manifest才可以。

摘自于一份Eclipse Wiki。 由于重装了系统,发现了这个问题,所以google了一下,找到这个办法。

Yourit Technorati cosmos Refresh Technorati

August 29, 2005

Eclipse Plugin:Ant Explorer

Posted @ 3:18 am+8 in Eclipse | Licensed under a Creative Commons License

yWorksAnt Explorer是一个可以图形化Ant脚本,并且执行Ant Task的Eclipse插件。

安装

使用Eclipse的Update Manager来安装是最方便的: “Help” - “Software Updates” - “Find and Install.” - “New Remote Site” 中输入 URL “http://www.yworks.com/eclipse/update” .

Update Manager Update Manager Update Manager Update Manager

使用

在Package Explorer中,为Ant脚本(通常是build.xml文件)打开 yWorks Ant Explorer

Opening the visualization view

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

Yourit Technorati cosmos Refresh Technorati

August 27, 2005

Eclipse icons

Posted @ 10:41 am+8 in Eclipse | Licensed under a Creative Commons License

如果你在开发Eclipse的plug-in或者RCP程序,你一定在为找到一些好的图标(icons)而犯愁。 也许你只是想找到一些icons而已,那么就到Eclipse里面找吧。 CodeHaus上的blogger,bwalding把大多数的Eclipse icon都收集起来了,你可以直接去下载,或者按照他blog中的方式,连接到Eclipse的CVS服务器上,定期的去抓取出来。 bwalding提供的shell脚本如下:

 1#!/bin/sh
 2
 3CVSROOT=:pserver:anonymous@dev.eclipse.org:/home/eclipse
 4export CVSROOT
 5
 6mkdir -p eclipse
 7cd eclipse
 8cvs -q co org.eclipse.debug.ui/icons
 9cvs -q co org.eclipse.pde.ui/icons
10cvs -q co org.eclipse.jdt.ui/icons
11cvs -q co org.eclipse.vcm.ui/icons
12cvs -q co org.eclipse.team.ui/icons
13cvs -q co org.eclipse.ant.ui/icons
14cvs -q co org.eclipse.help.ui/icons
15cvs -q co org.eclipse.ui/icons
16cvs -q co org.eclipse.ui.views/icons
17cvs -q co org.eclipse.ui.console/icons
18cd ..
19rm -f ~/public_html/eclipse-icons.zip
20find eclipse -name *.gif -print | zip ~/public_html/eclipse-icons.zip -@

或者,可以先到bwalding的blog上,看看所有的Eclipse icon是什么样的。

Copyright的问题呢?Eclipse是源代码开发的,而且使用的Eclipse License,类似于比较松散的Apache/BSD的方式,所以,应该没有问题的。

Yourit Technorati cosmos Refresh Technorati

Next Page »

Get free blog up and running in minutes with Blogsome | Theme designs available here