Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Cannot change the link line from straight line to another path.
Cannot change the link line from straight line to another path. [message #484063] Fri, 04 September 2009 07:29 Go to next message
Ivo Petkov is currently offline Ivo Petkov
Messages: 14
Registered: August 2009
Junior Member
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
Re: Cannot change the link line from straight line to another path. [message #484181 is a reply to message #484063] Fri, 04 September 2009 13:57 Go to previous message
Pascal G is currently offline Pascal G
Messages: 157
Registered: July 2009
Senior Member
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.*
Previous Topic:How to translate absolute mouse coordinates to relative coordinates in an editor
Next Topic:Zest: separated two way links
Goto Forum:
  


Current Time: Wed Oct 01 16:33:19 GMT 2014

Powered by FUDForum. Page generated in 0.01680 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software