P. Langer, K. Wieland, M. Wimmer, J. Cabot: From UML Profiles to EMF Profiles and Beyond, 49th International Conference on Objects, Models, Components, Patterns (TOOLS) 2011, Zürich; 27.06.2011 - 01.07.2011, in Proceedings of the 49th International Conference on Objects, Models, Components, Patterns (TOOLS) 2011, Springer, LNCS 6705, 201, pages 52 - 67.
Domain-Specific Modeling Languages (DSMLs) are getting more and more attention as a key element of Model Driven Engineering. As any other software artefact, 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 its 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 adaptation scenarios. We believe a similar concept for DSMLs would provide an easier 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.