[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Location of child parts in container

Thank you, that got the job done. Incidently, what does the parameter do? The API mentions that the anchor "...may use the given reference Point..." but doesn't say what it refers to. I notice that the logic diagram example ignores it.

Randy Hudson wrote:
Your anchor should derive the location when it is asked getLocation.  If you
do it any sooner, the figures aren't in the correct place.  For performance
reasons, layouts only occur hopefully once and in the order of depencies,
such as connections depending on their nodes.