RSM to Topcased UML2 Editor
By Sébastien Gabel (C-S), Agusti Canals (C-S), Chistophe Le Camus (C-S), Freddy Allilaire (INRIA)
June 2007
Keywords
RSM, Topcased, Import, UML2, Class Diagram, Use Case Diagram, Sequence Diagram.
Overview
TOPCASED currently uses the ATL model transformation toolkit. Model transformations have been mainly used in order to access models defined using other editors than TOPCASED one’s.
This use case presents an operational application of ATL to bridge RSM and TOPCASED. It was implemented by C-Sin the context of the TOPCASED project.
TOPCASED is an open-source workshop based on an Eclipse platform. Several editors are available: SAM, AADL, UML2, ECORE, and SYSML. It integrate several transformation services, in particular RSM to TOPCASED. These services are all based on ATL language and tool. Other services around models are available like OCL editor and checker, comparison, merging, etc.
In the TOPCASED UML2 Editor several diagrams are available:
- Class diagram
- Usecase diagram
- Sequence diagram
To display of diagram, the TOPCASED editor needs two kinds of files:
- The model part (file with the UML2 extension)
- The graphical information (file with the UML2DI extension)
In contrast with that, RSM file contains both model and graphical information. During the analysis, the border between these two sorts of information was determined.
The metamodel from a specific ROSE model is obtained by using the RSM plug-in provided by TOPCASED. This metamodel is required by the transformation. The figure below summarizes the transformation process:
Import results for a Class Diagram from RSM to TOPCASED UML2 Editor:
Import results for a Usecase Diagram from RSM to TOPCASED UML2 Editor:
Import results for a Sequence Diagram from RSM to TOPCASED UML2 Editor:
Related Use Cases
None at the current time.
References
- Sébastien Gabel, Agusti Canals, Christophe Le Camus: An operational application of ATL to bridge RSM and TopCased. In: 2nd AMMA/ATL Workshop on Model Engineering (AWME2), Wednesday 3rd and Thursday 4th May, 2006 University of Nantes, Nantes France
Acknowledgement
The present work is being supported by the Topcased Project, the Usine Logicielle project of the System@tic Paris Region Cluster, and the OpenEmbeDD project.