Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361645

Summary: [Forms] FormToolkit#paintBordersFor is missing
Product: [RT] RAP Reporter: Angelo ZERR <azerr>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: azerr, i.schroeder, kristoffer, wim.jongman
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Angelo ZERR CLA 2011-10-21 08:59:46 EDT
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 otherwise you will have problems with Text border.

Regards Angelo
Comment 1 Kristoffer Peterhänsel CLA 2011-11-09 09:26:45 EST
This actually appears to be quite a problem with WindowBuilder 1.1.0. Every time I try to modify something form related. I end with WindowBuilder failing due to it trying to call this method.
Comment 2 Wim Jongman CLA 2012-08-27 11:25:47 EDT
This is causing problems for us as well. I can imagine why it will not be implemented but what could be a workaround? 

Maybe delegate to your own toolkit and use reflection / exception handling to catch the missing method?