[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: Paintorder of editparts?
|
> i've a wired problem, which poped up suddenly.
> I ahve a root editpart, which loads a jpeg image
> as a background and adds a border with 20 pixels.
>
> My problem is now that child editparts with postion
> in the jpeg image area aren't shown. But if
> they are located in border i can see them.
>
This sounds pretty strange. Children should not appear on top of borders,
and your image should be behind the children. Are you overriding
paintFigure to paint the background image? It's hard to diagnose the
problem without code or more information. Do you have just one level of
container? (diagram + children)?
> Anyone an ides what that could be, i would gues
> it has to do something with the paint order of
> editparts, bit i could find anything about how
> to influence it. help neede.
>
>
> regards
>
>
> Max