Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [newbie] Complex Template
[newbie] Complex Template [message #242832] Fri, 09 May 2008 13:39 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:org.osgi.framework.BundleException: in an GEF example
Next Topic:[Announce] GEF 3.4.0 I200805121830 is available
Goto Forum:
  


Current Time: Thu Nov 14 11:16:48 GMT 2024

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

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

Back to the top