Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.
Transcript of RCP Eclipse
RCP Eclipse Tutorial
What is RCP ?
Why RCP Eclipse ?
RCP Component Structure
Hello RCP Plug-in Project
Example Screen shots
What is RCP ?
Rich Client Platform
Integrate Individual Software Components
Data processing mostly on client side
Uses tested features of framework
Open-source examples of RCP's for Java are Eclipse, NetBeans,Spring Framework etc.
Why RCP ?
A core (micro kernel), life cycle manager
A standard bundling framework
A portable widget toolkit
File buffers, text handling, text editors
A workbench (views, editors, perspectives, etc.)
Tested features of the framework
Cross Platform Integration
Core Components Eclipse
Eclipse as Open Source RCP Example
Plug-ins required to build
Minimal set known as RCP
Latest release Eclipse 4.4
OSGI defines dynamic components for java
Equinox one implementation of the OSGi specification
SWT is the standard user interface component library
JFace provides user friendly API's on top of SWT
Workbench provides the framework for the application
Java Development Tools (JDT)
Version control support (EGit)
Other Plug-ins as well
Eclipse Plug-in Project
Main Configuration Files are:
MANIFEST.MF - contains the OSGi configuration information.
plugin.xml - Contains information about Eclipse specific extension mechanisms
HelloWorld RCP Application
Acts as a main routine
Controls the application
Attaches Advisor class to Workbench
Implements IplatformRunnable as interface
Complexity Hidden from user
Methods called from Platform
Notifies throughout the lifecycle
Ability to handle event loop exceptions
Window Customization Class
Controls StatusLine,Toolbar,Title etc.
Also controls Workbench Window size
Supports methods like preWindow, postWindow, preShutdown, postShutdown etc.
Provides methods for creating Menus,Sub-menus,Tool bars, Status bars etc.
Also provides action support using ActionFactory class
Contains set of Visible Views,Editors,Menus etc.
Setting layout of the application
Controls their positions and sizes
Each RCP Application must have one default Perspective
Contains Plug-in global Information
RCP Main Structure
Create a plug-in project having a Tree viewer.
Upon clicking any node in the tree the appropriate file should open in the editor.
The file then can be edited and saved.