|Redraw connections after modification [message #665117]
||Wed, 13 April 2011 06:51
| Luca Gherardi
Registered: November 2010
I have a problem with my editor.|
I have two class A and B.
A contains one or more instances of B.
The connection between an element A and an element B is represented by using two different figures, according to a property of B. If this property value is true the editor uses a figure X otherwise it uses a figure Y.
Now the problem is that if I change the value of this property, the connection is redrawn only when I press F5.
I'd like that it to happen automatically.
I ovverided the handleNotificationEvent method of the BEditPart class and I tried to call the refreshChild method. I also tried to get the target connections and call the refresh on those objects but it doesn't work.
Does anyone can help me please?
Powered by FUDForum
. Page generated in 0.01451 seconds