Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: tone on September 08, 2010, 10:52:36 am

Title: How to update attribute on Realizations?
Post by: tone on September 08, 2010, 10:52:36 am
I have an interface that has a few attributes.  I have created another class that implements (realizes) that interface.  I select all the attributes and they all show up in the class implementing.  But when I update an attribute in the interface the implementation class does not get the update - how do i make this happen?  With one class it's not a big deal but I have a project with 40+ classes..  thanks.
Title: Re: How to update attribute on Realizations?
Post by: Geert Bellekens on September 08, 2010, 03:11:36 pm
You can't. (at least not automatically).
There are pro's and con's

See http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1280053925 and http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1256050121/ for discussions about this subject.

Geert
Title: Re: How to update attribute on Realizations?
Post by: tone on September 08, 2010, 11:24:11 pm
well that's no good, it should at least be an option somewhere to set.  Yes, I am still in the whiteboard phase, but now I have to go remove all the realizations and re-add them to get the change i made.  I hope I don't need to make any more changes to the interface/base class.  

thanks for the links.
Title: Re: How to update attribute on Realizations?
Post by: KP on September 09, 2010, 08:46:14 am
Quote
now I have to go remove all the realizations and re-add them to get the change i made.
Not necessary. Select the class and Ctrl+Shift+O (for Override).
Title: Re: How to update attribute on Realizations?
Post by: tone on September 10, 2010, 12:16:10 pm
nice!  that helps!  although it still only allows me to do that with one class at a time, but none-the-less it's fewer clicks - thanks!