Twitter Logo Follow us on Twitter
Project Information About this project

RAP 2.2 M2 - New and Noteworthy

Here's a list of the most noteworthy things in the RAP 2.2 M2 milestone build which is available for download since October 04, 2013.

Widget Set

FileUpload supports Multiple File Selection

The FileUpload widget from the RAP Incubator project now allows selecting and uploading multiple files at once in HTML5 enabled browsers. To enable this feature, create the widget with the SWT.MULTI style flag like this:

  FileUpload fileUpload = new FileUpload( parent, SWT.MULTI );
  

To obtain the filenames from the widget the method getFileNames has been introduced. The method getFileName (singular) also still exists and will return the first selected file.

Browsers (such as Internet Explorer 8) that do not support this feature will simply ignore the MULTI flag.

Revised ToolTip Behavior

  • ToolTips generated by the setToolTipText method will now appear faster. The exact time until the ToolTip appears depends on the widget (they appear faster on Button-like widgets).
  • ToolTips will no longer disappear automatically after a timeout. The exact coditions for them to disappear depend on the widget, but they will always disappear when the mouse is moved away from the widget or when a key is pressed.
  • Appear and disappear animations may be skipped in some situations.
  • ToolTips for buttons, items and fields will be placed above/below (in some cases besides) the widget, not over it.

Theming

Revised and Extended ToolTip Theming

ToolTips have a new black look in the default theme.

A new theming element has been introduced: Widget-ToolTip-Pointer. The element has a single property "background-image" and four states: "up", "down", "left", "right". If set, the image may be attached on the ToolTip to point towards the widget it describes. The states are set depending on which direction the ToolTip is supposed to point. The image should match the background and/or border color of the ToolTip theming. A full set of four images would be defined like this:

Widget-ToolTip-Pointer {
  background-image: none;
}

Widget-ToolTip-Pointer:up {
  background-image : url( tooltip-up.png );
}

Widget-ToolTip-Pointer:down {
  background-image : url( tooltip-down.png );
}

Widget-ToolTip-Pointer:left {
  background-image : url( tooltip-left.png );
}

Widget-ToolTip-Pointer:right {
  background-image : url( tooltip-right.png );
}

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: