Skip to main content



      Home
Home » Eclipse Projects » GEF » GridLayout manager
GridLayout manager [message #153216] Thu, 07 October 2004 02: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 12:05 Go to previous messageGo to next message
Eclipse UserFriend
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 07: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 10:31 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 23:50:31 EDT 2025

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

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

Back to the top