Skip to main content



      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 03:29 Go to next message
Eclipse UserFriend
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 09:57 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 18:36:09 EDT 2025

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

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

Back to the top