Eclipse Riena 1.1.0 M5 shipped

Eclipse Riena 1.1.0 M5 shipped

Riena 1.1.0 Milestone 5 shipped today (download). 

Since the 1.0 release a month ago we Riena committers have been busy with several new features:  

  • Riena is now based on Eclipse 3.5 and joined the Galileo Release Train.
  • The Look-and-Feel subsystem can now apply settings to ViewParts as well. To enable this behavior you need to set the system property ‘riena.lnf.update.view’ to ‘true’. By they way, the LnF subsystem provides means to automatically invoke setters on each widget and/or attach renderers (=painting) to them. More info about LnF on the wiki.
  • The CompositeTableRidget allows creating tables with several ridgets in each row. It’s based on the CompositeTable widget from the Nebula project. Thanks Nebula – this rocks!


[code lang=”java”] 
ICompositeTableRidget ridget;
WritableList input = new WritableList(PersonFactory.createPersonList(), Person.class);
ridget.bindToModel(input, Person.class, RowRidget.class);
[/code] (full snippet

  • The MasterDetailsRidget automatically binds the selected row of a table to an details area. A prototype is available in M5. Work will continue in M6.
Master Details Ridget

Master Details Ridget

  • The ColumnFormatter for TableRidgets allows adjusting the text, icon, color and font of each column.


[code lang=”java”]
tableRidget.setColumnFormatter(1, new DateColumnFormatter(“MM/dd/yyyy”) { //$NON-NLS-1$
  protected Date getDate(Object element) {
     return ((Holiday) element).getDate();
tableRidget.bindToModel(new WritableList(createInput(), Holiday.class), Holiday.class, columnPropertyNames, columnHeaders);
[/code](full snippet)  

You’ll find more details in the New & Noteworthy.

Kind regards,

  • Jochen
    Posted at 20:48, 2009-03-08

    This looks interesting. I spent a couple of hours to get this working on RAP, and some of it already is 😉 . E.g. the ColumnFormatter for the TableRidget.

    I could not find a snippet demonstrating the Master / Detail View, that does not seem to be in CVS?

    Could you provide that snippet?

    Cheers, Jochen

  • Elias
    Posted at 17:24, 2009-03-09

    The Master / Detail ridget is still work in progress. There is no snippet yet, but you can look at MasterDetailsSubModuleController and MasterDetailsSubModuleView. That’s the example used for the screenshot.