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: 370
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: Thu Dec 18 05:40:41 GMT 2014

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

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