Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » FormToolkit#paintBordersFor should be exists for RAP(SingleSourcing with FormToolkit.)
FormToolkit#paintBordersFor should be exists for RAP [message #742388] Thu, 20 October 2011 12:54 Go to next message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi RAP Team,

I think it should be cool if RAP could define FormToolkit#paintBorder(Composite parent) with empty code to manage easily single sourcing. For RAP FormToolkit#paintBorder is not very important but for RCP it's very important to call it instead of you have problems with Text border.

For the moment I have managed that with our SingleSourcingUtils class but the code is not very elegant. I must do that :

SingleSourcingUtils.FormToolkit_paintBordersFor(toolkit, sbody);


instead of :

toolkit.paintBordersFor(sbody);


Regards Angelo

Re: FormToolkit#paintBordersFor should be exists for RAP [message #743312 is a reply to message #742388] Fri, 21 October 2011 10:39 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
On 20.10.2011 14:54, Angelo wrote:
> Hi RAP Team,
>
> I think it should be cool if RAP could define
> FormToolkit#paintBorder(Composite parent) with empty code to manage
> easily single sourcing. For RAP FormToolkit#paintBorder is not very
> important but for RCP it's very important to call it instead of you have
> problems with Text border.
Sure, could you file a bugzilla?

>
> For the moment I have managed that with our
> http://code.google.com/p/xdocreport/source/browse/commons/org.eclipse.rap.singlesourcing/src/org/eclipse/rap/singlesourcing/SingleSourcingUtils.java?repo=eclipse
> class but the code is not very elegant. I must do that :
>
> SingleSourcingUtils.FormToolkit_paintBordersFor(toolkit, sbody);
>
> instead of :
> toolkit.paintBordersFor(sbody);
>
> Regards Angelo
>
>
--
Rüdiger Herrmann

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: FormToolkit#paintBordersFor should be exists for RAP [message #743414 is a reply to message #743312] Fri, 21 October 2011 13:01 Go to previous message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi Rüdiger,

Thank a lot for your answer. Bug is created in 361645

Regards Angelo
Previous Topic:Forcing a window to stay in front
Next Topic:Ignored plugin.xml
Goto Forum:
  


Current Time: Thu Apr 25 16:28:20 GMT 2024

Powered by FUDForum. Page generated in 0.03124 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top