Eclipse Yoxos Services Downloads Blogs About
Home > Blogs >

on Mar 4th, 2009Eclipse 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!
composite table Eclipse Riena 1.1.0 M5 shipped

CompositeTableRidget

 
ICompositeTableRidget ridget;
WritableList input = new WritableList(PersonFactory.createPersonList(), Person.class);
ridget.bindToModel(input, Person.class, RowRidget.class);

 (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 Eclipse Riena 1.1.0 M5 shipped

Master Details Ridget

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

table ridget formatter Eclipse Riena 1.1.0 M5 shipped

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);

(full snippet)  

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

Kind regards,
Elias.

Related posts:

2 Responses to “Eclipse Riena 1.1.0 M5 shipped”

  1. Jochen says:

    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

  2. Elias says:

    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.

    Elias.

© EclipseSource 2008 - 2011