|How to implement a label propagation? [message #1700067]
||Mon, 29 June 2015 22:54
| eunjung park
Registered: April 2015
Hi all, |
I'm trying to implement a label propagation mechanism which means that if a element's value is changed, then corresponding parent's label will be changed automatically depending on children siblings' relationship.
For example, in the following diagram,
if the labels of "confidentiality" and "integrity" will be changed into "satisficed", then the label of their parent "security" will be automatically changed into "satisficed".
I made ecore file of my meta model and generate codes.
I read articles about adapter and notification of EMF, I could understand the ways a little, but I don't know where I should triger fireNotifyChanged() to invoke parents and register a listener.
By the way, I'm using Sirius for viewing models.
Could anybody help me?
[Updated on: Mon, 29 June 2015 22:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02018 seconds