Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Martin Terreni on January 26, 2005, 04:28:50 am

Title: consistency between class and sequence duagram.
Post by: Martin Terreni on January 26, 2005, 04:28:50 am
When I crate a call in sequnce diagram and enter a name of an unexistent method it is not generated in class diagram.

since this is s feture I've seen in other CASE tools (i.e. i-Logix) I guess there is no methodological problem with that.
is it somthing I should do or is it a bug?
Title: Re: consistency between class and sequence duagram
Post by: alexander on March 01, 2005, 02:50:18 pm
I have wonder about that myself.
I think it hasn't been implemented, but it should be just like you say.

Anyone can think of a reason for this consistency to be unwanted?
Title: Re: consistency between class and sequence duagram
Post by: sargasso on March 01, 2005, 05:44:08 pm
You can do it now.  At the top right hand corner of the Message Properties form is a button "Operations".  If you click this the class (or classifier if you are using instantiated sequencing) operations property form opens where you can add your new methods to the class directly.

As to why I wouldn't want EA to automatically add methods from the message property box...  it would be fine if you were  designing at the pure code level and you knew exactly what the design was going to be.  If on the other hand you are using EA to evolve a design or explore alternatives, or you were just analysing the sequences, you would not want every method added by every analyst cluttering up the class model.

And, by crickey, dont even think of trying to automatically update the method signatures from information in the message properties!

hth
bruce  
Title: Re: consistency between class and sequence duagram
Post by: Martin Terreni on March 01, 2005, 10:17:18 pm
I tried it with I-logix and in deed it was very problematic, but it has its bonuses.
all in all I think you are right.