Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Flowlayout and EditPolicy.LAYOUT_ROLE
Flowlayout and EditPolicy.LAYOUT_ROLE [message #230728] Thu, 15 February 2007 11:12 Go to next message
Eclipse User
Originally posted by: daniel-p.gmx.de

Hi everybody,

i have a problem with the Flowlayout. I need to stack figures in a parent
figure. So I set the parent figures layout to FlowLayout. But now I need
to be able to resize stacked figures using selection handles. Does there
any policy exist with which i can catch something like a
ChangeBoundsRequest or a ResizeRequest? I tried the XYLayoutEditPolicy,
but of course I don't get any requests, because elements layouted by a
FlowLayout don't have constraints.
Or maybe someone has a better idea how to solve the stack problem.

Thanks in advance,

Dan
Re: Flowlayout and EditPolicy.LAYOUT_ROLE [message #230771 is a reply to message #230728] Fri, 16 February 2007 20:03 Go to previous message
Eclipse User
Originally posted by: none.unknown.com

You can extend FlowLayout to have constraints, and FlowLayoutEditPolicy to
handle all types of requests like XYLayoutEditPolicy.

"Daniel Pech" <daniel-p@gmx.de> wrote in message
news:op.tnssm1ceoyh8ti@ws029c1.iese.fhg.de...
> Hi everybody,
>
> i have a problem with the Flowlayout. I need to stack figures in a parent
> figure. So I set the parent figures layout to FlowLayout. But now I need
> to be able to resize stacked figures using selection handles. Does there
> any policy exist with which i can catch something like a
> ChangeBoundsRequest or a ResizeRequest? I tried the XYLayoutEditPolicy,
> but of course I don't get any requests, because elements layouted by a
> FlowLayout don't have constraints.
> Or maybe someone has a better idea how to solve the stack problem.
>
> Thanks in advance,
>
> Dan
Previous Topic:Why are PaletteEntries disabled?
Next Topic:Sticky Edit Part (GC wont collect)
Goto Forum:
  


Current Time: Fri Aug 29 08:31:29 EDT 2014

Powered by FUDForum. Page generated in 0.02731 seconds