无痕客

落花无情,流水无痕……

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 47 下一页

2012年3月7日

摘要: Enhancing the Combo-Widget with Images 阅读全文
posted @ 2012-03-07 23:14 无痕客 阅读(401) 评论(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 无痕客 阅读(296) 评论(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 无痕客 阅读(582) 评论(0) 推荐(0) 编辑

摘要: EclipseRCP中文语言包版本不一致,导致导出错误 阅读全文
posted @ 2012-03-07 20:28 无痕客 阅读(458) 评论(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 无痕客 阅读(437) 评论(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 无痕客 阅读(1210) 评论(0) 推荐(0) 编辑

摘要: JAVA反射获取类属性及属性类型 阅读全文
posted @ 2012-03-07 07:55 无痕客 阅读(44584) 评论(0) 推荐(1) 编辑

2012年3月2日

摘要: 使用 调用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 无痕客 阅读(848) 评论(0) 推荐(0) 编辑

摘要: 在JAVA中调用OLE内嵌式打开WORD 阅读全文
posted @ 2012-03-02 18:37 无痕客 阅读(652) 评论(0) 推荐(0) 编辑

摘要: SWT Ribbon http://hexapixel.com/projects/ribbonSWT Ribbon/********************************************************************************Copyright(c)EmilCrumhorn-Hexapixel.com-emil.crumhorn@gmail.com*Allrightsreserved.Thisprogramandtheaccompanyingmaterials*aremadeavailableunderthetermsoftheEclipseP 阅读全文
posted @ 2012-03-02 18:34 无痕客 阅读(3156) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 47 下一页