RAP 3.1 M4 is here

December 22, 2015 | 2 min Read

This is a quick look at the new features in RAP 3.1 M4, which has been available for download since last week.

Transformation Support for Canvas

The Canvas’ GraphicsContext now implements the setTransform method:

Transform transform = new Transform( display );
gc.setTransform( transform );
gc.setBackground( display.getSystemColor( SWT.COLOR_BLACK ) );
gc.fillRectangle( 0, 0, 100, 50 );

transform.rotate( 10 );
gc.setTransform( transform );
gc.setBackground( display.getSystemColor( SWT.COLOR_RED ) );
gc.fillRectangle( 0, 0, 100, 50 );

transform.rotate( 10 );
gc.setTransform( transform );
gc.setBackground( display.getSystemColor( SWT.COLOR_YELLOW ) );
gc.fillRectangle( 0, 0, 100, 50 );

Transformation support became possible as a consequence of dropping support for older IE versions in RAP 3.0 earlier this year.

Column Span Support for Nebula Grid

GridItem now implements the setColumnSpan method. You will notice that by default we’ve made the Grid look more like a spreadsheet to work best with this feature. Also, Grid is now separately themeable as it no longer shares the theme with Tree.

Selection Theming update

As shown above, the selected item in Grid is now highlighted with semi-transparent light blue. We think this goes much better with the new Nebula Grid look. The same default theming also applies to Tree, Table, List, Combo, CCombo and DropDown, that is, to all Table/List-based Widgets.

For more details and to find out what bugs were fixed in this milestone, check out the New & Noteworthy.

The next milestone is planned for February 5, 2016, and 3.1 will be part of the June 2016 Neon Simultaneous Release. Stay tuned on Twitter, Facebook and Google+ to get first word of the new arrivals!

Ivan Furnadjiev

Ivan Furnadjiev

RAP Project Lead at EclipseSource