http://www.vogella.de/articles/EclipseRCP/article.html
[Basic Concept]
Eclipse RCP allows developers to use the Eclipse platform to create flexible and extensible desktop applications.
Eclipse is build upon a plugin architecture . Plugins are the smallest deployable and installable software components of Eclipse.
A plugin is a collection of files and a configuration file (MANIFEST.MF) which describes the plugin and its dependencies. The following picture show the content of an example plugin.
An Eclipse RCP application typically uses:
>The OSGi runtime provides the framework to run the modular application.
>SWT is the standard UI component library used by Eclipse and JFace provides some convenient API on top of SWT.
>The workbench provides the application frame in which all other UI components are displayed.
[Some relevent concepts]
>OSGi is a specification of a service and module platform in Java at runtime.
The OSGi specification defines how Eclipse plugins defines:
1)their API - public classes which can be used by other plugins
2)their dependencies - package or plugins which are required for the plugin to run correctly
>Eclipse Equinox is currently the reference implementation of the OSGi specification.
Eclipse Equinox is the runtime environment on which the Eclipse IDE and Eclipse RCP application are based.
Eclipse the smallest unit of modularization is a plugin . The terms plugin and bundle are (almost) interchangable. An Eclipse plugin is also an OSGi bundle and vice versa. Eclipse Equinox extends the concept of bundles with the concept of extension points .
[Main components of RCP]
The minimal required plugins to create and run an minimal Eclipse RCP application (with UI) are the two plugins "org.eclipse.core.runtime" and "org.eclipse.ui".
Necessary elements:
>Main program - A RCP main application class implements the interface "IApplication". This class can be viewed as the equivalent to the main method for standard Java application. Eclipse expects that the application class is defined via the extension point "org.eclipse.core.runtime.application".
>A Perspective - defines the layout of your application. Must be declared via the extension point "org.eclipse.ui.perspective".
>Workbench Advisor- invisible technical component which controls the appearance of the application (menus, toolbars, perspectives, etc)
Configuration files:
>MANIFEST.MF - contains the OSGi configuration information.
>plugin.xml - Information about the extensions and extension points
- 大小: 9.3 KB
分享到:
相关推荐
documents and samples about Eclipse RCP developments.
RCP&OSGI;
RCP在线升级RCP在线升级RCP在线升级RCP在线升级RCP在线升级
RCP导出EXE 老大难问题。 RCp 程序导出步骤,保证能够导出~
Eclipse RCP允许开发者使用eclipse结构风格设计弹性的可扩展的应用程序,可重用Eclipse中已存在的方法和编码模式。俗话说,万事开头难。Eclipse RCP入手可能会比较困难、费时。接下来我们将主要讲述如何让RCP工作. ...
clipse RCP允许开发者使用eclipse结构风格设计弹性的可扩展的应用程序,可重用Eclipse中已存在的方法和编码模式。俗话说,万事开头难。Eclipse RCP入手可能会比较困难、费时。接下来我们将主要讲述如何让RCP工作 ...
有关rcp的内容 是rcp入门的好帮手,rcp自学的好帮手
RCP 常见的扩展点指南 RCP最精华的部分之一,详细分析了RCP如何建立扩展点的。
RCP系统使用的弹出式日期控件,可切换上月下月,前一年后一年,可选择年、月
RCP项目的登录窗体RCP项目的登录窗体RCP项目的登录窗体RCP项目的登录窗体
Eclipse RCP开发教程,RCP入门教程,教你如何使用SWT Eclipse RCP开发教程,RCP入门教程,教你如何使用SWT Eclipse RCP开发教程,RCP入门教程,教你如何使用SWT Eclipse RCP开发教程,RCP入门教程,教你如何使用SWT
Eclipse RCP富客户端平台,基于Eclipse开发的。
RCP中文入门教程,RCP中文入门教程,RCP中文入门教程,RCP中文入门教程
索尼 sony rcp 1500 中文操作手册,非常好,是中文的,希望大家多多下载 谢谢谢谢,让我多赚些积分
RCP源码例子 RCP源码例子 RCP源码例子
RCP常用方法,Java,gui开发绝对经典书
EclipseRcp 例子程序
rcp for java one
eclipse rcp check table
eclipse rcp 例子 源码