Flowlayout and EditPolicy.LAYOUT_ROLE [message #230728] |
Thu, 15 February 2007 16:12 |
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] |
Sat, 17 February 2007 01:03 |
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
|
|
|
Powered by
FUDForum. Page generated in 0.03716 seconds