Force Connection refresh/redraw [message #1230352] |
Sat, 11 January 2014 19:07 |
Sebastian Hochgatterer Messages: 9 Registered: October 2013 |
Junior Member |
|
|
hey
I have problem to understand the binding, between EMF "change listeners" and update features.
I have a parent element which can be connected to other parent elements, each parent have childs.
The ConnectionDeclaration shows the the child-names of the source (parent)
Example.: SParent-----child1,child2-------TParent
I implement an Updatefeature, which recognized if a new child is added (emf model transaction). This works fine. The problem is, if I rename a child, the editor doesn't notify the change (emf change), and wouldn't update the view.
However, if I clicked on the connection the the UpdateFeature, shows me that an update is needed (red lines).
The Question is can I force an update, when I'm editing the children's name of a parent with a propertysheet?. (E.g.: source.getConnection().refresh()).
Thx, for your help!
[Updated on: Sat, 11 January 2014 22:31] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03365 seconds