Twitter Logo Follow us on Twitter
Project Information About this project

RAP 2.0 M1 - New and Noteworthy

Here's a list of the most noteworthy things in the RAP 2.0 M1 milestone build which is available for download since August 24, 2012.

API Changes

With the move to RAP 2.0, we are cleaning up our APIs. This will lead to breaking changes. Existing RAP 1.x applications will therefore need minor adjustments to work with RAP 2.0. See the RAP 2.0 Migration Guide for instructions on updating your code to RAP 2.0.

Package org.eclipse.rwt renamed

We renamed this package to org.eclipse.rap.rwt in order to comply with Eclipse naming convention that packages should be prefixed with the project that creates it.

Constant WidgetUtil.CUSTOM_VARIANT moved

This constant has been moved to the class RWT.

Deprecated public classes and methods removed

With the new JSON-based protocol in place the old deprecated classes and methods for rendering JavaScript are now obsolete. JSWrite, JSVar, JSListenerType and JSListenerInfo classes have been removed together with the corresponding methods in WidgetLCAUtil and ControlLCAUtil.

Widget Set

Touch-Scrolling for Tree and Table

Tree and Table widgets can now be scrolled on mobile devices (iOS and Android) by dragging a row with one finger. However, Tree and Table are designed to scroll item-by-item, not smooth as the List.

SWT.ICON_SEARCH and SWT.ICON_CANCEL support for Text widget

The Text widget has now full support for SWT.ICON_SEARCH and SWT.ICON_CANCEL style flags.

Theming enhancements

The themeablity of some widgets has been improved. The following properties and states have been added:

  • box-shadow property for DateTime
  • hover state and text-decoration property for List-Hyperlink
  • text-decoration property for Button
  • disabled state for Combo-Button-Icon

Tools

RAP Launcher always terminates previous launch

The RAP launcher has an option to terminate an already running application before starting a new one. This turned out to be a valuable feature, particularly when working with fixed ports. We couldn't find a good reason to ever disable this functionality, so we decided to remove the option from the launcher while keeping the default behavior.

Bugfixes

This list shows all bugs that have been fixed for this milestone build.

Previous Builds

The above features are just the ones that are new since the last milestone build. Summaries for earlier builds:

RAP 2.0 Migration Guide

After 6+ years of development in the 1.x stream, we're cleaned up some API in RAP 2.0. To assist you with the migration from 1.x to 2.0, we maintain a migration guide.