TriggerListener for changing values of Element properties from Stereotype [message #622581] |
Wed, 27 June 2007 09:44 |
Francis Gavino Messages: 57 Registered: July 2009 |
Member |
|
|
Hi,
I need to create a transaction listener (E.g.
org.eclipse.emf.transaction.TriggerListener) that listens to changes in
the values of Element properties from an applied Stereotype.
For example:
A Behavior (named Foo) and a corresponding CallBehaviorAction (named
FooAction) has an applied Stereotype (named FooStereotype) which has a
Property (named fooStereotypeProperty). When the value of
fooStereotypeProperty of Foo changes, I want to do something and change
also the value of fooStereotypeProperty of FooAction (and vice-versa).
I tried to inspect the Notification but I can't find a way to have access
to the owner of the property (in this case, it's Foo). This is also an EMF
question but I'm not sure where to post it so pardon me if this should be
in the EMF thread.
Thanks,
Francis
|
|
|
Powered by
FUDForum. Page generated in 0.03442 seconds