实践-全程

预测未来的最好办法,就是把它创造出来 --- 阿伦.凯
数据加载中……

2007年6月29日

几分钟的差距,Europa发布!

    今天21:00是Europa发布的时间,我一直在www.eclipse.org上守候~终于被我等到了,http://www.eclipse.org/downloads/大约是在21:06左右做的更新,到了21:08在进去就已经已经改版了~这次界面好像更漂亮了~而且这次整个产品线也非常的清晰了~

Eclipse Packages
Eclipse IDE for Java Developers - Windows (78 MB)
The essential tools for any Java developer, including a Java IDE, a CVS client, XML Editor and Mylyn. Find out more...
Windows
Linux
MacOSX
Eclipse IDE for Java EE Developers - Windows (123 MB)
Tools for Java developers creating JEE and Web applications, including a Java IDE, tools for JEE and JSF, Mylyn and others. Find out more...
Windows
Linux
MacOSX
Eclipse IDE for C/C++ Developers - Windows (62 MB)
An IDE for C/C++ developers. Find out more...
Windows
Linux
MacOSX
Eclipse for RCP/Plug-in Developers - Windows (152 MB)
A complete set of tools for developers who want to create Eclipse plug-ins or Rich Client Applications. It includes a complete SDK, developer tools and source code. Find out more...
Windows
Linux
MacOSX
Eclipse Classic - Windows (140 MB)
The classic Eclipse SDK: the Eclipse Platform, Java Development Tools, and Plug-in Development Environment, including source and both user and programmer documentation. Find out more...
Windows
Linux
MacOSX
复制过来样式丢了~但是没有关系,我们一样能看到,他的生产线清晰了许多~
   RCP开发终于也被独立出来了,看来这次改动不小~RCP终于被Eclipse拿出来重力推进了~
   在此留贴庆祝一下~

posted @ 2007-06-29 21:16 阿南 阅读(1370) | 评论 (9)编辑 收藏
如何使RCP应用程序每次打开都显示Welcome页面

    RCP开发中,很多开发人员都希望,自己的RCP应有Welcome页面,因此我们配置了intro扩展点以及introconfig扩展点,也写了xml文件,这样我们就有了Welcome页面。但是Welcome只有在RCP应用程序第一次运行时才会显示,以后都不会显示。
    为什么会这样?
    看看插件运行时环境中的.metadata\.plugins\org.eclipse.core.runtime\.settings目录下的org.eclipse.ui.prefs文件中的内容:

1#Fri Jun 29 08:57:27 CST 2007
2eclipse.preferences.version=1
3showIntro=false
    第一次运行以后就会产生此文件,内容中就定义了showIntro=false,为了测试,我们修改了showIntro=true,再此运行Welcome再次出现,但是org.eclipse.ui.prefs文件被更新,内容被修改。
   一定是Eclipse在运行后对org.eclipse.ui.prefs进行了修改,知道这个就好好了~我们找到了这句:
        PrefUtil.getAPIPreferenceStore().setValue(
                IWorkbenchPreferenceConstants.SHOW_INTRO, 
false);
        PrefUtil.saveAPIPrefs();
   在ApplicationWorkbenchWindowAdvisor中增加方法:
    @Override
    
public void postWindowClose() {
        
super.postWindowClose();
        PrefUtil.getAPIPreferenceStore().setValue(
                IWorkbenchPreferenceConstants.SHOW_INTRO, 
true);
        PrefUtil.saveAPIPrefs();
    }
   搞定,以后每次启动都会有Welcome页面了~

posted @ 2007-06-29 09:06 阿南 阅读(690) | 评论 (0)编辑 收藏