Is there future support for swt addPaintListener() and gef? [message #650705] |
Wed, 26 January 2011 03:33  |
Eclipse User |
|
|
|
Sorry if this has been posted before, I couldn't find the proper search for the RAP forum (searches in all forums)
Anyways I tried out the 1.4M releases. I noticed when converting over my projects the addPaintListener() on swt has not been implemented, is there any plans for this?
Also I know there are some bug enhancements to support GEF and draw2d. Any plans on when this will be supported as well?
I've already looked at the 1.4 release plan and didn't find anything regarding the above items. Hopefully someone can point to me a link of where future enhancement requests are and their status.
Nick
[Updated on: Wed, 26 January 2011 04:08] by Moderator
|
|
|
|
|
Re: Is there future support for swt addPaintListener() and gef? [message #650968 is a reply to message #650905] |
Thu, 27 January 2011 05:38  |
Eclipse User |
|
|
|
On 27.01.2011 07:37, Nick Chiu wrote:
> Oh i c, so usually my rcp adds a paintListener to the swt widget to
> style on certain events, ie. drawing red boxes around textfields for
> errors or painting custom borders. But in rap this should be converted
> to use CSS themes instead.
Right, for drawing red boxes and the likes you are better off using CSS
theming in RAP.
Alternatively you may resort to JFace ControlDecorations that are also
supported by RAP.
>
> I haven't looked much into the CSS themes, although i gather it should
> be simple to add particular CSS styles to an arbitrary swt widget.
See here for further information on theming:
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. rap.help/help/html/intro.html
Advanced Topics -> RWT Theming and Reference -> RAP Theming Reference
|
|
|
Powered by
FUDForum. Page generated in 0.02916 seconds