Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2291034
  • 博文数量: 321
  • 博客积分: 3440
  • 博客等级: 中校
  • 技术积分: 2992
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-24 09:08
个人简介

我就在这里

文章分类

全部博文(321)

文章存档

2015年(9)

2014年(84)

2013年(101)

2012年(25)

2011年(29)

2010年(21)

2009年(6)

2008年(23)

2007年(23)

发布时间:2015-01-03 19:59:47

启动用户程序进行登录验证    我们在某些情况下要求用户有相应的权限才能执行操作时,必须在程序启动是验证用户是否是合法的用户,这时我们可以在程序启动是弹出登录对话框,如果登录成功的话才可以进入系统,否则无法进入   要在RCP程序中实现这样的功能很简单,我们只要在 Applic.........【阅读全文】

阅读(2284) | 评论(0) | 转发(0)

发布时间:2014-11-29 19:56:22

如果我们在Eclipse RCP程序中添加TaskList View,用来管理Task或者TODO项,如下代码:PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()    .showView("org.eclipse.ui.views.TaskList");我们发现,创建的Task,在重启之后无法保存,而在Eclipse IDE.........【阅读全文】

阅读(1645) | 评论(0) | 转发(0)

发布时间:2014-11-26 21:51:40

There is an example of creating linked resources in code.IProject project = workspace.getProject("Project");//assume this exists   IFolder link = project.getFolder("Link");   IPath location = new Path("C:\TEMP\folder"); &nb.........【阅读全文】

阅读(1737) | 评论(0) | 转发(0)

发布时间:2014-11-26 21:45:12

In Eclipse, there are 2 closely related core technologies that support development of Graphical User Interface (GUI) applications. The Standard Widget Toolkit (SWT) provides the fundamental building blocks. The JFace framework provides a set of patterns and component abstractions. Actio.........【阅读全文】

阅读(1129) | 评论(0) | 转发(0)

发布时间:2014-11-11 20:29:25

我们在rcp的项目开发中,view和editor的字体都是eclipse默认的。但是,很多时候,由于其字体太小或者想改变其样式,需要能够设置tilte的字体。eclipse里可以非常方便的设置其字体和颜色:按照如下路径: Preferences/General/Appearance/Colors and Fonts/Part title font 即可以更改view和editor的外观。 但是,在rcp.........【阅读全文】

阅读(2080) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册