|
|
|
Re: References in EMF [message #1068144 is a reply to message #1068139] |
Fri, 12 July 2013 12:11 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Phil,
I don't know the Emfatic syntax. In the structured editor you set the
opposite feature of one of the references to point at the other in the
properties view.
On 12/07/2013 1:52 PM, Phil H wrote:
> Hi Ed,
>
> yes it's emfatic syntax. The keyword val means a "by value" EReference (EReference.containment = true).
>
> I thought a aggregation is handled bidirectional, but indeed it's unidirectional. So to overcome this, I tried to use an additional reference:
>
>
>
> But when I create a Platform and add a Variationpoint to this Platform, the Variationpoint don't know it's platform. The user has to assign the reference in the property view manually.
>
> How can I define a bidirectional aggregation in EMF?:
>
>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03810 seconds