e4 on RAP – Update for Luna M7

Update to Luna M7

We’ve updated the codebase to the upstream Luna M7 bits – remember from the initial post – we had to fork some of the upstream bundles because they contained code we cannot support on RAP. Now the target we provide in our p2-repository matches the upstream codebase.

Bugfixes / Features

It looks like some of you have experimented with your e4 applications and getting them to run on RAP so you discovered some problems or requested missing features.

One of the requested features was to show a Login-Dialog.

In e4 RCP applications one uses @PostContextCreate and of the user cancels the login-process the currently advised way is to call System.exit() – nothing you really want to do in a server-env like RAP.

So we allow you to write code like this:


public class LoginLifcecycle {
@PostContextCreate
public boolean login(Display d) {
// ...
if( ) {
return true;
}
return false;
}
}

If you are interested to run your application on RAP – you can find the relevant information at https://wiki.eclipse.org/RAP/E4.

2 Responses to “e4 on RAP – Update for Luna M7”

  1. Reto Urfer says:

    Hi

    does the RAP e4 port only support pure e4 applications or is also possible to run e3 RAP application with the compatibility layer on RAP e4 (like it is possible for RCP)?

    regards
    Reto

  2. Tom Schindl says:

    No we are not supporting the compat layer – only pure e4 applications are supported – we currently don’t see any need to support the compat layer because you are anyways running against the old API and don’t get any new features

2 responses so far

Written by . Published in Categories: Planet Eclipse