|Change model on property change [message #895034]
||Wed, 11 July 2012 09:24
| Matthias N
Registered: June 2012
I want to change the model if a property changes. For example I have the domain element "AnalysisFunctionPrototype" and I want to add an element to the element if one if its propertys is changed.
So far I can register if the desired property has changed via "handleNotificationEvent(..)" in my AnalysisFunctionPrototypeCanonicalEditPolicy.
But I don't know how to get the domain element, e.g. I don't know how to do
AnalysisFunctionPrototype type = get????
Btw, I don't want to edit the generated EMF code, instead I want to adjust th generated diagram code.
Powered by FUDForum
. Page generated in 0.02645 seconds