Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Update derived attriburte(How to update a derived attribute whenever a variable on which that derived variable depends, changes?)
Update derived attriburte [message #1276229] Mon, 24 March 2014 09:20 Go to next message
Kuldeep Yadav is currently offline Kuldeep YadavFriend
Messages: 12
Registered: January 2014
Junior Member
I have three attributes in an ecorediag, and fourth one is actually a derived variable depends on the three. So any time the three variable changes, I want to invoke a function which will compute new value of derived variable and perform some task.
Re: Update derived attriburte [message #1276419 is a reply to message #1276229] Mon, 24 March 2014 14:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Kuldeep,

You can listen to changes with an adapter.

On 24/03/2014 2:20 AM, Kuldeep Yadav wrote:
> I have three attributes in an ecorediag, and fourth one is actually a
> derived variable depends on the three. So any time the three variable
> changes, I want to invoke a function which will compute new value of
> derived variable and perform some task.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Oomph] Import projects into workspace
Next Topic:EObject for XML fragments
Goto Forum:
  


Current Time: Thu Apr 18 07:16:41 GMT 2024

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

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

Back to the top