Eclipse RCP术语和概念 [英] Eclipse RCP terminologies and concepts

查看:45
本文介绍了Eclipse RCP术语和概念的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始使用Eclipse RCP开发一些应用程序。通过阅读一些教程,我能够破解出一个原型。尽管我可以破解一些工作代码,但发现自己对某些RCP概念有些困惑,例如:

I am just starting to develop some application using Eclipse RCP. I was able to hack out a prototype by reading some tutorials. Although I was able to hack out some working code, I found myself shaky on some of the RCP concepts like:


  • 什么是页面?我看到很多getActivePage()API调用,所以我假设可以有多个页面,对吗?

  • 在IWorkbechPart API中,有一个名为getSite()的API。被大量使用,但我不确定什么是站点

以上只是我所遇到的问题的一个示例,因此,如果有人可以向我介绍一些解释此类概念的文章,那将对我有很大帮助(我在google上没有成功)。

The above are just a sample of questions I am having, so it would really help me if someone can point me to some articles explain these type of concepts (I did google around without success).

如果有人可以向我介绍一些可以教我如何编写干净的RCP代码的文章,我也将不胜感激;

I would also appreciate it if someone can point me to some articles that can educate me on how to write clean RCP code; kind of like the "Effective Java" for RCP.

推荐答案

看看接口的JavaDoc,它们有据可查并给您一个术语的概念。例如:

Take a look at the JavaDoc for the Interfaces, they are well documented and give you an idea of the terminology. For example:


什么是页面?

What is a page?

org.eclipse.ui.IWorkbenchPage


名为getSite(),

called getSite(),

org.eclipse.ui.IViewSite

这篇关于Eclipse RCP术语和概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆