Eclipse RCP 4 Course

Eclipse RCP 4 Course Description

  • This Eclipse RCP 4.6 course will enable you to gain the necessary knowledge for developing on this architecture at a professional level
  • It is based on the 4.6 architecture
  • If you are looking for a course only on Eclipse 3, please check the corresponding course page

Course Objectives

  • Understanding E4/OSGi architecture
  • Building SWT/JFace UI
  • Designing an Eclipse 4 application
  • Mastering application distribution

Target Audience

  • Developers
  • Project managers
  • Software architects

Pre-requisites

  • Knowledge of Java

icon-pdf-48 Download the course plan

Duration

4 days

Eclipse RCP 4 Upcoming courses

OPCoach currently organizes this course on-demand, at your company’s offices and over 4 days.
This course uses all the principles of Eclipse 3, however all the exercises are entirely based on the Eclipse 4 architecture.

To have access to French training session click here.

Request information

OPCoach’s strengths

  • Eclipse Expert since 2004, I offer you a complete training program, using the latest versions and putting emphasis on numerous practical exercises
  • By attending every international Eclipse conference (Germany, USA), I am able to teach you a pragmatic and practical approach on these technologies
  • OPCoach is also a Solution Member of the Eclipse Foundation and committer on E4 tools and on platform.ui
  • Since 2009, OPCoach has trained hundreds of professionals (See testimonials in French or in English) working with a large number of clients

Eclipse RCP 4 Course Plan

Eclipse Architecture

  • OSGi Architecture : bundles, fragments, MANIFEST.MF
  • Eclipse Architecture : plugins, fragments, features, RCP, e4
  • Extensions and extension points, plugin.xml file
  • Plug-in development tools : the PDE
  • Presentation of Eclipse 4 architecture (EAP)
  • Eclipse 3.X vs Eclipse 4.X

The application model

  • Content of the application model: parts, commands…
  • The model editor and the model spy
  • Definition of the UI structure
  • The application fragments and processors

Standard Widget Toolkit (SWT)

    • Presentation and comparison with AWT and Swing
    • Simple widgets and containers (Button, Text, Group, …)
    • Advanced widgets : Tree, Table
    • Position management : Layouts et LayoutData
    • Resources management : Font, Color, Images
    • Event management : Events et Listeners
    • Window Builder to design your E4 UI

JFace Library

  • Introduction to JFace
  • Viewers and the MVC pattern
  • Input, Content and LabelProvider
  • Registries : color, font and image management
  • Widgets to help in writing preference pages

Injection and annotations

  • Injection mechanism overview
  • Specific annotations for injection
  • Computed annotations (preference, event)
  • Dynamic instanciation

Injection contexts

  • Context hierarchy
  • Updating contexts
  • Using the context spy to display contexts

Behavior annotations

  • View and editors annotations
  • Command handlers annotations
  • Preferences annotations

Dialogs

  • Preferences management
  • Properties and wizards

E4 Services

  • Model component management
  • Part and selection services
  • Event broker, event management and Event Spy
  • Adapters and loggers
  • Other services

Standard APIs

  • Data binding, drag and drop and copy/paste
  • Jobs and UIJobs
  • Actions, operations and commands, undo/redo
  • Resources and workspace

Look and Feel, CSS

  • Modifying code to manage CSS
  • Writing the CSS, syntax, editor and CSS Spy
  • Binding the CSS in the application

Defining a new extension point

  • Principle, design, definition, schema, parameters
  • Java coding and extensions of an extension point

Industrialization and delivery

  • Feature, product, p2 repository
  • Tests management (core and UI)
  • Manual delivery (for multi platform using delta pack)
  • Introduction to maven tycho

Exercises

  • About fifteen exercises illustrating the concepts on the subject of a rental agency, developed using the latest Eclipse version (Neon 4.6)

icon-pdf-48 Download the course plan