Create a Label for a Figure [message #225213] |
Thu, 26 October 2006 06:55  |
Eclipse User |
|
|
|
Originally posted by: mouna.feki.siemens.com
Hi,
I would like to insert a Label (content the Name of the FigureX) to a
FigureX (like in the case of an Edge).
My aim is:
Label and Figure stand separately, i.e. I can (independently of
the Figure) select and put anywhere the Label.
Does anybody have an idea to solve this Problem?
Or there are an Example ?
Thanks
Mouna
|
|
|
|
|
Re: Create a Label for a Figure [message #225255 is a reply to message #225222] |
Fri, 27 October 2006 12:15  |
Eclipse User |
|
|
|
在 2006-10-26四的 21:06 +0000,Mouna写道:
> Has you an Example, because i am new in GEF Domain?
> Thanks
> Mouna
>
Hi,
There is a good example, gef logic.
you can refer to diagram container with xylayouteditpolicy, and
customize LogicContainerFigure to your figure style , and
LogicContainerEditPart to your editpart which only having a child just
be figure's label.
Regards,
Qinxian.
|
|
|
Powered by
FUDForum. Page generated in 0.03494 seconds