rap Tag

Today, the RAP project delivers the final milestone build on the way to RAP 3.0. With this new major release, we clean up deprecated API, include some new components, optimize performance and modernize the framework to make it ready for 2015. With the new support for re-parenting, RAP can now better support the E4 workbench renderer that uses this feature excessively. By removing support for antiquated browser...

Read More

Container Dependency Injection (CDI) allows us to inject one or more components (or services) into a dependent object. Usually it makes the code cleaner, as it separates the creation of the injected objects from the component's own behavior. Recently I've made a simple RAP standalone application to play together with CDI without problems. First, let's create our RAP entry point class: [raw] public class HelloWorld extends AbstractEntryPoint...

Read More

If there is a theme for RAP 3.0, it is to bring the current incarnation of the framework to its fullest potential. On the one hand this meant cleaning up API and code and raising the minimum requirements to take advantage of current HTML5/CSS3 features. For example this allowed us to add clipping support, modern ScrollBars and some other theming enhancements. On the other hand, it...

Read More

When you test components of a RAP application, you have to simulate the environment that RAP UI code normally runs in. Thanks to a new API, this becomes easier in RAP 3.0. In an earlier post, my colleague Johannes explained how to write unit tests for RAP 2.x. This approach required more boilerplate code to set up and tear down the RAP environment in every single...

Read More

The new RAP 3.0 milestone M5 is out and has been available for download since February 6, 2015. Together with several bug fixes, M5 introduces clipping support. Clipping allows you to constrain changes to a selected part of the canvas. Once you select a clipping region, all future drawing operations will be limited to it. The canvas above is filled with rectangles and clipped to a custom...

Read More

Last Friday, 14 November 2014, we published another milestone build for RAP: RAP 3.0 M3. It is available for download from https://www.eclipse.org/rap/downloads/. This milestone is mostly about theming improvements. What's included? Modernized ScrollBars In the default theme, ScrollBars now have a more modern look and feel. They are invisible until they are "activated" by the user, which is when the indicators fade-in to a semi-transparent state. This is achieved...

Read More