Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Setting a Default value for a Property doesn't raise a Notificaton
Setting a Default value for a Property doesn't raise a Notificaton [message #651995] Wed, 02 February 2011 06:41
Thomas Buchmann is currently offline Thomas Buchmann
Messages: 53
Registered: November 2010
Member
Hi,

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.
Thomas
Previous Topic:*current* tutorial for UML2?
Next Topic:Delete UML Proxy without loading it
Goto Forum:
  


Current Time: Thu Aug 21 16:12:55 EDT 2014

Powered by FUDForum. Page generated in 0.01485 seconds