摘要:RCP开发中,很多开发人员都希望,自己的RCP应有Welcome页面,因此我们配置了intro扩展点以及introconfig扩展点,也写 了xml文件,这样我们就有了Welcome页面。但是Welcome只有在RCP应用程序第一次运行时才会显示,以后都不会显示。 为什么会这样? 看看插件运行时环境中的.metadata/.plugins/org.eclipse.core.runtime/.settings目录下的org.eclipse.ui.prefs文件中的内容: PrefUtil.getAPIPreferenceStore()....
阅读全文
03 2012 档案
摘要:java 插件中调用*.dll文件
阅读全文
摘要:Top 10 mistakes in Eclipse Plug-in Development
阅读全文
摘要:http://www.ibm.com/developerworks/cn/education/opensource/os-eclipse-ganymede-pt1/section6.htmlhttp://popjxc.iteye.com/blog/901965http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial_36/http://www.ralfebert.de/blog/eclipsercp/p2_updates_tutorial/http://wiki.eclipse.org/Equinox/p2/Adding_Self-
阅读全文
摘要:深入学习EclipseRCP多线程
阅读全文
摘要:Eclipse中多线程程序的实现
阅读全文
摘要:使用geotools修改shapefile之后, 发现dbf文件内容中, 属性名都成了乱码, 但属性值就不是乱码。修改之前还没有乱码的。而且在代码中也已经通过以下方式设置过编码方式了:ShapefileDataStore shape = new ShapefileDataStore(url);shape.setStringCharset(Charset.forName("GBK"));参考:http://www.cnblogs.com/lingxue3769/archive/2011/11/17/2252659.html
阅读全文
摘要:!ENTRY org.eclipse.ui 4 0 2012-03-14 14:31:17.718!MESSAGE Unhandled event loop exception!STACK 0java.lang.NoClassDefFoundError: org/eclipse/ui/internal/WorkbenchWindow$5 at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858) at org.eclipse.jface.window.Window.handleShellCloseEven
阅读全文
摘要:蓝牙通信近距离P2P通讯技术平台 Alljoyn
阅读全文
摘要:无用代码检测Eclipse插件 UCDetector这是一个Eclipse的插件,用来检测Java中的无用代码。http://www.ucdetector.org/FindBugsFindBugs是一个能静态分析源代码中可能会出现Bug的Eclipse插件工具。 可以从http://sourceforge.net/project/showfiles.php?group_id=96405&package_id=118233下在最新的FindBugs插件。 下载之后,把解冻后的文件拷贝到 $ECLIPSE_HOME/plugins/目录下,重新启动eclipse即完成安装。 FindBug
阅读全文
摘要:Enhancing the Combo-Widget with Images
阅读全文
摘要:Tom Seidel @ 19:07 A common usecase is running long processes and waiting for their completion. Therefore responsiveness is an important feature, that can be realized with the jobs-framework provided by eclipse. The user wants to continue working while a long running job is scheduled, not...
阅读全文
摘要:重载ApplicationWorkbenchWindowAdvisor中的postWindowClose() 方法@Overridepublic void postWindowClose() {// TODO Auto-generated method stub//super.postWindowClose();boolean openConfirm = MessageDialog.openConfirm(null, Messages.ApplicationWorkbenchWindowAdvisor_title, Messages.ApplicationWorkbenchWindowAdv.
阅读全文
摘要:EclipseRCP中文语言包版本不一致,导致导出错误
阅读全文
摘要:public class ScanWizard extends Wizard {@Overridepublic boolean canFinish() {//只有到最后一页时才可以“完成”可用if (this.getContainer().getCurrentPage() instanceof ChooseKeywordPattern) //ChooseKeywordPattern为最后一个页面return true;elsereturn false;}}只需要重载 canFinish()方法,判断是否是最后一个页面即可。
阅读全文
摘要:WizardDialog 默认弹出不居中,下面是让其居中的代码WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), new ScanWizard());dlg.setPageSize(560, 320);dlg.create(); //设置窗口自动居中 Rectangle screenSize = Display.getDefault().getClientArea(); Shell shell =dlg.getShell(); shell.setLocation((screenSize.widt.
阅读全文
摘要:使用 调用jxl.jar 生成的EXCEL,然后用SWT调用OLE会报错,错误如下:(未解决)org.eclipse.swt.SWTException: File does not exist, is not accessible to user or does not have the correct format. result = -2147286775 at org.eclipse.swt.ole.win32.OLE.error(OLE.java:307) at org.eclipse.swt.ole.win32.OleClientSite.OleCreate(OleClientSit
阅读全文
摘要:在JAVA中调用OLE内嵌式打开WORD
阅读全文
摘要:SWT Ribbon http://hexapixel.com/projects/ribbonSWT Ribbon/********************************************************************************Copyright(c)EmilCrumhorn-Hexapixel.com-emil.crumhorn@gmail.com*Allrightsreserved.Thisprogramandtheaccompanyingmaterials*aremadeavailableunderthetermsoftheEclipseP
阅读全文