[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

Thanks for the answer, but I am not sure if it refers to my first problem or the second one.
If it is about the second one:
- if I use "Target End Constrain" in the link mapping it works fine
- if I use "Source End Constrain" in the link mapping it doesn't work as I aspect
- if I use both "Source End Constrain" and "Target End Constrain" I can't make any kind of links.
I hope to be clear, if it isn't so please ask me to explain again my problem.
BYE


In data Fri, 28 Jul 2006 10:15:16 +0200, Dmitry Stadnik <5d5@xxxxxxx> ha scritto:

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



-- Angelo Marguglio

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