Eclipse 3.6 - New and Noteworthy in SWT

Milestone M1


Icon support for GTK Text widgets The text widget can now display the search and cancel icons inside the widget. This runs on Linux platforms with a GTK version of 2.16 or greater.

Icon support


Milestone M2


Mozilla Browser Support on Solaris SPARC Mozilla browser support has been added for the Solaris SPARC platform (Solaris 10, GTK+).

Browser.close() API Browser.close() is used to close a Browser, but allows the close to be cancelled by an onbeforeunload handler. See Snippet 326.

Browser close


Multipage TIFF image Support for loading multipage TIFF images is now available.

Key event for F16-F20 Added new constants for key events from F16 to F20.

DND.FEEDBACK_INSERT_BEFORE and DND.FEEDBACK_INSERT_AFTER for Table The default drop target effect for Table now supports DND.FEEDBACK_INSERT_BEFORE and DND.FEEDBACK_INSERT_AFTER.

desc


Horizontal Mouse Wheel Added new event for horizontal mouse wheel. See SWT#MouseHorizontalWheel and SWT#MouseVerticalWheel.

StyledText: variable tab stops New API in StyledText allows the application to specify a non-uniform sequence of tab stops. See Snippet 325.

desc


Milestone M3


StyledText: per line variable tab stops Improved current support to allow each line to have its own sequence of tab stops.

Icon support


CLabel set/get margins New API has been added to CLabel to set and get the left, top, right and bottom margin spacing.

Key location A new field has been added to key event to allow the application to identify which key originated the event. See Event.keyLocation.

New API in Scrollbar New methods have been added to Scrollbar to return the bounds for the thumb and its track. See ScrollBar.getThumbBounds() and ScrollBar.getThumbTrackBounds().

State mask for Selection events The stateMask is now set in Selection and DefaultSelection events for all native controls.

Orientation event A new event has been added to Text, Combo, and StyledText. It is sent when the writing direction is changed via keyboard shortcut. See SWT.OrientationChanged

Browser.setUrl() can specify post data and headers New Browser API setUrl(String url, String postData, String[] headers) allows clients to include post data and add/override header values when initiating HTTP requests. See Snippet 330.