Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How can I implement attribute propagation in EMF?
How can I implement attribute propagation in EMF? [message #1694519] Tue, 05 May 2015 22:02 Go to next message
eunjung park is currently offline eunjung parkFriend
Messages: 72
Registered: April 2015
Member
Hi,

I'm a new in EMF, so I need some helps.
I would like to implement a function that if an attribute of a child model will change, an attribute of a corresponding parent will automatically be changed.
How can I implement this?
Could someone help me?

Thanks,
Eunjung Park
Re: How can I implement attribute propagation in EMF? [message #1694533 is a reply to message #1694519] Wed, 06 May 2015 04:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Eunjung,

Comments below.

On 06/05/2015 12:02 AM, eunjung park wrote:
> Hi,
>
> I'm a new in EMF, so I need some helps.
> I would like to implement a function that if an attribute of a child
> model will change, an attribute of a corresponding parent will
> automatically be changed.
> How can I implement this?
Perhaps the parent's attribute can be marked transient, volatile,
derived, and you can implement the logic to compute it in the
implementation class of the parent.
> Could someone help me?
>
> Thanks,
> Eunjung Park
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How can I implement attribute propagation in EMF? [message #1694582 is a reply to message #1694533] Wed, 06 May 2015 12:53 Go to previous message
Erick Hagstrom is currently offline Erick HagstromFriend
Messages: 107
Registered: April 2014
Location: USA
Senior Member
Or perhaps the parent could subscribe to notifications from the child?
Previous Topic:EMF Model : Conditional Reference
Next Topic:Ecore defaultValue for EByteArray or EFloat with multiplicities
Goto Forum:
  


Current Time: Wed Apr 24 19:24:17 GMT 2024

Powered by FUDForum. Page generated in 0.03027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top