MSC Trace of UML Interactions

Top  Previous  Next

This tutorial demonstrates producing a Message Sequence Chart trace from the analysis of a UML2 interaction specification (exported to UML XMI 2 standards).  Each step is illustrated with an example figure.

 

Note that this tutorial requires sources files downloaded from here: http://www.doc.ic.ac.uk/ltsa/eclipse/sensoria/tutorials/umlmscexample1.zip

 

1.Locate the SENSORIA Browser view and check that the following plug-ins have been installed.

 

Modeller -> MSC -> LTSA MSC

Modeller -> UML -> LTSA UML XMI

 

sctltsaumlmsc1

 

2.Select the LTSA UML XMI plug-in and execute the mscXMLFromUMLInteraction service method, using a valid UML2 XMI document containing the UML Interaction.

 

sctltsaumlmsc2

 

3.If successful, an XML document will be placed on the Sensoria Blackboard.  If the method is not successful, an error message will be placed on the Sensoria Blackboard.

 

sctltsaumlmsc3

 

 

 

4.Select the LTSA MSC plug-in and execute the openMSCEditorWithMSC service method, using a successful result of the LTSA UML XMI service method in 3.

 

sctltsaumlmsc4

 

5.If successful, the LTSA MSC Editor will be opened displaying a trace from the XML document generated in 3.  If the method is not successful, an error message will be placed on the Sensoria Blackboard.

 

sctltsaumlmsc5