Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GridLayout for GEF editor?
GridLayout for GEF editor? [message #181126] Thu, 12 May 2005 20:50 Go to next message
Eclipse UserFriend
Originally posted by: tom_edwards.gmx.net

Hi!
In my project I implement a GEF editor which allows to edit GUI masks
graphically. Now I would like to know if there is already a draw2d
gridlayout (similar to the swt layout) that could be used in a GEF editor?
thanks, Tom
Re: GridLayout for GEF editor? [message #181177 is a reply to message #181126] Fri, 13 May 2005 02:31 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Caveat Emptor: https://bugs.eclipse.org/bugs/show_bug.cgi?id=71684

"Tom Edwards" <tom_edwards@gmx.net> wrote in message
news:dcbff3bc70dda1f76a9748cce5ddb9e2$1@www.eclipse.org...
> Hi!
> In my project I implement a GEF editor which allows to edit GUI masks
> graphically. Now I would like to know if there is already a draw2d
> gridlayout (similar to the swt layout) that could be used in a GEF editor?
> thanks, Tom
>
Re: GridLayout for GEF editor? [message #181297 is a reply to message #181177] Fri, 13 May 2005 15:10 Go to previous message
Eclipse UserFriend
Originally posted by: a.morgan.pilz.ie

Hey Guys,



I used the GridLayout code that Pratik's link contained and it works well.

However I am wondering if there is something more powerful I can use,
something akin to the GridBagLayout from Swing perhaps.

I have attached a quick drawing of the kind of layout I need.

There are Nodes (boxes) and connections.

In the main Nodes are laid out one under the other...like a single column in
GridLayout.

However you can also have parallel Nodes

(see 2nd Node down and its parallel Node)



In this case I would have 2 columns but in column 2 rows 1 and 3 are empty.



So users might have 15 nodes all in 1 column but decide to add a parallel
Node to the fifth Node for example .

This means 2 columns and 14 empty cells in column 2.



Can GridLayout do this efficiently and dynamically ?

If not is there another type of layout that can help me ?



Thanks,

Alan.









"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d61426$qes$1@news.eclipse.org...
> Caveat Emptor: https://bugs.eclipse.org/bugs/show_bug.cgi?id=71684
>
> "Tom Edwards" <tom_edwards@gmx.net> wrote in message
> news:dcbff3bc70dda1f76a9748cce5ddb9e2$1@www.eclipse.org...
> > Hi!
> > In my project I implement a GEF editor which allows to edit GUI masks
> > graphically. Now I would like to know if there is already a draw2d
> > gridlayout (similar to the swt layout) that could be used in a GEF
editor?
> > thanks, Tom
> >
>
>


  • Attachment: Layout.ppt
    (Size: 9.00KB, Downloaded 126 times)
Previous Topic:ToolbarLayout Problem
Next Topic:Toolbar only visible while dragging
Goto Forum:
  


Current Time: Fri Apr 26 18:48:36 GMT 2024

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

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

Back to the top