Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GridLayout manager
GridLayout manager [message #153216] Thu, 07 October 2004 06:37 Go to next message
Eclipse UserFriend
Originally posted by: mschuhma.ftisoft.at

Hi all,

I want to build an editor for XML files that describe screen layouts.
In order to lay out the various controls I would need something like the SWT
GridLayout so that I can set a number of columns and the figures children
are layed out accordingly.

I searched the javadoc but couldn't find an appropriate class.
Does anybody know of one - or can anybody give me some hints of how I could
implement such a class?

Thanks in advance!
Re: GridLayout manager [message #153307 is a reply to message #153216] Thu, 07 October 2004 16:05 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Somebody wrote a GridLayout for Draw2d.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=71684

It hasn't been tested or verified by the GEF team yet, so use at your own
risk. If you find any problems, please post on this bugzilla.

"Martin Schuhmayer" <mschuhma@ftisoft.at> wrote in message
news:ck2ntt$2t1$1@eclipse.org...
> Hi all,
>
> I want to build an editor for XML files that describe screen layouts.
> In order to lay out the various controls I would need something like the
SWT
> GridLayout so that I can set a number of columns and the figures children
> are layed out accordingly.
>
> I searched the javadoc but couldn't find an appropriate class.
> Does anybody know of one - or can anybody give me some hints of how I
could
> implement such a class?
>
> Thanks in advance!
>
>
Re: GridLayout manager [message #153574 is a reply to message #153307] Mon, 11 October 2004 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mschuhma.ftisoft.at

Thanks a lot!

This is exactly what I needed. In fact I already found a bug related to
figures with borders and posted it to the existing bugzilla entry.

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:ck3p7o$8nv$1@eclipse.org...
> Somebody wrote a GridLayout for Draw2d.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=71684
>
> It hasn't been tested or verified by the GEF team yet, so use at your own
> risk. If you find any problems, please post on this bugzilla.
>
> "Martin Schuhmayer" <mschuhma@ftisoft.at> wrote in message
> news:ck2ntt$2t1$1@eclipse.org...
> > Hi all,
> >
> > I want to build an editor for XML files that describe screen layouts.
> > In order to lay out the various controls I would need something like the
> SWT
> > GridLayout so that I can set a number of columns and the figures
children
> > are layed out accordingly.
> >
> > I searched the javadoc but couldn't find an appropriate class.
> > Does anybody know of one - or can anybody give me some hints of how I
> could
> > implement such a class?
> >
> > Thanks in advance!
> >
> >
>
>
Re: GridLayout manager [message #153587 is a reply to message #153574] Mon, 11 October 2004 14:31 Go to previous message
Asim Ullah is currently offline Asim UllahFriend
Messages: 24
Registered: July 2009
Junior Member
It's nice that you're finding some good use for the layout.
If you find any more bugs please let me know via the bugzilla entry.

I'll wait for a bit before rolling another zip file. I'd like to
include any other bug fixes that people find.

There may also be issues with the sizing in the area of trim, with
respect to scrollbars (ie scrollpane). I commented out the code
that did the sizing for this and haven't revisited it. Feel
free if you wish to experiment.

Martin Schuhmayer wrote:

> Thanks a lot!

> This is exactly what I needed. In fact I already found a bug related to
> figures with borders and posted it to the existing bugzilla entry.

> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:ck3p7o$8nv$1@eclipse.org...
> > Somebody wrote a GridLayout for Draw2d.
> >
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=71684
> >
> > It hasn't been tested or verified by the GEF team yet, so use at your own
> > risk. If you find any problems, please post on this bugzilla.
> >
> > "Martin Schuhmayer" <mschuhma@ftisoft.at> wrote in message
> > news:ck2ntt$2t1$1@eclipse.org...
> > > Hi all,
> > >
> > > I want to build an editor for XML files that describe screen layouts.
> > > In order to lay out the various controls I would need something like the
> > SWT
> > > GridLayout so that I can set a number of columns and the figures
> children
> > > are layed out accordingly.
> > >
> > > I searched the javadoc but couldn't find an appropriate class.
> > > Does anybody know of one - or can anybody give me some hints of how I
> > could
> > > implement such a class?
> > >
> > > Thanks in advance!
> > >
> > >
> >
> >
Previous Topic:mouse doubleclick for editpart
Next Topic:mousePressed but not mouseDoubleClicked
Goto Forum:
  


Current Time: Sat Sep 21 23:25:40 GMT 2024

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

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

Back to the top