无痕客

落花无情,流水无痕……

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  469 随笔 :: 13 文章 :: 279 评论 :: 205万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  Eclipse RCP开发

1 2 下一页

专注于Eclipse RCP开发
摘要:Eclipse插件框架 阅读全文
posted @ 2012-10-23 09:52 无痕客 阅读(1126) 评论(0) 推荐(0) 编辑

摘要:Access restriction: The type XXX is not accessible due to restriction on required library XXX 阅读全文
posted @ 2012-10-08 17:31 无痕客 阅读(562) 评论(0) 推荐(0) 编辑

摘要:Eclipse安装WindowBuilder Pro;WindowBuilder安装地址;SWT Designer使用实例 阅读全文
posted @ 2012-08-27 11:11 无痕客 阅读(19500) 评论(1) 推荐(0) 编辑

摘要:将文件夹压缩为jar包——JAVA小工具 阅读全文
posted @ 2012-04-10 10:41 无痕客 阅读(12388) 评论(0) 推荐(0) 编辑

摘要:无效方法://System.exit(Application.EXIT_RELAUNCH);//System.exit(Application.EXIT_RELAUNCH); 可以正常重启应用程序的方法:Application.EXIT_RELAUNCH为24System.setProperty(PROP_EXIT_CODE, Integer.toString(24));PlatformUI.getWorkbench().restart(); 阅读全文
posted @ 2012-04-08 13:32 无痕客 阅读(773) 评论(0) 推荐(0) 编辑

摘要:eclipse rcp 开发中文语言包下载 阅读全文
posted @ 2012-04-06 15:18 无痕客 阅读(308) 评论(0) 推荐(0) 编辑

摘要:Converts an AWT image to SWT (转载) 阅读全文
posted @ 2012-04-02 16:03 无痕客 阅读(1295) 评论(0) 推荐(0) 编辑

摘要:摘要:在进行Eclipse RCP开发的过程中,需要使用一些其他的资源(如图片、声音、配置文件、数据库等),我们一般将这些资源放到Plugin/Bundle的相应目录下(如 图片资源放到icons目录,声音放到sounds目录,数据库文件放到data目录)。本文先对Eclipse Plugin和Bundle进行分析,之后讲解了如何使用Eclipse API通过这些资源的相对路径(相对于Plugin/Bundle)获取这些资源的绝对路径的方法,最后总结了 org.osgi.framework.Bundle接口和FileLocator工具类的使用方法。 Bundle和Plugi... 阅读全文
posted @ 2012-04-02 06:33 无痕客 阅读(5272) 评论(0) 推荐(0) 编辑

摘要:RCP开发中,很多开发人员都希望,自己的RCP应有Welcome页面,因此我们配置了intro扩展点以及introconfig扩展点,也写 了xml文件,这样我们就有了Welcome页面。但是Welcome只有在RCP应用程序第一次运行时才会显示,以后都不会显示。 为什么会这样? 看看插件运行时环境中的.metadata/.plugins/org.eclipse.core.runtime/.settings目录下的org.eclipse.ui.prefs文件中的内容: PrefUtil.getAPIPreferenceStore().... 阅读全文
posted @ 2012-03-29 13:09 无痕客 阅读(1074) 评论(0) 推荐(0) 编辑

摘要:视图菜单按钮过滤方式 阅读全文
posted @ 2012-03-29 13:05 无痕客 阅读(884) 评论(0) 推荐(0) 编辑

摘要:Top 10 mistakes in Eclipse Plug-in Development 阅读全文
posted @ 2012-03-20 23:47 无痕客 阅读(525) 评论(0) 推荐(0) 编辑

摘要: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- 阅读全文
posted @ 2012-03-16 17:58 无痕客 阅读(440) 评论(0) 推荐(0) 编辑

摘要:深入学习EclipseRCP多线程 阅读全文
posted @ 2012-03-16 13:20 无痕客 阅读(4578) 评论(0) 推荐(0) 编辑

摘要:Eclipse中多线程程序的实现 阅读全文
posted @ 2012-03-16 13:16 无痕客 阅读(1355) 评论(0) 推荐(0) 编辑

摘要:Enhancing the Combo-Widget with Images 阅读全文
posted @ 2012-03-07 23:14 无痕客 阅读(407) 评论(0) 推荐(0) 编辑

摘要: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... 阅读全文
posted @ 2012-03-07 23:10 无痕客 阅读(298) 评论(0) 推荐(0) 编辑

摘要:重载ApplicationWorkbenchWindowAdvisor中的postWindowClose() 方法@Overridepublic void postWindowClose() {// TODO Auto-generated method stub//super.postWindowClose();boolean openConfirm = MessageDialog.openConfirm(null, Messages.ApplicationWorkbenchWindowAdvisor_title, Messages.ApplicationWorkbenchWindowAdv. 阅读全文
posted @ 2012-03-07 20:48 无痕客 阅读(584) 评论(0) 推荐(0) 编辑

摘要:public class ScanWizard extends Wizard {@Overridepublic boolean canFinish() {//只有到最后一页时才可以“完成”可用if (this.getContainer().getCurrentPage() instanceof ChooseKeywordPattern) //ChooseKeywordPattern为最后一个页面return true;elsereturn false;}}只需要重载 canFinish()方法,判断是否是最后一个页面即可。 阅读全文
posted @ 2012-03-07 19:59 无痕客 阅读(464) 评论(0) 推荐(0) 编辑

摘要: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. 阅读全文
posted @ 2012-03-07 19:53 无痕客 阅读(1216) 评论(0) 推荐(0) 编辑

摘要:使用 调用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 阅读全文
posted @ 2012-03-02 18:45 无痕客 阅读(851) 评论(0) 推荐(0) 编辑

1 2 下一页
点击右上角即可分享
微信分享提示