Introduction to Eclipse RCP

This course offers an approach to Eclipse RCP development which emphasizes how to use as much new RCP 4 functionality as possible without giving up the benefits provided by older APIs.

The 3-day course is divided into 6 sessions, one to be held in the morning and one in the afternoon. Each session lasts about 3 hours and includes both lecture and labs.

Modularity and Eclipse

  • Introduction to the Rich Client Platform
  • Plug-in model
  • Anatomy of a plug-in
  • Creating a plug-in
  • Plug-in mechanics
  • Extensions and extension points
  • OSGi services
  • Fragments

SWT and JFace

  • SWT Overview
  • Widgets and controls
  • Composites and groups
  • Layout managers
  • Events and listeners
  • JFace viewer framework

The Workbench

  • Workbench structure
  • RCP 3 vs RCP 4
  • Compatibility layer
  • Legacy services and advisors
  • Contexts and dependency injection
  • Perspectives
  • Target platforms
  • Features
  • Product configurations

Parts

  • Parts in RCP 3
  • Savable parts
  • State persistence
  • Selection service
  • Parts in RCP 4
  • Dependency injection
  • Bridging RCP 3 and RCP 4

Menus

  • Commands
  • Handlers
  • Core expressions
  • Menus
  • Wizards

Services

  • Preferences
  • Event broker
  • Jobs API
  • RCP 4 services