Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Mapping association
Mapping association [message #51553] Tue, 19 September 2006 19:05 Go to next message
Eugene   is currently offline Eugene
Messages: 26
Registered: July 2009
Junior Member
Hi.

How to map association to a link in gmfmap model?
Setting

Containment Feature EReferencepackagedElement
Element EClass Association
Source Feature EReference relatedElement
Target Feature EReference relatedElement

doesn't work (link immediately disappears).


wbr, eugen.
Re: Mapping association [message #51618 is a reply to message #51553] Tue, 19 September 2006 22:37 Go to previous messageGo to next message
Eclipse User
Originally posted by: khussey.ca.ibm.com

Eugen,

I'm not a GMF expert (you may want to consult the eclipse.modeling.gmf
newsgroup), but the features you've referenced are derived unions and hence
read-only (they can't be modified). Unlike other relationships in UML (which
connect the related elements directly), associations actually connect
properties (referenced via Association::memberEnd) that are (possibly) owned
by the end types involved in the relationship...

Kenn

"
Re: Mapping association [message #51679 is a reply to message #51553] Wed, 20 September 2006 05:26 Go to previous messageGo to next message
Michele Puccio is currently offline Michele Puccio
Messages: 9
Registered: July 2009
Junior Member
hello
in the newsgroup archive on the web
http://www.eclipse.org/search/search.cgi?&cmd=Search%21& amp;form=extended&wf=574a74&ps=10&m=all&t=5& amp;ul=%2Fnewslists%2Fnews.eclipse.technology.gmf&wm=wrd &t=News&t=Mail
you can find a lot of information on how to map UML association
searching for *association*.
regards
michele

?????? ha scritto:
> Hi.
>
> How to map association to a link in gmfmap model?
> Setting
>
> Containment Feature EReferencepackagedElement
> Element EClass Association
> Source Feature EReference relatedElement
> Target Feature EReference relatedElement
>
> doesn't work (link immediately disappears).
>
>
> wbr, eugen.
Re: Mapping association [message #52539 is a reply to message #51618] Wed, 20 September 2006 19:00 Go to previous message
Eugene   is currently offline Eugene
Messages: 26
Registered: July 2009
Junior Member
Thanx, this helps.

В письме Tue, 19 Sep 2006 22:37:48 -0400, Kenn Hussey
написал:

> Eugen,
>
> I'm not a GMF expert (you may want to consult the eclipse.modeling.gmf
> newsgroup), but the features you've referenced are derived unions and hence
> read-only (they can't be modified). Unlike other relationships in UML (which
> connect the related elements directly), associations actually connect
> properties (referenced via Association::memberEnd) that are (possibly) owned
> by the end types involved in the relationship...
>
> Kenn
>
> "Бушуев" <jnbu@yahoo.com> wrote in message
> news:pan.2006.09.19.23.05.15.969326@yahoo.com...
>> Hi.
>>
>> How to map association to a link in gmfmap model?
>> Setting
>>
>> Containment Feature EReferencepackagedElement
>> Element EClass Association
>> Source Feature EReference relatedElement
>> Target Feature EReference relatedElement
>>
>> doesn't work (link immediately disappears).
>>
>>
>> wbr, eugen.
Previous Topic:When will v1.0.1 will be released?
Next Topic:Two different containers for one type of nodes
Goto Forum:
  


Current Time: Wed Jul 23 04:03:00 EDT 2014

Powered by FUDForum. Page generated in 0.07761 seconds