Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

E4/RAP Integration/Experimental

Running E4 on RAP

Running the E4 as web application without touching the code? Read on :)


E4 Contacts Demo

Rap e4.png

E4 Photo Demo

Rap e4 photo.png

Set up the target

You need:

  • RAP 1.2 Runtime
  • EMF 2.4.2 Runtime
  • org.eclipse.core.resources
  • org.eclipse.core.filesystem
  • org.eclipse.equinox.ds
  • org.eclipse.equinox.util

Get the source

Use the team project set and import the projects. The psf includes

  • RAP runtime bundles from the e4_experimental branch
  • additional RAP bundles for new features (IApplication support, Nebula, ..)
  • original e4 runtime + demos

As with 0.9 the platform introduced a custom widget (the ETabFolder) you need to apply a small patch to (temporary) work around the current implementation. We're currently investigating a solution so we don't need to patch the code. The patch is called .psf to upload it to the wiki - but it's a regular patch file. Just just the Apply Patch wizard or paste the content into the package explorer.

Run the demos

There are two launch configs included ( you need to have the RAP tooling installed in order to use them):

  • E4 Photo Demo
  • E4 Contacts Demo

RAP e4 experimental branch?

It's a branch for the RAP runtime bundle including several experimental features. Some noteworthy (but still highly experimental) features are:

  • SWT resource constructors
  • PaintListener / PaintEvents / GC
  • Gradient support
  • IApplication and product support

Open issues

As already discussed at the e4 summit and several other appointments there are some big challenges involved when you try to bring a regular application to the web. We already listed several of the big blockers on E4/RAP Integration.

This list only covers some of the more subtle problems (mostly missing API - see also E4/RAP Integration/RWT misses SWT-API).

  • bug 201261 [Display] Listener support on Display (Resize-Listener)
  • bug 228351 Display#disposeExec() missing
  • bug 277689 IApplication support
  • bug 279498 Make ImageData and related graphics API publically available
  • bug 279655 [CTabFolder] setSimple is missing

Back to the top