An approach and tool for synchronous refactoring of UML diagrams and models using model-to-model transformations

  • Authors:
  • Hafsteinn Þór Einarsson;Helmut Neukirchen

  • Affiliations:
  • University of Iceland, Reykjavík, Iceland;University of Iceland, Reykjavík, Iceland

  • Venue:
  • Proceedings of the Fifth Workshop on Refactoring Tools
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

When refactorings are applied to software models that are specified using the Unified Modeling Language (UML), the actual model and the graphical presentation of the model using a diagram need to be distinguished. While UML refactoring tools exist, they typically perform transformations only on the model level and are not able to transform the corresponding diagram as well. Thus, the UML model and the diagram representation of the model may get out of sync. This paper presents an approach that can be used in UML tools to refactor UML models together with their diagrams. To this aim model-to-model transformations are applied to the underlying model as well as to the related diagram. To prove the applicability of this approach, a prototype plug-in for the Eclipse-based Papyrus UML editor has been implemented. The model transformation language Query/View/-Transformation (QVT) is used to specify the transformation of the UML model and the diagrams.