??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品无码日韩国产不卡av,国产精品亚洲一区二区三区在线,亚洲人成片在线观看 http://m.tkk7.com/leeguannan/category/22458.html预测未来的最好办法,是把它创造出?--- 阿u.?/description>zh-cn Sun, 27 Apr 2008 01:57:43 GMT Sun, 27 Apr 2008 01:57:43 GMT 60 Eclipse3.3-3.4MX多国语言目攑և http://m.tkk7.com/leeguannan/archive/2008/04/27/196395.html阿南 阿南 Sun, 27 Apr 2008 01:33:00 GMT http://m.tkk7.com/leeguannan/archive/2008/04/27/196395.html http://m.tkk7.com/leeguannan/comments/196395.html http://m.tkk7.com/leeguannan/archive/2008/04/27/196395.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/196395.html http://m.tkk7.com/leeguannan/services/trackbacks/196395.html
Eclipse?a >http://download.eclipse.org/eclipse/downloads/最q刚刚放Z个叫?a >Babel project 的项目,q个目是在解军_际化的问题,q个目旨在为每一个插件提供独立的单语a包,q样在做RCP目的时候,可以Ҏ需要,打不同的包就可以了~Q?br />
周五的下午测试了一下,汉化率绝对在99%以上Q而且很多地方的汉化还是很C的~再有哪些客户看不懂的地方的了~
只是有一个很的ȝQ就是RCP原来的异常对话框中的内容Q每一句后面都会有\nQ莫非多国语a的时候\n被{义了Q?br />
希望可以得到改进Q?
]]> Eclipse4.0攑և部分Demo http://m.tkk7.com/leeguannan/archive/2008/03/20/187460.html阿南 阿南 Thu, 20 Mar 2008 04:46:00 GMT http://m.tkk7.com/leeguannan/archive/2008/03/20/187460.html http://m.tkk7.com/leeguannan/comments/187460.html http://m.tkk7.com/leeguannan/archive/2008/03/20/187460.html#Feedback 9 http://m.tkk7.com/leeguannan/comments/commentRss/187460.html http://m.tkk7.com/leeguannan/services/trackbacks/187460.html Planet Eclipse 上已l有参加EclipseCON2008的朋友把Eclipse4.0Q简Ue4QDemo地址以及一些截图放到Blog上了~我们来ƣ赏一下Eclipse的巨大变化吧Q?br />
呵呵Q是不是很可怕,一个基于web的开发工P我在Eclipse的Wiki上已l看到这个截囄Demo了,但是q没有时间试用~
此次攑և的e4的demo基本上都是swt的调_比方说可以用swt来做flexQ用swt来做DOJO~Q从q些斚w可以看到Eclipse正在向基金会x的那样ؓe4提供一个基于web应用的^収ͼ我想q个q_应该是RAP了~而且从Demo上看Qe4会大大的涉_web应用领域中,期待他们为我们带来再一ơ的惊呼Q!Q?br />
http://wiki.eclipse.org/E4/Running_the_demos Qe4的demoQ?br />
q有一个o人振奋的消息Q不知道是好事还是坏?----微Y已经军_q入Eclipse基金会,q打开始资助SWT目了?br />
]]>惊叹吧!RAPQ?/title> http://m.tkk7.com/leeguannan/archive/2008/01/09/173921.html阿南 阿南 Wed, 09 Jan 2008 02:57:00 GMT http://m.tkk7.com/leeguannan/archive/2008/01/09/173921.html http://m.tkk7.com/leeguannan/comments/173921.html http://m.tkk7.com/leeguannan/archive/2008/01/09/173921.html#Feedback 8 http://m.tkk7.com/leeguannan/comments/commentRss/173921.html http://m.tkk7.com/leeguannan/services/trackbacks/173921.html 2007q?0月䆾eclipse攑ևRAP-Rich Ajax PlatformQ这么长的时间过去,它的影响力还是不够~Z么,因ؓ它的文档太少Q资源太,知道的h更少~
昨天Q把玩了一下RAPQ被它的思想震惊了~它是把Eclipse-RCP的思想带入了B/S的开发,它提供的不仅仅是Ajax的内容,更多的是提供了一个框Ӟ一个可以同Eclipse-RCP框架互换的框架~
中规中矩开发好的RCPE序Q可以在几乎不用改动M代码的基上增?w|,一个类以及一个底层框Ӟ可以完全过度到B/S上~
我们的项目,用了半个时攚w完成的~
RCP+RAP也许是一个新的方向~
]]>打造仿淘宝注册的TextQ二Q?/title> http://m.tkk7.com/leeguannan/archive/2008/01/08/173774.html阿南 阿南 Tue, 08 Jan 2008 12:20:00 GMT http://m.tkk7.com/leeguannan/archive/2008/01/08/173774.html http://m.tkk7.com/leeguannan/comments/173774.html http://m.tkk7.com/leeguannan/archive/2008/01/08/173774.html#Feedback 3 http://m.tkk7.com/leeguannan/comments/commentRss/173774.html http://m.tkk7.com/leeguannan/services/trackbacks/173774.html 阅读全文 ]]> 再次L从事qJava桌面的应用的朋友解惑~ http://m.tkk7.com/leeguannan/archive/2007/10/21/154759.html阿南 阿南 Sun, 21 Oct 2007 12:34:00 GMT http://m.tkk7.com/leeguannan/archive/2007/10/21/154759.html http://m.tkk7.com/leeguannan/comments/154759.html http://m.tkk7.com/leeguannan/archive/2007/10/21/154759.html#Feedback 11 http://m.tkk7.com/leeguannan/comments/commentRss/154759.html http://m.tkk7.com/leeguannan/services/trackbacks/154759.html zhrb , , , , {的回复?br />
下午反省了一下自q代码Q得Z下结论和疑问Q有旉Q请大家再讨Z下?br />
1.反省代码Q整理所有用q的对象Q特别上查询完数据库q回的上万条记录的结果集Q一一他们制I,然后再System.gc()看看效果Q?br />
2.因ؓ是通用数据查询q_Q那么结果集的展CŞ式是可以由实施h员自由定义的Q比方说字体Q颜Ԍ囄{等Q虽然我没有使用JFace对资源封装的l一标准lgQ但是绝Ҏ在用完一一做了销毁处理,我的疑问是,我对资源做了销毁处理,是不是这部分资源在虚拟机中的占用I间依旧存在Q也是q没有真正的销毁他们;
q里谈谈自己的实늻验,如果真的是资源的问题Q首先出问题的还轮不到Javaw,Eclipse马上׃出来叫嚣Q告诉你没有_的资源的可以使用Q不能创建GCQ字体,颜色或者是囄{等Q如果还是不解决Q客L的GUI马上׃变ŞQ变的面目全非~
3.我现在碰到的问题q不是内存不I或者内存溢出,而是Javaw的内存占有再不断的递增Qƈ不是某一个恒定值区_
希望大家再次赐教Q?
]]> L从事qJava桌面的应用的朋友解惑~ http://m.tkk7.com/leeguannan/archive/2007/10/21/154646.html阿南 阿南 Sun, 21 Oct 2007 03:24:00 GMT http://m.tkk7.com/leeguannan/archive/2007/10/21/154646.html http://m.tkk7.com/leeguannan/comments/154646.html http://m.tkk7.com/leeguannan/archive/2007/10/21/154646.html#Feedback 9 http://m.tkk7.com/leeguannan/comments/commentRss/154646.html http://m.tkk7.com/leeguannan/services/trackbacks/154646.html
但是现在到了o人头疼的问题Q程序在试人员的机器上跑上半个多小Ӟ整个应用E序的内存会占到300m以上Q如果是做频J的大数据查询,内存涨的更快?br />
我加了每分钟调用一ơSystem.gc()的线E,唯一的改观是在Eclipse下面的内存进度显CZQ会出现范围的减少Q但是从d理器中视应用程序的内存Q还是居高不下~
Java本n吃内存,我能理解QEclipse-RCP也会加蝲大量的东西,我也能理解,大数据量的加载更可怕,我更能理解,但是无论怎么调用System.gc()都没有什么反应,我就不能理解了~
希望做过q方面的研究或者应用的朋友帮忙解答Q或者谈谈经验~也可以帮助我做一些改善~
]]> 一个用SWT Ribbon代替Eclipse-RCP上面Coolbar的例子~ http://m.tkk7.com/leeguannan/archive/2007/10/09/151321.html阿南 阿南 Tue, 09 Oct 2007 03:52:00 GMT http://m.tkk7.com/leeguannan/archive/2007/10/09/151321.html http://m.tkk7.com/leeguannan/comments/151321.html http://m.tkk7.com/leeguannan/archive/2007/10/09/151321.html#Feedback 11 http://m.tkk7.com/leeguannan/comments/commentRss/151321.html http://m.tkk7.com/leeguannan/services/trackbacks/151321.html
我用代码生生的把Eclipse-RCP丑陋的Coolbar替换掉了Q但是不爽的是,Viewer上用的是CTabFolderQ而这个CTabFolder的生,我没有办法操控,希望有高手指炏V?br />
修改代码如下Q?br />
1 package test;
2
3 import org.eclipse.swt.SWT;
4 import org.eclipse.swt.graphics.Point;
5 import org.eclipse.swt.layout.FillLayout;
6 import org.eclipse.swt.widgets.Composite;
7 import org.eclipse.swt.widgets.Shell;
8 import org.eclipse.ui.application.ActionBarAdvisor;
9 import org.eclipse.ui.application.IActionBarConfigurer;
10 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
11 import org.eclipse.ui.application.WorkbenchWindowAdvisor;
12 import org.eclipse.ui.internal.WindowTrimProxy;
13 import org.eclipse.ui.internal.WorkbenchMessages;
14 import org.eclipse.ui.internal.WorkbenchWindowConfigurer;
15 import org.eclipse.ui.internal.layout.TrimLayout;
16
17 import com.hexapixel.widgets.generic.ColorCache;
18 import com.hexapixel.widgets.ribbon.RibbonTab;
19 import com.hexapixel.widgets.ribbon.RibbonTabFolder;
20
21 public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
22
23 private TrimLayout defaultLayout;
24 private Composite topComposite;
25 private WindowTrimProxy topCompositeTrim;
26 private Composite pageComposite;
27
28 public ApplicationWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
29 super (configurer);
30 }
31
32 public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) {
33 return new ApplicationActionBarAdvisor(configurer);
34 }
35
36 public void preWindowOpen() {
37 IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
38 configurer.setInitialSize(new Point( 400 , 300 ));
39 configurer.setShowCoolBar(false );
40 configurer.setShowStatusLine(false );
41 configurer.setTitle(" Hello RCP " );
42 }
43
44 @Override
45 public void createWindowContents(Shell shell) {
46 shell.setBackground(ColorCache.getInstance().getColor(182 , 206 , 238 ));
47 // TODO Auto-generated method stub
48 defaultLayout = new TrimLayout();
49 defaultLayout.setSpacing(2 , 2 , 2 , 2 );
50 defaultLayout.setMargins(2 , 2 );
51 shell.setLayout(defaultLayout);
52
53 // topComposite
54 topComposite = new Composite(shell, SWT.None);
55 topComposite.setLayout(new FillLayout(SWT.VERTICAL));
56 topComposite.setBackground(ColorCache.getInstance().getColor(182 , 206 , 238 ));
57
58 final RibbonTabFolder ftf = new RibbonTabFolder(topComposite, SWT.NONE);
59 RibbonTab ft0 = new RibbonTab(ftf, " Home " );
60 RibbonTab ft1 = new RibbonTab(ftf, " Insert " );
61 new RibbonTab(ftf, " Page Layout " );
62 new RibbonTab(ftf, " References " );
63
64 topCompositeTrim = new WindowTrimProxy(topComposite, " org.eclipse.ui.internal.WorkbenchWindow.topBar " , WorkbenchMessages.TrimCommon_Main_TrimName, SWT.NONE, true );
65
66
67
68
69 pageComposite = (Composite) ((WorkbenchWindowConfigurer) getWindowConfigurer()).createPageComposite(shell);
70 setLayoutDataForContents();
71 }
72
73 private void setLayoutDataForContents() {
74 updateLayoutDataForContents();
75
76 }
77
78 private void updateLayoutDataForContents() {
79 if (defaultLayout == null ) {
80 return ;
81 }
82 defaultLayout.addTrim(SWT.TOP, topCompositeTrim);
83 topComposite.setVisible(true );
84
85 pageComposite.setBackground(ColorCache.getInstance().getColor(182 , 206 , 238 ));
86 defaultLayout.setCenterControl(pageComposite);
87
88 }
89
90 }
91
]]> 惊叹一下Lotus Symphony吧! http://m.tkk7.com/leeguannan/archive/2007/09/22/147315.html阿南 阿南 Sat, 22 Sep 2007 02:01:00 GMT http://m.tkk7.com/leeguannan/archive/2007/09/22/147315.html http://m.tkk7.com/leeguannan/comments/147315.html http://m.tkk7.com/leeguannan/archive/2007/09/22/147315.html#Feedback 8 http://m.tkk7.com/leeguannan/comments/commentRss/147315.html http://m.tkk7.com/leeguannan/services/trackbacks/147315.html
今天Q趁着加班的事Ӟ|速不错,拖了回来Q来感受一下Lotus Symphony的优UQ不Q应该是感受一下Eclipse的优UQ?br />
Lotus Symphony是一个基于Eclipse-RCP的应用,不过启动速度实不敢恭维Q重要的q是它的界面Q确实可以和Office2007有一拼~?br />
d动界?br />
媲美Word的Lotus Symphony Documents
虽然从功能上Lotus Symphony 和Officeq差的很q,但是我们l于又看C一个敢和微软叫板的产品了~而且q是在Eclipse基础上构建的~q点是让人兴奋的Q以后再有h问我QEclipse-RCP有什么成功的案例Q我q他看Lotus SymphonyQ?br />
此外IBM为Lotus Symphony q在Eclipse基础上做了很多的C西,有有待于慢慢研究~传说是Lotus Symphony 是开源的Q但是在官方站上q没有找到CVS或者SVN地址~q点是让人无奈的Q?
]]> Eclipse3.3国际化的问题解决Ҏ http://m.tkk7.com/leeguannan/archive/2007/09/13/144809.html阿南 阿南 Thu, 13 Sep 2007 04:19:00 GMT http://m.tkk7.com/leeguannan/archive/2007/09/13/144809.html http://m.tkk7.com/leeguannan/comments/144809.html http://m.tkk7.com/leeguannan/archive/2007/09/13/144809.html#Feedback 8 http://m.tkk7.com/leeguannan/comments/commentRss/144809.html http://m.tkk7.com/leeguannan/services/trackbacks/144809.html
l于闲一下,l护l护Blog吧~
今天说说Eclipse3.3国际化的问题QEclipse-RCP目做做国际化的时候,存在两个层面Q一个是控g上的中文Q另一个是Plugin.xml中的中文信息Q控件上的中文,没有什么可说的Q用一个类Q加一个资源文件就可以了~主要的问题是Plugin.xml中的中文信息Q?br />
Ҏ各大|站和资料的中描qͼPlugin.xml中中文信息用一下方法处理:
1.在Plugin.xml同目录下新徏plugin.propertiesQ?br />
2.Plugin.xml文g中中文部分替换成%xxxxQ?br />
不知道这L办法是不是在Eclipse3.3以前的版本中有用Q反正我在Eclipse3.3中,q招没有用,PDE可以解析?XXX的内容,但是启动应用E序以后没有M效果Q所有修改的地方都显CZؓ%XXX了~
解决办法是Q?br />
请在插g?nbsp;MANIFEST.MF 文g后面d?nbsp;Bundle - Localization: plugin 和一个回车应该可以解决你的问题?/span>
在MF中多加一句就好了~
遇到同类问题的朋友注意了~
]]> 最q迷上了爬山 http://m.tkk7.com/leeguannan/archive/2007/08/28/140574.html阿南 阿南 Tue, 28 Aug 2007 08:26:00 GMT http://m.tkk7.com/leeguannan/archive/2007/08/28/140574.html http://m.tkk7.com/leeguannan/comments/140574.html http://m.tkk7.com/leeguannan/archive/2007/08/28/140574.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/140574.html http://m.tkk7.com/leeguannan/services/trackbacks/140574.html ]]>Eclipse3.3+JWS http://m.tkk7.com/leeguannan/archive/2007/08/02/134015.html阿南 阿南 Thu, 02 Aug 2007 08:18:00 GMT http://m.tkk7.com/leeguannan/archive/2007/08/02/134015.html http://m.tkk7.com/leeguannan/comments/134015.html http://m.tkk7.com/leeguannan/archive/2007/08/02/134015.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/134015.html http://m.tkk7.com/leeguannan/services/trackbacks/134015.html 上次把同事研I的用JWS发布EclipseRCP应用的预a文档发到Bolg上了Q那个版本是用于Eclipse3.2.2-的,CEclipse3.3以后有不东东都发生了变化。特此留文一,记录一下?br> 先看不同在哪里: 1.Eclipse3.3的启动方式不同于Eclipse3.2.2-的版本; 2.Eclipse3.3加入了对Vista的支持,所以SWT有所变化Q?br> 先看W一个不同对我们的媄响: 没有了startup.jar了~Ҏ们的形象不小哦!看看没有了Startup.jar以后启动Eclipse是如何实现的Q?br>
http://www.duduwolf.com/wiki/2007/393.html 最后要说明的是Q这里用Execwait启动java命oQ而不是Exec。区别是Exec马上退出Java Launcher.exe的进E,而Execwait不退出,也就是说用Execwait在关闭程序之前,有两个活动进E,Java Launcher.exe和javaw.exe。这正是eclipse3.3之前的EXE启动器的情况Q比如Eclipse3.2启动后,d理器里有eclipse.exe和javaw.exe两个q程。用Execwait的原因是Exec在Windows 2000下出现的一个问题,在用程序的q程中,如果用户改变了桌面属性,比如背景图,pȝ挂掉了。Eclipse?.3之后Ҏ了用Java的Invocation Interface启动startup.jar。详l的情况Lorg.eclipse.equinox.executable目
Eclipse的启动彻底被org.eclipse.equinox.launcher_1.0.0.v20070606.jar接管了~org.eclipse.equinox.launcher_1.0.0.v20070606.jar的包l构基本和Startup.jar基本一样但是还是有区别的?br> 所以根据我上一ơ文章的所说的需要Startup.jar了~不需要再让feature下放东东了~加认证什么都一样了~ 需要修改生成的JNPL文gQ主要需要修改一下两个地方:
1 < jar href = " plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar " />
< application - desc main - class = " org.eclipse.equinox.launcher.WebStartMain " >
启动Jar文g以及启动c~ 支持了Vista以后Ҏ们的影响Q?br> 生成的org.eclipse.rcp_3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG.jnlp中被多包?wpt*.jar的引用,q些是在我们下蝲的Eclipse3.3里面没有的~但是q是生成了引用,q个应该是pdt的BUG~Eclipse的BUG LIST上面已经提到了~ 如果非要在Vista上跑Q就自己找找?#183;如果不是Q那么直接删掉就好了~ 一定要注意W一个问题~没有了Startup.jar以后Q千万不要把org.eclipse.equinox.launcher_1.0.0.v20070606.jar当Startup.jar用,在外面也放一份~启动的时候JWS会包错的Q会说JAR包重复!
]]> SWT---nebula_cdatetime_0.9.0中文?/title> http://m.tkk7.com/leeguannan/archive/2007/07/31/133563.html阿南 阿南 Tue, 31 Jul 2007 06:21:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/31/133563.html http://m.tkk7.com/leeguannan/comments/133563.html http://m.tkk7.com/leeguannan/archive/2007/07/31/133563.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/133563.html http://m.tkk7.com/leeguannan/services/trackbacks/133563.html nebula_cdatetime_0.9.0中的旉和日期选择器比SWT3.4的日期选择要好用一些,q里汉化的主要是操作界面上的英文Q星期和月䆾的汉化是和Locale有关的,使用时代码如下:
1 workTimeDate = new CDateTime(container, CDT.BORDER | CDT.DROP_DOWN); 2 workTimeDate.setLocale(Locale.CHINA);3 workTimeDate.setSelection(null );
http://m.tkk7.com/Files/leeguannan/nebula_cdatetime_0.9.0.rar
]]> 再说EclipseRCP中表格打?/title> http://m.tkk7.com/leeguannan/archive/2007/07/24/132123.html阿南 阿南 Tue, 24 Jul 2007 10:11:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/24/132123.html http://m.tkk7.com/leeguannan/comments/132123.html http://m.tkk7.com/leeguannan/archive/2007/07/24/132123.html#Feedback 1 http://m.tkk7.com/leeguannan/comments/commentRss/132123.html http://m.tkk7.com/leeguannan/services/trackbacks/132123.html www.ceclipse.org中找了又找,l于又一ơ找CQ?br />现在把地址贴上来,供需要的朋友下蝲。如果有更好的实玎ͼ或者有改进Q请Email我一下,q且贴到www.ceslipse.org 上,供大家A献!http://www.eclipseworld.org/bbs/read-cec-tid-5299-keyword-.html ]]> EclipseRCP打印表格 http://m.tkk7.com/leeguannan/archive/2007/07/20/131513.html阿南 阿南 Fri, 20 Jul 2007 08:21:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/20/131513.html http://m.tkk7.com/leeguannan/comments/131513.html http://m.tkk7.com/leeguannan/archive/2007/07/20/131513.html#Feedback 3 http://m.tkk7.com/leeguannan/comments/commentRss/131513.html http://m.tkk7.com/leeguannan/services/trackbacks/131513.html q好ceclipse.org的老大yipsilon zheng贡献Z一个SWT表格打印的项目,可以做到不同表格的直接打华ͼ而且q有跨行跨列的实玎ͼ我改造了一下(把项目做了个转码utf-8==》GBKQ,然后打成JAR包放上来l大家用?br /> 1 package com.glnpu.dmp.client.platform.core.internal.util; 2 3 import org.ceclipse.reporting.IReport; 4 import org.ceclipse.reporting.IReportPage; 5 import org.ceclipse.reporting.Report; 6 import org.ceclipse.reporting.ReportData; 7 import org.ceclipse.reporting.ReportUtil; 8 import org.eclipse.nebula.widgets.grid.Grid; 9 import org.eclipse.swt.printing.PrintDialog; 10 import org.eclipse.swt.printing.Printer; 11 import org.eclipse.swt.widgets.Table; 12 import org.eclipse.ui.PlatformUI; 13 14 /** */ /** 15 * 通用表格打印lgQ目前提供两个方法分别用于打印表|Gird,TableQ?16 * 工作d?printContent17 * @author lign 18 *19 */ 20 public class PrintContent { 21 22 /** */ /** 23 * 对Girdq行打印操作24 * @param grid SWT 的nebula目的Grid 25 * @param title 表头文字描述 26 */ 27 public static void printGird(Grid grid, String title) { 28 IReportPage page = ReportUtil.convert(grid, title); 29 Report report = new Report(); 30 report.addPage(page);31 printToPrinter(report);32 33 }34 35 /** */ /** 36 * 对Tableq行打印操作37 * @param table SWT 的Table 38 * @param title 表头文字描述 39 */ 40 public static void printTable(Table table, String title) { 41 IReportPage page = ReportUtil.convert(table, title); 42 Report report = new Report(); 43 report.addPage(page);44 printToPrinter(report);45 46 }47 48 /** */ /** 49 * 处理打印以及调用Printer50 * @param report 51 */ 52 private static void printToPrinter(IReport report) { 53 ReportData reportData = report.getReportData(); 54 reportData.setJobName(" printContent " ); 55 reportData.setPrinter(new Printer( new PrintDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell()).open())); 56 report.print();57 }58 }59 我封装了两个ҎQ一个方法处理SWT提供的Table的打华ͼ另一个处理SWT-星云QNebulaQ?Gird的打华ͼ基本上满x的需要了?br />Jar下蝲Q?br />http://m.tkk7.com/Files/leeguannan/org.ceclipse.printer_1.0.rar ]]> Eclipse界面开发规?指南) 2.1 http://m.tkk7.com/leeguannan/archive/2007/07/09/128990.html阿南 阿南 Mon, 09 Jul 2007 02:36:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/09/128990.html http://m.tkk7.com/leeguannan/comments/128990.html http://m.tkk7.com/leeguannan/archive/2007/07/09/128990.html#Feedback 2 http://m.tkk7.com/leeguannan/comments/commentRss/128990.html http://m.tkk7.com/leeguannan/services/trackbacks/128990.html http://www.eclipse.org/articles/Article-UI-Guidelines/index_cn.html
]]> Eclipse3.3的新改进~ http://m.tkk7.com/leeguannan/archive/2007/07/07/128805.html阿南 阿南 Sat, 07 Jul 2007 09:45:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/07/128805.html http://m.tkk7.com/leeguannan/comments/128805.html http://m.tkk7.com/leeguannan/archive/2007/07/07/128805.html#Feedback 4 http://m.tkk7.com/leeguannan/comments/commentRss/128805.html http://m.tkk7.com/leeguannan/services/trackbacks/128805.html Eclipse3.3开始,我们会发现在发布包里面多了一个eclipsec.exe的程序,是用命o行启动Eclipse用的Q用eclipsec.exe启动以后会开一个dos的窗口,如果把这个DOS的窗口关了,Eclipse也就关闭了,q个启动方式跟以前的方式是一L。直接用Eclipse.exe启动Eclipse的时候,注意一下你的Q务管理器Q里面没有javaw.exe了,只有一个Eclipse.exeQ占内存100M左右~省了点内存哦~ q可能就是Eclipse3.3在启动速度上的改进吧,但是我是没有感觉到有多大的提升?br /> ]]> 如何实现Eclipse上Coolbar右键的效?/title> http://m.tkk7.com/leeguannan/archive/2007/07/02/127680.html阿南 阿南 Mon, 02 Jul 2007 13:37:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/02/127680.html http://m.tkk7.com/leeguannan/comments/127680.html http://m.tkk7.com/leeguannan/archive/2007/07/02/127680.html#Feedback 2 http://m.tkk7.com/leeguannan/comments/commentRss/127680.html http://m.tkk7.com/leeguannan/services/trackbacks/127680.html 如何实现呢?下午查了半天代码Q也没有扑ֈEclipse的实C码,只找CActionFactory.LOCK_TOOL_BAR个方法,或者说是匿名内部类。怎么用呢QEclipse没有告诉我们~臛_我是没有扑ֈ~到底怎么用呢Q呵呵,不卖兛_了~代码如下Q?br>
1 public void postWindowOpen() { 2 // TODO Auto-generated method stub 3 super .postWindowOpen(); 4 WorkbenchWindow ww = (WorkbenchWindow) Activator.getDefault().getWorkbench().getActiveWorkbenchWindow(); 5 // ww.getCoolBarManager().setLockLayout(true); // 锁住Coolbar的布局 6 MenuManager contextMenuManager = new MenuManager( " #PopupMenu " ); 7 contextMenuManager.add(ActionFactory.LOCK_TOOL_BAR.create(ww));8 ww.getCoolBarManager().setContextMenuManager(contextMenuManager);9 }
ApplicationWorkbenchWindowAdvisor中的Ҏ~我实现的是postWindowOpen(),实现CreateҎ也可以,我没有做试~我想应该可以的~大家自己试吧~ 感谢大家q日来的xQ我的目标是Blog排名q前10~谢谢~
]]> 公司Eclipse-RCP培训PPT教材 http://m.tkk7.com/leeguannan/archive/2007/07/02/127610.html阿南 阿南 Mon, 02 Jul 2007 08:54:00 GMT http://m.tkk7.com/leeguannan/archive/2007/07/02/127610.html http://m.tkk7.com/leeguannan/comments/127610.html http://m.tkk7.com/leeguannan/archive/2007/07/02/127610.html#Feedback 24 http://m.tkk7.com/leeguannan/comments/commentRss/127610.html http://m.tkk7.com/leeguannan/services/trackbacks/127610.html http://m.tkk7.com/Files/leeguannan/Eclipse-RCP 培训.part01.rarhttp://m.tkk7.com/Files/leeguannan/Eclipse-RCP 培训.part02.rarhttp://m.tkk7.com/Files/leeguannan/Eclipse-RCP 培训.part03.rarhttp://m.tkk7.com/Files/leeguannan/Eclipse-RCP 培训.part04.rarh ttp://m.tkk7.com/Files/leeguannan/Eclipse-RCP 培训.part05.rar 大家自行下蝲学习吧~~~ 我修改了q接了,但是不行~保存以后p是这个样子,大家凑合吧~
]]>几分钟的差距QEuropa发布Q?/title> http://m.tkk7.com/leeguannan/archive/2007/06/29/127149.html阿南 阿南 Fri, 29 Jun 2007 13:16:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/29/127149.html http://m.tkk7.com/leeguannan/comments/127149.html http://m.tkk7.com/leeguannan/archive/2007/06/29/127149.html#Feedback 9 http://m.tkk7.com/leeguannan/comments/commentRss/127149.html http://m.tkk7.com/leeguannan/services/trackbacks/127149.html www.eclipse.org上守候~l于被我{到了,http://www.eclipse.org/downloads/ 大约是在21Q?6左右做的更新Q到?1Q?8在进d已经已经改版了~q次界面好像更漂亮了~而且q次整个产品U也非常的清C~
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
复制q来样式丢了~但是没有关系Q我们一栯看到Q他的生产线清晰了许多~ RCP开发终于也被独立出来了Q看来这ơ改动不~RCPl于被Eclipse拿出来重力推q了~ 在此留脓庆祝一下~
]]> 如何使RCP应用E序每次打开都显CWelcome面 http://m.tkk7.com/leeguannan/archive/2007/06/29/126973.html阿南 阿南 Fri, 29 Jun 2007 01:06:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/29/126973.html http://m.tkk7.com/leeguannan/comments/126973.html http://m.tkk7.com/leeguannan/archive/2007/06/29/126973.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/126973.html http://m.tkk7.com/leeguannan/services/trackbacks/126973.html Z么会q样Q?br> 看看插gq行时环境中?metadata\.plugins\org.eclipse.core.runtime\.settings目录下的org.eclipse.ui.prefs文g中的内容Q?br>
1 #Fri Jun 29 08 : 57 : 27 CST 2007 2 eclipse.preferences.version= 1 3 showIntro= false
W一ơ运行以后就会生此文gQ内容中定义了showIntro=falseQؓ了测试,我们修改了showIntro=trueQ再此运行Welcome再次出现Q但是org.eclipse.ui.prefs文g被更斎ͼ内容被修攏V?br> 一定是Eclipse在运行后对org.eclipse.ui.prefsq行了修改,知道q个好好了~我们扑ֈ了这句:
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(); }
搞定Q以后每ơ启动都会有Welcome面了~
]]> Eclipse3.3新特性体验之最大化最化改进 http://m.tkk7.com/leeguannan/archive/2007/06/27/126674.html阿南 阿南 Wed, 27 Jun 2007 15:00:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/27/126674.html http://m.tkk7.com/leeguannan/comments/126674.html http://m.tkk7.com/leeguannan/archive/2007/06/27/126674.html#Feedback 4 http://m.tkk7.com/leeguannan/comments/commentRss/126674.html http://m.tkk7.com/leeguannan/services/trackbacks/126674.html 研究了整整一下午也没有发现有什么方法可以设|一个Viewer让它在透视囑动的时候自己做最化Q其实刚开始思\是不对的Q不应该考虑让Viewer自己有什么变化;Viewer的大,位置都是在透视图中讄的,它自己是没有M能力q涉的?br> 在Eclipse的新ȝ中咨询了一下PW告诉我org.eclipse.ui.perspectiveExtensions扩展点,提供了定义Viewer最化的属性,而且q个属性是Eclipse3.3新增的,只要有就好办~有样学样Q?br> 拉出来PerspectiveExtension理注册代码读读明白了~原来Q?br>
1 public void createInitialLayout(IPageLayout layout) { 2 }
透视囄中的IPageLayout的实现类是PageLayoutQ晕死,在Eclipse的API中竟然没有h告诉我~ 于是只需要这样就可以让一个Viewer在透视囑动时做最化了,如果你用的是Eclipse3.3开发RCPE序Q那么就可以非常方便的给客户在一个透视图中展现多个Viewer了~ 代码如下Q?br>
public void createInitialLayout(IPageLayout layout) { PageLayout pageLayout = (PageLayout)layout; // layout.addView(ViewPart1.class.getName(), IPageLayout.LEFT, 0.35f, layout.getEditorArea()); pageLayout.addView(ViewPart1. class .getName(), IPageLayout.LEFT, 0.35f , layout.getEditorArea(), true ); }
Eclipse开发团队其实就是在IPageLayout实现cMq加了一个方法~哎~什么遵循接口编E~他们竟然不修Ҏ口~希望正式版发布的时候这个问题有修改~ 距离Eclipse3.3正式发布q有2天~大家拭目以待吧~
]]> Eclipse3.3的新Ҏ?/title> http://m.tkk7.com/leeguannan/archive/2007/06/26/126416.html阿南 阿南 Tue, 26 Jun 2007 13:00:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/26/126416.html http://m.tkk7.com/leeguannan/comments/126416.html http://m.tkk7.com/leeguannan/archive/2007/06/26/126416.html#Feedback 18 http://m.tkk7.com/leeguannan/comments/commentRss/126416.html http://m.tkk7.com/leeguannan/services/trackbacks/126416.html 本来昨天p写这Blog了,但是昨天晚上忙着赶文档,所以只能今天补上?br> Eclipse3.3正式发布q有3天的旉Q很多新Ҏ,如果要真正的用v来,q需要静静的{待?br> Eclipse3.3加入了很多超Cool的功能,我的文章主要是针对于RCP开发做介绍的,JDT之类的新Ҏ,大家自己体会? 新特性之一QViewer和Editor的最大化最化效果变的很CoolQ?br> q个新特性,可能对开发h员来说ƈ没有什么稀奇的Q有q个和没有这个的区别不大。但是对于RCP的开发,q个是一个非常吸引客L球的地方Q他们会瞪大眼睛看,然后自己把玩Q最后要求ؓ自己开发Y件的其他软g都加入此功能。o(∩_∩)o...哈哈~~够他们忙zȝ了! 新特性之二:当Editor最大化以后Q其他的Viewer以新的列表方式l箋出现在界面上Q?br> q个功能Q不好解释,看看抓图Q?br> 很Cool吧,客户一定喜Ƣ死了~ 新特性之三:对Forms加入了错误信息验证; 以前的版本中QForm使没有错误验证的Q现在则加入了Forms的验证,看来Form的用可以更快的深入人心了~ 新特性之四:增强Porperties View的现实效果; 虽然我不喜欢在项目中使用PorpertiesViewQ配|v来太ȝQ不适合普通开发h员用)Q但是还是感谢Eclipse的开发团队此ơ对PorpertiesView的增强?br> 新特性之五:可控制的启动画面Q?br> 在Eclipse3.3中提供了新的扩展?font face="Courier New">org.eclipse.osgi.service.runnable.StartupMonitorQ用于在启动时用SWT的代码?br> 新特性之六:高的TooltipsQ?br> 提供了新的扩展点Qorg.eclipse.jface.window.Tooltip用于创徏更ؓ高的TooltipsQ?br> 新特性之七:SWT增加旉日期选择器; :-)Q这个可能是大家早都知道的秘密了~真想不通,旉和日期选择器早都应该提供了Qؓ什么到现在才拿出来Q?br>
新特性之八:新增?U启动界面; Interactive: A simulated log-in session 使用一个程序登陆界面启?br>Browser: An embedded HTML browser 使用一个Html作ؓ登陆界面 Extensible: A dynamic set of image contributions 使用一张图片作为启动界?br> 在新的PDE中可以对一个product选择使用那一U启动界面启动,q个新功能的增加是非常有意义的,它得RCP应用更加的h性化Q不用再在系l启动中弹出对话框了Q让客户更加攑ֿ的选择ZRCP的品了~
]]> 我们是幸的Blogger~ http://m.tkk7.com/leeguannan/archive/2007/06/24/125957.html阿南 阿南 Sun, 24 Jun 2007 12:23:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/24/125957.html http://m.tkk7.com/leeguannan/comments/125957.html http://m.tkk7.com/leeguannan/archive/2007/06/24/125957.html#Feedback 2 http://m.tkk7.com/leeguannan/comments/commentRss/125957.html http://m.tkk7.com/leeguannan/services/trackbacks/125957.html 周六m.tkk7.com 早上10Q?0准时停止服务了~Q原本我以ؓ可以安安静静的等待重新恢复,但是我错了,从昨天开始就出现了焦w不安的情AQL觉这个世界此时好像少了什么东西,每次打开马桶都习惯的点击一下自qBlogq接Q但是在q去的几十个时里~我的无法q静Q?br> 今天一大早hQ下了一个Eclipse3.3RC4玩,发现Eclipse团队修改掉了q去的BUGQ而且在Eclipse3.3里面为RCP开发提供了更好的东东~本想开Blog记录一下,但是转念一下,关了Q只能等待,无聊_l箋玩我的大富翁Q寻找一下炒股的快感Q)一口气玩到现在。上|看看,发现Blog已经搞好了~dudu是duduQ说话算敎ͼ随性写文一,U念一?#8220;关站2日门”~ Eclipse3.3的新Ҏ,待明日补上!
]]> RCP实践之安全模?/title> http://m.tkk7.com/leeguannan/archive/2007/06/21/125673.html阿南 阿南 Thu, 21 Jun 2007 13:52:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/21/125673.html http://m.tkk7.com/leeguannan/comments/125673.html http://m.tkk7.com/leeguannan/archive/2007/06/21/125673.html#Feedback 3 http://m.tkk7.com/leeguannan/comments/commentRss/125673.html http://m.tkk7.com/leeguannan/services/trackbacks/125673.html 阅读全文 ]]> RCP实践之第三方JAR?/title> http://m.tkk7.com/leeguannan/archive/2007/06/20/125423.html阿南 阿南 Wed, 20 Jun 2007 13:43:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/20/125423.html http://m.tkk7.com/leeguannan/comments/125423.html http://m.tkk7.com/leeguannan/archive/2007/06/20/125423.html#Feedback 1 http://m.tkk7.com/leeguannan/comments/commentRss/125423.html http://m.tkk7.com/leeguannan/services/trackbacks/125423.html 上一文?/a>的拍砖,引v的反响不,目的辑ֈ了~ Q希望可以l板儿砖横飞Q?br> 今天来说说第三方JAR包的引入。RCP开发(或者plugin开发)中最让h头疼是W三方JAR包的引入了,很多初学的朋友常常头|介绍的文章也不少了,如果搞不定,自己google一下就可以了?br> Z么第三方JAR包会引发如此众多的问题,其实q不是Eclipse的错Q而是先入Z的错。如果你一开始就接触Eclipse开发,以后再做不同java开发,你就会觉得java的类加蝲机制是变态了~Eclipse的类加蝲机制是基于OGSI的实玎ͼ它完成了插g的独立加载和独立l护Q正是因U变态的cd载机Ӟ才有了我们头大的W三方jar包的问题Q也正是q种伟大的类加蝲机制Q才有了x即用的思\的诞生?br> 大多数简单的RCP目都是所有的JAR包放入本地项目中Q然后直接进引入目路径Q就开始整了,对于的应用Q或者开发h员少的情况下Q这h可行的,也是便捷的~但是RCP的目标是大型的企业应用Q一个系l由十几个,几十个插件组成,是很正常的。所以就要求我们RCP中所有用到的W三方JAR包统一理Q统一l护Q给开发h员少一些烦恹{?br> 思\有两U: 1.JAR文gplugin样子包装Q及新徏Plug-in from existing jar archives 目Q然后选择JAR文gQ再取消Unzip the jar archives into the project 选项Q然后其它的插g依赖它就可以了?br>2.新徏一个不同插仉目,然后把第三方JAR包放入这个项目,然后引入到此目中,在plugin.xml的runtime配置늚Exported Packages 选Add... 再选择要发布出ȝ包\径,然后其他的插件依赖它可以了?br> 官方推荐的方式是W一U,个h认ؓW一U确实很好,可以非常好而且方便的维护第三方JAR包。但是我q是选择了第二种方式Q理由是Q配|文件读取的问题?br> 每一个插件文仉会维护一份属于自q配置文gQ只有这h能做到自我独立。但是这两种方式都不能其他插g目的配|文件独立维护,原因是Eclipse那讨厌又强大的类加蝲机制?br> 使用W一U方式,配置文g必须攑֜你记载的q来的JAR包的里面Q这样Eclipsecd载机才会加蝲q处理,除非选择了Unzip the jar archives into the project 选项Qƈ把配|文件和一堆的class文g攑֜同一目录下类加蝲机才能发现。我惌U方式谁都不会喜Ƣ,要么是我们要创造自qJAR包,要么工作台遍布了各种各样来自世界各地的class文g?br> 使用W二U方式,是通过q行时将需要发布出来供别h依赖的package发布出来Q而配|文件则需要放在此插g目中。相对而言Q这U比上一U有很大的好处,而且也不是那么难l护?br> 以上只是自己目中的一些ȝQ关于第三方JAR包的问题Q我查了很多资料Q好像逃不q这三种方式Q直接在目中依赖算一U)Q不知道各位大侠q有没有更好的办法,卌处理好第三方JAR包,又能保持各个插gl护自己独立的配|文Ӟ
]]> RCP实践之Y件架?/title> http://m.tkk7.com/leeguannan/archive/2007/06/19/125179.html阿南 阿南 Tue, 19 Jun 2007 13:22:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/19/125179.html http://m.tkk7.com/leeguannan/comments/125179.html http://m.tkk7.com/leeguannan/archive/2007/06/19/125179.html#Feedback 7 http://m.tkk7.com/leeguannan/comments/commentRss/125179.html http://m.tkk7.com/leeguannan/services/trackbacks/125179.html 在此作文N阐qC下我在项目中的实现思\Q欢q大家拍砖?br> 首先看一下我们的目的M架构Q?br>
q个图谁都会画,׃说了Q只是说明我们在用RCP而已?br> 再看看Clientq层是怎么l成的:
依赖关系是自上而下的~Q当然大安需要依赖RCP-RUNNTIME本n?br> jar plugin ---第三方jar包包装成plugin样子Q以供其他的插g依赖Q解决了RCP目对第三方包依赖麻烦的问题Q例子:junit插g的实玎ͼ DMP Platform ---DMP是我们品的名字Q所以,不要立即googleQ在q层我们抽象的定义出大量的公qCoolBar以及MenuBarQ都是尚未实现的Q以待业务扩充之用,最重要的是在这层中我们集中处理权限问题Q后面会说到Q?br> 业务l徏QpluginQ?--其实是针对于DMP Platform~写的一大堆的插Ӟ而这些插件则是业务相对独立,q样遵守了Eclipse的原则,所有东襉K以插件Ş式提供的Q也方便了我们以后对软g的定制化开发; U观国内外RCP的应用(国内本n是很少Q,很少有RCP应用使用Eclipse的思想q行开发的Q都是一个项目直接上~就一个UI层~什么都有!如果是这Pq不如用VCQVB更简单~ Eclipse RCP最好的应用q是Eclipse本nQPlatform仅仅提供Ҏ件的最单的理能力Q而且定义一堆共用的ActionQ其他东西(JDT,ANT,JUNIT{等Q都是以插g形式出现的~只有有了插gQ才有了RCP业务动态扩充的动态组合的新理c?br>
]]> 插g开发依赖其他插件时一定要注意Q?/title> http://m.tkk7.com/leeguannan/archive/2007/06/19/125114.html阿南 阿南 Tue, 19 Jun 2007 06:18:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/19/125114.html http://m.tkk7.com/leeguannan/comments/125114.html http://m.tkk7.com/leeguannan/archive/2007/06/19/125114.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/125114.html http://m.tkk7.com/leeguannan/services/trackbacks/125114.html
1 ! SESSION 2007 - 06 - 19 14 : 10 : 03.031 ----------------------------------------------- 2 eclipse.buildId= unknown 3 java.version= 1.5 .0_08 4 java.vendor= Sun Microsystems Inc. 5 BootLoader constants: OS= win32, ARCH = x86, WS = win32, NL = zh_CN 6 Framework arguments: - product com.glnpu.dmp.client.platform.product 7 Command- line arguments: - product com.glnpu.dmp.client.platform.product - data F:\DMP / .. / runtime - com.glnpu.dmp.client.platform.product - dev file:F: / DMP / .metadata / .plugins / org.eclipse.pde.core / com.glnpu.dmp.client.platform.product / dev.properties - os win32 - ws win32 - arch x86 8 9 ! ENTRY org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.390 10 ! MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: 11 ! SUBENTRY 1 org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.390 12 ! MESSAGE Bundle update@.. / .. / DMP / com.glnpu.dmp.client.platform / was not resolved. 13 ! SUBENTRY 2 com.glnpu.dmp.client.platform 2 0 2007 - 06 - 19 14 : 10 : 04.390 14 ! MESSAGE Missing required bundle org.eclipse.ui.views_0. 0.0 . 15 16 ! ENTRY org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.390 17 ! MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: 18 ! SUBENTRY 1 org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.390 19 ! MESSAGE Bundle update@.. / .. / DMP / com.glnpu.dmp.client.platform / [ 61 ] was not resolved. 20 ! SUBENTRY 2 com.glnpu.dmp.client.platform 2 0 2007 - 06 - 19 14 : 10 : 04.390 21 ! MESSAGE Missing required bundle org.eclipse.ui.views_0. 0.0 . 22 23 ! ENTRY org.eclipse.core.runtime 2007 - 06 - 19 14 : 10 : 04.390 24 ! MESSAGE Product com.glnpu.dmp.client.platform.product could not be found. 25 26 ! ENTRY org.eclipse.osgi 4 0 2007 - 06 - 19 14 : 10 : 04.406 27 ! MESSAGE Application error 28 ! STACK 1 29 java.lang.RuntimeException: No application id has been found.30 at org.eclipse.core.internal.runtime.PlatformActivator$1 .run(PlatformActivator.java: 56 ) 31 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92 ) 32 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68 ) 33 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400 ) 34 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177 ) 35 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)36 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) 37 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25 ) 38 at java.lang.reflect.Method.invoke(Method.java:585 ) 39 at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 ) 40 at org.eclipse.core.launcher.Main.basicRun(Main.java:280 ) 41 at org.eclipse.core.launcher.Main.run(Main.java:977 ) 42 at org.eclipse.core.launcher.Main.main(Main.java:952 ) 43 44 ! ENTRY org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 45 ! MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: 46 ! SUBENTRY 1 org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 47 ! MESSAGE Bundle update@.. / .. / DMP / com.glnpu.dmp.client.platform / was not resolved. 48 ! SUBENTRY 2 com.glnpu.dmp.client.platform 2 0 2007 - 06 - 19 14 : 10 : 04.406 49 ! MESSAGE Missing required bundle org.eclipse.ui.views_0. 0.0 . 50 51 ! ENTRY org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 52 ! MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: 53 ! SUBENTRY 1 org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 54 ! MESSAGE Bundle update@.. / .. / DMP / com.glnpu.dmp.client.platform / [ 61 ] was not resolved. 55 ! SUBENTRY 2 com.glnpu.dmp.client.platform 2 0 2007 - 06 - 19 14 : 10 : 04.406 56 ! MESSAGE Missing required bundle org.eclipse.ui.views_0. 0.0 .
其实错误的核心是Q?br>
1 ! ENTRY org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 2 ! MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: 3 ! SUBENTRY 1 org.eclipse.osgi 2 0 2007 - 06 - 19 14 : 10 : 04.406 4 ! MESSAGE Bundle update@.. / .. / DMP / com.glnpu.dmp.client.platform / [ 61 ] was not resolved. 5 ! SUBENTRY 2 com.glnpu.dmp.client.platform 2 0 2007 - 06 - 19 14 : 10 : 04.406 6 ! MESSAGE Missing required bundle org.eclipse.ui.views_0. 0.0 .
因ؓ启动我的插g找不到需要依赖的插g~注意q里的找不到是指OGIS的加载机制找不到~ 处理办法是什么? 很简单~选中你加载进来的插g选择旁边的properties...Q然后选择optionalOK了~
]]> 再次理解Eclipse的类加蝲机制 http://m.tkk7.com/leeguannan/archive/2007/06/18/124947.html阿南 阿南 Mon, 18 Jun 2007 07:13:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/18/124947.html http://m.tkk7.com/leeguannan/comments/124947.html http://m.tkk7.com/leeguannan/archive/2007/06/18/124947.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/124947.html http://m.tkk7.com/leeguannan/services/trackbacks/124947.html 今天在写RCP的基q行插g的时候,发现一个非常有意思的问题Q?br> 我有两个插gA和BQA是RCPq行LӞB是普通插ӞA依赖于B存在q运行。当我把B打成JAR包,攑ֈA下,做本C赖的时候,那么Log4j的配|文件加载无误,但是q样是违反了Eclipse插g开发原则(Eclipse最运行单位是插gQ的Q我把A和B通过featureq行兌Q然后在A中依赖B插gQ通过product文g启动A插g的时候,发现B插g无法加蝲Log4j的配|文?.. ... 很郁L问题哦~Z么? 因ؓ我一直在使用原来java的类加蝲机制思考问题,一个类加蝲机,加载所有的Class~在Eclipse下则不是q样的,每一个类加蝲机只负责一个插件的内容加蝲~多个cd载机之间是没有关pȝ~ 因此Q每一个插件在cd载时都是独立的个体~所以每一个插件下面都需要自行增加一个Log4j配置文gQ大安独立l护自己的Log4j配置文g~唉,有一个配|文件泛滥的q代啊~
psQ?
]]> 庆祝一下~RCP开发者的音CQ?/title> http://m.tkk7.com/leeguannan/archive/2007/06/14/124387.html阿南 阿南 Thu, 14 Jun 2007 14:04:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/14/124387.html http://m.tkk7.com/leeguannan/comments/124387.html http://m.tkk7.com/leeguannan/archive/2007/06/14/124387.html#Feedback 2 http://m.tkk7.com/leeguannan/comments/commentRss/124387.html http://m.tkk7.com/leeguannan/services/trackbacks/124387.html http://mojo.codehaus.org/pde-maven-plugin/index.html 真是t破铁鞋无觅处,得来全不费工夫! 道说说BaiduQ我baidu MOJO的时候,搜烦l果80%竟然是MP3cȝ~我都晕倒了Q我以ؓ我开的是Mp3.baodu.comQ百度现在是不是转行转作MP3了?
]]> 如何用WebStart部vRCP应用E序Q?/title> http://m.tkk7.com/leeguannan/archive/2007/06/11/123426.html阿南 阿南 Mon, 11 Jun 2007 09:19:00 GMT http://m.tkk7.com/leeguannan/archive/2007/06/11/123426.html http://m.tkk7.com/leeguannan/comments/123426.html http://m.tkk7.com/leeguannan/archive/2007/06/11/123426.html#Feedback 0 http://m.tkk7.com/leeguannan/comments/commentRss/123426.html http://m.tkk7.com/leeguannan/services/trackbacks/123426.html WebStartToRCP.doc
]]>
վ֩ģ壺
ۺѾƷþþ |
avɫ㽶һ |
һaƬþëƬ
|
av |
þѾƷһ |
91ƷӾʢ |
Ļ߹ۿ |
þþƷAV캣 |
69˾ƷƵ |
|
һҹߴ |
ۺƵ |
þþƷ7777 |
sss߲ |
Ȱһ |
AVۺɫһAV |
Ʒ߹ۿ |
ۺպþóAV |
Ʒþþþ |
99ƵƵۿ |
߹ۿ |
պƷƵַ |
ӰԺ |
ëƬƵѹۿ |
˳߾Ʒ |
ŮڵƵ |
fc2˳Ƶ |
þþþAvƬv
|
99reƵ |
ҹþþþ |
AV뾫Ʒ |
avһ |
Ļ뱬av
|
պƷһҳ |
ձѹۿ |
þþ
|
ѿƷ3aƵƵ |
һ߹ۿ |
þAV뾫Ʒɫҹ |
ԲľƷƵѿ |
AëƬ |