|Setting a Default value for a Property doesn't raise a Notificaton [message #651995]
||Wed, 02 February 2011 11:41
| Thomas Buchmann
Registered: November 2010
i built a simple class diagram editor with GMF on top of the Eclipse UML2 metamodel.
I noticed the following problem with the generated editor:
Whenever i set a default value for a property for the first time in my class diagram using the generated property-view in eclipse, an update of the GMF-editor is performed. But if i change this value, the GMF-editor isn't updated. I debugged and found out that PropertyImpl::setDefault(String) is used when i change the value. This method doesn't send a Notification which is probably the reason.
Is there a way to fix this easily?
Thanks for an answer.
Powered by FUDForum
. Page generated in 0.02287 seconds