Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [SOLVED] GridLayout from SWT to GEF
[SOLVED] GridLayout from SWT to GEF [message #814400] Tue, 06 March 2012 11:57
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
Hi!
i've been fighting with GEF GridLayout for hours now. and failed.
i tried to do the exactly same stuff in SWT with GridLayout and finished successfully within a few minutes.

so then i tried to take my working swt code and transformed this in gef code.
which is pretty simple - but still it does not work (at all)

i created a simple runnable example for both of it (swt 3 classes and gef 4 classes as i have a wrapper for it (lws on canvas))

each of those examples is about 200 lines of code. (very very small)

if anyone is willed to help

if someone could point me to my mistake... would be great!

thanks in advance!

UPDATE: i found my dumb mistake:
lws.setContents(getRootFigure());

the best code does not work without this one...

[Updated on: Wed, 14 March 2012 20:02]

Report message to a moderator

Previous Topic:How to start with GEF and EMF transactions
Next Topic:Who is the Project Lead the GEF?
Goto Forum:
  


Current Time: Tue Mar 19 02:05:34 GMT 2024

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

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

Back to the top