[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Draw2d Figures Docking

Use the BorderLayout.

"Luca" <luca@xxxxxxxxxxx> wrote in message
news:a238a8aed076b9222c9f28d514a55ba4$1@xxxxxxxxxxxxxxxxxx
> Hi all,
>
> I'm trying to build an editor based on GEF which should have two figures
> docked to the vertical borders of the editing area. Other elements will be
> added in the remaining central area.
>
> I've tried implementing a figure which overrides the set/getBounds
> functions to properly set the right size but with wrong results.
>
> I think the best way to solve my problem would be using Layout Managers,
> but don't know how to dock the two figures and have the others painted in
> the "free" area.
>
> Can you point out a way to solve this problem?
>
> Thank you,
>
> Luca
>