Riena meets Eclipse RAP, goes to Browser

Riena meets Eclipse RAP, goes to Browser

I’ve spend the last few days adjusting the Ridget layer in Riena, to make it work with Eclipse RAP and Eclipse RCP. We call this process “single-sourcing” (EclipseCon tutorial).

Ridgets wrap around standard SWT / RWT controls to provide additional functionality and a better API. One example that you can see below: Ridgets have “markers”, which tag a control as mandatory, wrong or read-only and change the control’s behavior accordingly.

It’s worth mentioning that all three screenshots run from the same code. The only difference is the target environment used (RAP or RCP).

Ridgets in a regular RCP application

Once this work is completed the Ridget API will be usable for RAP applications as well.

To stay informed about this effort:

9 Comments
  • Posted at 8:11 am, February 20, 2010

    this will be really great, because then redView will also get a chance to run under RAP 🙂
    thanks for the great work, Elias.
    Riena rocks !
    ekke

  • christian campo
    Posted at 4:54 pm, February 20, 2010

    Elias, this is terrific work. Glad to have you as a committer in Riena !!!!

  • thomas
    Posted at 3:03 pm, February 22, 2010

    Hi Elias, do you know if Riena Navigation will someday work on RAP ?

  • Elias Volanakis
    Posted at 1:19 am, February 26, 2010

    @thomas: with regard to navigation: you may want to CC yourself on this item:

    [RoR] Investigate Riena Navigation on RAP
    http://bugs.eclipse.org/303388

    It can’t promise anything but – time permitting – I would like to investigate this before EclipseCon.

  • Marc
    Posted at 6:41 pm, March 8, 2010

    Hi Elias, great to know you are working on the RAP integration.
    I am actually writing a new application with RAP and I would like to use RIENA for the workflows. Is there somewhere a RAP-RIENA sample which I could use as starting point?

    Cheers,
    Marc

  • Elias Volanakis
    Posted at 7:17 pm, March 10, 2010

    @Marc: There will be a sample and a “Getting started with Riena on RAP” page on the wiki next week, once both RAP and Riena have released their M6 milestones. I’ll add the link here.

  • Marc
    Posted at 10:47 pm, March 27, 2010

    Hi Elias,

    thank you for posting an example at http://wiki.eclipse.org/Riena_on_RAP.

    I am really looking forward to see more Riena-RAP features 😉

    Great work!
    Marc

  • sparkwan
    Posted at 5:31 pm, June 30, 2010

    Elias,
    Can you provide some examples for this?
    Helios was released just a few days ago.
    When will you update the Eclipse wiki page http://wiki.eclipse.org/Riena_on_RAP.?

  • Posted at 8:30 pm, June 30, 2010

    Hi sparkwan,

    the instructions on the wiki page are still accurate. I just tried them. Just follow the readme.txt that is linked there to check out the code and set-up your environment.

    Is there something else that you did expect in the instructions?

    Also, please report all bugs you find. As far as I know, I’m the first person experimenting with Riena on RAP, and I need more bug reports to make it stable… 🙂

    Thanks for the help,
    Elias.

    PS: The best place to post Riena questions is the Riena Forum, because more people see them:
    http://www.eclipse.org/forums/index.php?t=thread&frm_id=35&