[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: Link Mapping Operation
|
- From: addur737@xxxxxxxx (Artur Kronenberg)
- Date: Fri, 18 Sep 2009 15:55:07 +0000 (UTC)
- Newsgroups: eclipse.modeling.gmf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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>