`
microjuz
  • 浏览: 32759 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

about RCP

    博客分类:
  • RCP
 
阅读更多
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 about Eclipse RCP

    在"documents about Eclipse RCP"中,我们可以期待学习到以下关键知识点: 1. **Eclipse RCP基础**:首先,文章可能会介绍Eclipse RCP的基本概念,包括它的设计理念、架构和主要组件,如工作台(Workbench)、视图...

    RCP工程转成RAP,并在浏览器中运行

    本文主要介绍如何将一个基于Eclipse RCP(Rich Client Platform)的工程转换为可以在浏览器中运行的RAP(Rapid Application Platform)工程。RCP和RAP都是Eclipse基金会开发的框架,前者用于构建桌面应用程序,后者...

    为RCP程序添加帮助支持

    例如,`myApp.aboutPage` 可用于表示“关于”页面的帮助内容。 2. **组织Help Content**:编写或收集帮助文档,将其组织成结构化的目录结构。你可以创建一个名为`org.example.rcp.content`的目录,其中包含各个帮助...

    eclipse swt

    它是Eclipse IDE和其他基于Eclipse RCP(Rich Client Platform)应用程序的基础,提供了与操作系统原生界面紧密集成的组件,使得应用程序看起来和行为更像是本地应用程序。 1. **SWT介绍**: SWT是一个开源的Java...

    swt-4.7.1a-win32-win32-x86_64.zip

    此外,SWT也常与RCP(Rich Client Platform)结合,为开发复杂的桌面应用程序提供了一个强大的框架。开发者可以通过导入`swt.jar`到他们的Java项目中,或者在Eclipse中通过添加库依赖来使用SWT。对于需要在64位...

    SWT3.5.2 Linux下的64位包

    因此,熟悉SWT对于开发Eclipse插件或者基于Eclipse RCP(Rich Client Platform)的应用程序是非常重要的。 7. **移植性**: 虽然SWT提供了良好的本地化支持,但因为依赖于特定操作系统的API,所以移植到不同平台时...

    Standard widget Toolkit

    它由Eclipse基金会维护,是Eclipse IDE和其他基于Eclipse RCP(Rich Client Platform)的应用程序的基础组件之一。SWT的设计目的是提供一种与目标操作系统更紧密集成的GUI开发解决方案,使得Java应用程序能够拥有与...

    learning rabbitmq

    Vagrant, or DockerFine-tune the performance of RabbitMQMonitor RabbitMQ using Nagios, Munin, or MonitSecure, troubleshoot, and extend RabbitMQ, About the Author, Martin Toshev is a software developer...

    The Definitive Guide to NetBeans Platform

    ■CHAPTER 16 From Eclipse RCP to the NetBeans Platform . . . . . . . . . . . . . . . . . . 279 ■CHAPTER 17 Tips and Tricks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

    xiyoulinux

    - **/etc/hosts.equiv**:允许远程主机使用rsh或rcp命令的主机列表。 - **/etc/inetd.conf**:inetd守护进程的配置文件。 - **/etc/gateways**:网关配置文件。 - **/etc/protocols**:协议名称到数字编码的映射文件...

Global site tag (gtag.js) - Google Analytics