Skip to main content


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 16:12 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Apr 26 07:15:38 GMT 2024

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

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

Back to the top