[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.gef] Re: Cannot change the link line from straight line to another path.

Ivo Petkov wrote:
Hi all,

I have the following problem,
there is a composite figure A with compartment which contains figure B1, B2.
The connection from A to B is always straight line and cannot be modeled - it is always straight line.
The links between B1 and B2 can be modeled as I want.


What can I do to be able to change the straight line of the connection from A to B1 or B2 to have the shape I decide?

Regards,
Ivo

p.s. if it is important - the starting and ending points of these connections are fixed

By supposing you have a different connection edit part from A to B then A to B1,B2, you could use a BendpointEditPolicy on that edit part.


--
Pascal GÃlinas | Software Developer
*Nu Echo Inc.*
http://www.nuecho.com/ | http://blog.nuecho.com/

*Because performance matters.*