Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Painting order of figure and its children
Painting order of figure and its children [message #149613] Wed, 01 September 2004 16:10 Go to next message
Bernd Kolb is currently offline Bernd KolbFriend
Messages: 57
Registered: July 2009
Member
Hi All,

I have a figureA for an editpartA
the figureA contains a label added to it as a child.

At runtime when an editpartB (child) is added to the editpartA
gef adds the figure of child edit part i.e. figureB to figure of parent
edit part i.e. figureA

so now i have 2 children in figureA

first is a label.... and the second one is the figureB

usually i would expect the figure added last to be on top of all. but Its
not like that
the label in figureA is over the figureB.

Any suggestions? i want to draw figureB over the label in figureA.

Should i manually chage the order of child figures in figureA... i.e. move
the label to the end of children list?


Best Regards,
Re: Painting order of figure and its children [message #149658 is a reply to message #149613] Wed, 01 September 2004 20:49 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See the post right before yours.

"Bernd Kolb" <b.kolb@kolbware.de> wrote in message
news:ch4s35$kt$1@eclipse.org...
> Hi All,
>
> I have a figureA for an editpartA
> the figureA contains a label added to it as a child.
>
> At runtime when an editpartB (child) is added to the editpartA
> gef adds the figure of child edit part i.e. figureB to figure of parent
> edit part i.e. figureA
>
> so now i have 2 children in figureA
>
> first is a label.... and the second one is the figureB
>
> usually i would expect the figure added last to be on top of all. but Its
> not like that
> the label in figureA is over the figureB.
>
> Any suggestions? i want to draw figureB over the label in figureA.
>
> Should i manually chage the order of child figures in figureA... i.e. move
> the label to the end of children list?
>
>
> Best Regards,
>
>
>
Previous Topic:Tutorials of GEF with examples
Next Topic:notification and refreshVisuals
Goto Forum:
  


Current Time: Thu Apr 25 15:59:44 GMT 2024

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

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

Back to the top