Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: davidmccotter on November 20, 2003, 08:51:41 am

Title: Linking Sequence and Class Diagrams
Post by: davidmccotter on November 20, 2003, 08:51:41 am
I am trying to link object behaviour in sequence diagrams back to their classes in the Logical Model or VOPC (view of participating classes).

As I update the interactions in the sequence disgrams they should show as methods in the corresponding class diagram (at least they do using Rational Rose).

Do I have to create the class diagram first and drag instances onto the sequence diagram to get this linkage or first create the stereotypes in the sequence diagram and drag or copy to the class diagram.

Is this functionality available?

Thanks,

David
Title: Re: Linking Sequence and Class Diagrams
Post by: Marc Walter on November 21, 2003, 04:22:02 am
While in the sequence diagram, when editing or creating a message between classes, there is a NEW button on the dialog.  This allows you to create a new operation in the destination class.  Once you have created this operation,  you can select it in the dropdown list for the message.

This should meet your needs.

Marc