[newbie] Complex Template [message #242832] |
Fri, 09 May 2008 13:39 |
Eclipse User |
|
|
|
Originally posted by: bassman.gmx.at
Hello,
after reading some of the basic literature I try to build my first Editor. But I got stuck.
I want s.t. like this:
|----------|----------|
| | |
|----------|----------|
| |
|---------------------|
An element that contains 3 rectangles. The width of the bottom-rect is the sum of the top-ones. And I want to be able to resize the rectangles (vie properties or mouse). I have some other objects, wich I want to drop in the rectangles (just one per rect).
I don't have an idea, how to do this...
Thanks in advance,
Georg
|
|
|
Re: [newbie] Complex Template [message #242868 is a reply to message #242832] |
Mon, 12 May 2008 09:34 |
Eclipse User |
|
|
|
Originally posted by: michael.remove-this-bit.overuse.org
Probably a good place to start would be the GridLayout class:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. draw2d.doc.isv/reference/api/org/eclipse/draw2d/GridLayout.h tml
Georg Hansen wrote:
> Hello,
>
> after reading some of the basic literature I try to build my first Editor. But I got stuck.
>
> I want s.t. like this:
>
> |----------|----------|
> | | |
> |----------|----------|
> | |
> |---------------------|
>
> An element that contains 3 rectangles. The width of the bottom-rect is the sum of the top-ones. And I want to be able to resize the rectangles (vie properties or mouse). I have some other objects, wich I want to drop in the rectangles (just one per rect).
>
> I don't have an idea, how to do this...
>
> Thanks in advance,
> Georg
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03554 seconds