RAP 1.2 M5 released
Today the RAP-Team released the 5th milestone build (RAP 1.2 M5) of their Rich Ajax Platform.
So what’s new? I give you a short overview of the changed/added features.
If you want to see all the changes of the new milestone release, you should possibly visit the “New and Noteworthy” page [1].
Common
com.ibm.icu.base
RAP now uses the Replacement Plug-in com.ibm.icu.base [2] (about 100 KB in size), which reduces the overall size of the target platform by almost 3 MB.
RWT
ColorDialog
As seen in SWT is now available for RWT in RAP. You can choose a color and get the RGB values.
ColorDialog dialog = new ColorDialog(shell); RGB result = dialog.open();
Button widget
The button widget has been reworked.
custom implementations for check boxes and radio buttons.
Button#setGrayed() is implemented for check box behavior as in SWT.
Hover for both radio and check buttons.
Theming (check and radio icons) for the default, selected, hover and grayed (only check box) state.
Button-RadioIcon {
background-image: url( radio-unselected.png );
}
Button-CheckIcon:selected:grayed {
background-image: url( check-grayed.png );
}
Button#setImage() now works as in SWT.
Themeable System Images
It is now possible to customize the system images used for SWT MessageBox and JFace MessageDialog via theming. You can also receive these images from Display#getSystemImage().
Display {
rwt-error-image: url (error.png);
rwt-information-image: url (information.png);
rwt-warning-image: url (information.png);
rwt-question-image: url (question.png);
rwt-warning-image: url (warning.png);
}












