Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » LayoutManager + LayoutEditPolicy
LayoutManager + LayoutEditPolicy [message #152103] Mon, 27 September 2004 14:45 Go to next message
Bernd Kolb is currently offline Bernd KolbFriend
Messages: 57
Registered: July 2009
Member
Hi,

I want to decorate(place/layout) the child figures in the container figure
in a certain manner
I want to know what code goes into LayoutManager and what goes in
LayoutEditPolicy.
The algorithm for determining the size and location goes in the layout
manager..
Can I just use an XYLayoutEditPolicy and.. in the layoutmanager keep my
specific
code to placve the figures in a certain manner.

PS: i want to dock the child figures in parent figure
(top/left/right/bottom)

I would also like to change the docking on the fly by dragging the child
figure inside the parent
etc.
Re: LayoutManager + LayoutEditPolicy [message #153156 is a reply to message #152103] Wed, 06 October 2004 18:30 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Bernd Kolb" <b.kolb@kolbware.de> wrote in message
news:cj98pn$uao$1@eclipse.org...
> Hi,
>
> I want to decorate(place/layout) the child figures in the container figure
> in a certain manner
> I want to know what code goes into LayoutManager and what goes in
> LayoutEditPolicy.
> The algorithm for determining the size and location goes in the layout
> manager..
> Can I just use an XYLayoutEditPolicy and.. in the layoutmanager keep my
> specific
> code to placve the figures in a certain manner.

Certainly. The layout manager shouldn't be determining what the correct
docking position is and such. It should just provide a method that a client
can use to specify the dock location.

>
> PS: i want to dock the child figures in parent figure
> (top/left/right/bottom)
>
> I would also like to change the docking on the fly by dragging the child
> figure inside the parent
> etc.
>
>
Previous Topic:Mixing edit parts in JFace/SWT tables
Next Topic:plugins copied into plugin folder of windows m/c not responding.
Goto Forum:
  


Current Time: Thu Jan 16 03:27:35 GMT 2025

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

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

Back to the top