RAP 1.3 M1 - New and Noteworthy

Here are some of the more noteworthy things that are available in the milestone build M1 (August 21st 2009) which is now available for download.

This list shows all bugs that were fixed during this milestone.

RWT

CSS Gradients and Rounded Borders The RAP theming now supports gradients and rounded borders for many widgets. Both features are implemented using vector graphics (SVG/VML) on the client-side. Of course, this works with all browsers supported by RAP.

For gradients we followed the CSS syntax implemented by Safari, as there is no official CSS syntax around. Beside a start color and an end color, you can also define any number of intermediate steps. Currently, only vertical linear gradients are supported.
  background-image: gradient(
    linear, left top, left bottom,
    from( #ffffff ),
    color-stop( 48%, #f0f0f0 ),
    color-stop( 52%, #e0e0e0 ),
    to( #cccccc )
  );
        
For rounded borders, we followed the approach outlined in the CSS Backgrounds and Borders Module. You can set rounded borders using the border-radius property, even a different radius for every corner is possible.
  border: 2px solid #005092;
  border-radius: 6px;
        
New API added This will make it easier for the community to reuse existing code or to utilize new features. Here is a list of API methods added in this milestone:
  • ActionFactory#RESET_PERSPECTIVE
  • Combo#getSelection() and Combo#setTextLimit()
  • Composite#setLayoutDeferred( boolean )
  • CTabFolder#setUnselectedImageVisible( boolean ) and CTabFolder#setSelectionBackground( Color[],int[] )
  • Display#getSystemCursor( int )
  • List#getTopIndex and List#setTopIndex
  • List#showSelection()
  • ProgressBar#setState()
  • Shell#setModified( boolean )
  • Spinner#getText(), Spinner#getTextLimit() and Spinner#setTextLimit( int )
  • SWT.TOOL style flag for Shell
  • ToolBar#getItem( Point )
  • Widget#getListeners( int ) and Widget#isListening( int )
Help Events It is now possible to attach help listeners to controls and menus. These events are generated when help is requested for a control or menu, typically when the user presses F1.

JFace / Workbench

Cheatsheet support With the support of the FormText widget we now provide an implementation of the cheatsheets plugin known from RCP. With this it's possible to provide step-by-step cheatsheets with direct integration of the application itself.

See the Eclipse help for more informations about cheatsheets and how to use them.