[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Link Mapping Operation

Gabriele,

in your .gmfmap you can specify your link mapping. You have to specify Source Feature and Target Feature to your connection source and target elements.

This is how it should work I think:

Source Feature:  link.source:node
Target Feature:  link.target:node

In your ecore of course you need to define, that a link knows about its source and its target.

Hope that helps,

Best regards,
Artur

gabriele wrote:

I have a connection with inside a String like source and target references. This values are the ID of the source and target objects. How can I create a Link Mapping?

Something like

<diagram>
<node id="A">
<node id="B">
<link name="T">
<source id="A"/> (id type: String)
<target id="B"/> (id type: String) </link>
<diagram>