Twitter Logo Follow us on Twitter
Project Information About this project

RAP 1.1 M1 - New and Noteworthy

Here are some of the more noteworthy things available in the milestone build M1 (Januar 7, 2008) which is now available for download.

Common

Eclipse 3.4 The target download is now available for Eclipse 3.3 and 3.4.

RWT

Support for Custom Widget Id's In RWT, each widget has an automatically generated, unique widget id that associates the server-side object with its client-side representation.
In order to use automated UI tests, now the generated id can be overridden programmatically. With code like this:
  Button button = new ...
  button.setData( WidgetUtil.CUSTOM_WIDGET_ID, "org.sample.LoginDialog#okButton" );
      
and the system property org.eclipse.rwt.enableUITests turned on, the button can always be identified by its custom id. The test scenario can remain unchanged even if the UI changes.

See this bug and the JavaDoc for WidgetUtil#CUSTOM_WIDGET_ID and WidgetUtil#ENABLE_UI_TESTS for further information.
  
Browser#execute() The org.eclipse.swt.browser.Browser#execute(String) method was implemented. This method allows to execute a script containing JavaScript commands.

Please read the JavaDoc for further details.