Langer, P., Wieland, K., & Kaufmann, P. (2010). Specification, Execution, and Detection of Refactorings for Software Models. In Proceedings of the Work-in-Progress Session at the 8th International Conference on the Principles and Practice of Programming in Java (PPPJ 2010) (p. 5). CEUR-WS.org. http://hdl.handle.net/20.500.12708/53593
Proceedings of the Work-in-Progress Session at the 8th International Conference on the Principles and Practice of Programming in Java (PPPJ 2010)
Number of Pages:
Predefined automatically applicable composite operations such as refactorings are a prerequisite for efficient software modeling. Some modeling environments provide an initial set of basic refactorings, but they hardly offer extension points for user-specified refactorings. Even if extension points exist, the introduction of new refactorings requires programming skills and deep knowledge of the respective metamodel of the used modeling language.
We present EMF Modeling Operations, a JavaTM based framework for specifying and executing composite operations within the user´s modeling language and editor of choice. The user demonstrates a composite operation on a concrete example from which a generic and executable operation specification is semi-automatically derived. Furthermore, we show how the resulting specification may be used to enable an a-posteriori detection of applications of the specified operations between two successive versions of a model, also in absence
of a directly recorded change log.