Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » WindowBuilder / SWT Designer not fully compatible("paintBordersFor" not existing in RAP)
WindowBuilder / SWT Designer not fully compatible [message #1220026] Mon, 09 December 2013 08:55 Go to next message
Phil Wim is currently offline Phil WimFriend
Messages: 62
Registered: October 2013
Member
Hi there,

i tried to use the windowbuilder extension to create rap gui elements. For some controls it works. For some it does not. The stack trace says: The method paintBordersFor(Composite) is undefined for the type FormToolkit. Is there a common work around?

Thanks in advanced...

Philippe
Re: WindowBuilder / SWT Designer not fully compatible [message #1220034 is a reply to message #1220026] Mon, 09 December 2013 09:06 Go to previous messageGo to next message
Phil Wim is currently offline Phil WimFriend
Messages: 62
Registered: October 2013
Member
Sorry, haven't check preferences. Preferences > WindowBuilder > SWT > Forms API > uncheck "Generate paintFor..."
Re: WindowBuilder / SWT Designer not fully compatible [message #1220037 is a reply to message #1220026] Mon, 09 December 2013 09:24 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1291
Registered: July 2009
Senior Member

Hi Philippe,

I assume you create code with WindowBuilder that works in RCP but does
not work in RAP? Could you please open a bug with a snippet?

You might also consider designing your UI without using the Forms
toolkit. This library has been developed 7 years ago "to achieve a
web-like feel inside your desktop applications". It's implemented in RAP
to support existing RCP applications, but it's not the first choice for
creating new RAP UIs.

Best regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: WindowBuilder / SWT Designer not fully compatible [message #1220039 is a reply to message #1220037] Mon, 09 December 2013 09:40 Go to previous messageGo to next message
Phil Wim is currently offline Phil WimFriend
Messages: 62
Registered: October 2013
Member
Hi Ralf,

thanks for your quick reply. Yes that's my goal.

However, I actually posted my issue to fast. I did not check preferences first.

About your suggestion not using forms toolkit. Do you mean by that unchecking those two options under Preferences > WindowBuilder > ... Forms API?
Re: WindowBuilder / SWT Designer not fully compatible [message #1220195 is a reply to message #1220039] Tue, 10 December 2013 10:32 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1291
Registered: July 2009
Senior Member

I think these options only control some details of the generated Forms
code. My suggestion was simply not to use the widgets from the "Forms
API" tab if you can do without them.

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Secure whole application
Next Topic:Visualizing a graph in RAP
Goto Forum:
  


Current Time: Sun Nov 23 03:58:25 GMT 2014

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

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