Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start 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.


RCP Eclipse

No description

Ummair Asghar

on 5 July 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of RCP Eclipse

RCP Eclipse
RCP Eclipse Tutorial

What is RCP ?
Why RCP Eclipse ?
RCP Component Structure
Hello RCP Plug-in Project
Demo time

Demo Time
Example Screen shots
What is RCP ?
Rich Client Platform
Programmer Tool
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

RCP Eclipse
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

Basic Structure
HelloWorld RCP Application
Classes Required:


Acts as a main routine
Controls the application
Creates Workbench
Attaches Advisor class to Workbench
Implements IplatformRunnable as interface

Invisible Component
Complexity Hidden from user
Methods called from Platform
Notifies throughout the lifecycle
Ability to handle event loop exceptions
Extends WorkbenchAdvisor

Window Customization Class
Controls StatusLine,Toolbar,Title etc.
Also controls Workbench Window size
Supports methods like preWindow, postWindow, preShutdown, postShutdown etc.
Extends WorkbenchWindowAdvisor

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
Optional class
Contains Plug-in global Information

RCP Main Structure
Umair Asghar
Sadiq Alvi
Mateen Ahmed
Salman Ansari

RCP Examples
Task Assigned
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.
Full transcript