RAP 1.3 M5 - New and Noteworthy
Here are some of the more noteworthy things that are available in the milestone build M5 (February 5th, 2010) which is now available for download.
This list shows all bugs that were fixed during this milestone.
Thanks to the donation of henzler informatik gmbh we were able to acquire additional resources to have the BrowserFunction implemented for M5.
ImageDataand related classes (
ImageLoaderEvent, etc.) are now public API. As a result, the
Image(Device,ImageData)constructor is also available.
The factory methods (Graphics#getImage) are still the recommended way for creating image in RWT. If single-sourcing is desired and the extra memory is justifible, using constructors might be considered.
New API added
Composite#layout( Control, int )
Widget#reskin( int )and
Multi-locale extension registry
The RAP workbench now registers a LocaleProider service that returns the locale based on the RWT locale of the current session.
Please note that you have to add a new system property in order to activate the multi-language support for Equinox:
With these changes the
org.eclipse.rap.equinox.registryfragment is rendered obsolete.
Servlet Filter support
IApplications, you're now able to start a RAP application the same way as it is possible in RCP. This means that you don't need to provide an
<extension id="myapp" point="org.eclipse.core.runtime.applications"> <application visible="true"> <run class="org.eclipse.rap.demo.DemoWorkbench"></run> </application> </extension>As stated in this example, the entrypoint parameter to access the application is equal to the id of the extension. This means the application is available at host:port/rap?startup=myapp. In case you want to refer to your application in the branding extension point (e.g. as default entrypoint), you have to use the fully-qualified name of the extension (e.g. org.eclipse.rap.demobundle.myapp).
IContributionItemand the method
fill(ToolBar parent, int index). To render the items into the UI a
ToolBaris used instead of a
CoolBar. Since 1.3 M2, RAP has a new
ToolBarimplementation which provides more opportunities for theming. This gives you the possibility to style the
ToolBarin a way that fits more with your RAP design.
MenuBar. With RAP 1.3 M5 we have created a whole new
MenubarManagerimplementation to provide a much more flexible menu. Therefore, we use a
ToolBarto provide you a high themable menubar.
The above features are just the ones that are new since the last milestone build. Summaries for earlier builds: