[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: two figure for a connection + Source End Constraint not working

Hello!

Have you specified link constraints in link mappings? They should be defined so for the newly created link only one mapping would pass.

Angelo Marguglio wrote:
Hi all!
I''m developing a diagram in which I'd like to connect two node by a connection. I can specify the kind of this connection using an enumeration and every kind has an own figure.
In the .gmfmap I have three "Link Mapping" in which I set the kind of the connection by a "Feature Seq Initializer". In the generated diagram there are three EditPart, one for each link mapping, with an own inner figure.
In runtime I have a problem. When I try to create a new connection, two links are displayed.
I read a thread about a similar problem, but I didn't find a solution for this problem.


I have also a second problem: in my editor the "Source End Constraint" doesn0t work fine. I'd like to show the disallow cursor when the mouse is over a node that I can't connect (as a source).

--Angelo Marguglio

reply to: angelo.marguglio[at]libero.it