Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsFlowlayout and EditPolicy.LAYOUT_ROLE
https://www.eclipse.org/forums/index.php/mv/msg/73818/230728/#msg_230728
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]]>2007-02-15T16:12:27-00:00Re: Flowlayout and EditPolicy.LAYOUT_ROLE
https://www.eclipse.org/forums/index.php/mv/msg/73818/230771/#msg_230771
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]]>2007-02-17T01:03:54-00:00