EMF Profiles: A Lightweight Extension Approach for EMF Models
By: Philip Langer, Konrad Wieland, Manuel Wimmer, Jordi Cabot
Domain-Specific Modeling Languages (DSMLs) are getting more and more attention as a key element of Model Driven Engineering. As any other software artifact, DSMLs should continuously evolve to adapt to the changing needs of the domain they represent. Unfortunately, right now evolution of DSMLs is a costly process that requires changing the DSML metamodel and re-creating the complete modeling environment. In this paper we advocate for the use of EMF Profiles, an adaptation of the UML Profile concept to DSMLs. Profiles have been a key enabler for the success of UML by providing a lightweight language-inherent extension mechanism which is expressive enough to cover an important subset of extension scenarios. We believe a similar concept for DSMLs would provide a valuable extension mechanism which has been so far neglected by current metamodeling tools. Apart from direct metamodel profiles, we also propose reusable profile definition mechanisms whereby profiles are defined independently of any DSML and, later on, coupled with all DSMLs that can benefit from these profiles. Our approach has been implemented in a prototype integrated in the EMF environment.
Language extensions, UML Profiles, language engineering
Philip Langer, Konrad Wieland, Manuel Wimmer, Jordi Cabot, “EMF Profiles: A Lightweight Extension Approach for EMF Models”, Journal of Object Technology, Volume 11, no. 1 (April 2012), pp. 8:1-29, doi:10.5381/jot.2012.11.1.a8.