Integrating Efficient Model Queries in State-of-the-Art EMF Tools
Model-driven development tools built on industry standard platforms, such as the Eclipse Modeling Framework (EMF), heavily use model queries in various use cases, such as model transformation, well-formedness constraint validation and domain-specific model execution. As these queries are executed rather frequently in interactive modeling applications, they have a significant impact on the runtime performance of the tool, and also on the end user experience. However, due to their complexity, they can also be time consuming to implement and optimize on a case-by-case basis. The aim of the EMF-IncQuery framework is to address these shortcomings by using declarative queries over EMF models and executing them effectively using a caching mechanism.
In the current paper, we present the new and significantly extended version of the EMF-IncQuery Framework, with new features and runtime extensions that speed up the development and testing of new queries by both IDE and API improvements.
We demonstrate how our high performance queries can be easily integrated with other EMF tools using an entirely new case study in which EMF-IncQuery is deeply integrated into the EMF modeling infrastructure to facilitate the incremental evaluation of derived EAttributes and EReferences.
KeywordsModel Transformation Graph Pattern Model Query Eclipse Modeling Framework Eclipse Modeling Framework Model
Unable to display preview. Download preview PDF.
- 1.The Eclipse Project: Eclipse Modeling Framework, http://www.eclipse.org/emf
- 2.The Eclipse Project: MDT OCL, http://www.eclipse.org/modeling/mdt/?project=ocl
- 4.Bergmann, G., Ökrös, A., Ráth, I., Varró, D., Varró, G.: Incremental pattern matching in the VIATRA model transformation system. In: Karsai, G., Taentzer, G. (eds.) Graph and Model Transformation (GraMoT 2008). ACM (2008)Google Scholar
- 5.The Eclipse Project: EMF Model Query 2, http://wiki.eclipse.org/EMF/Query2
- 8.The Eclipse Project: Xtext, http://www.eclipse.org/xtext
- 10.Giese, H., Hildebrandt, S., Seibel, A.: Improved flexibility and scalability by interpreting story diagrams. In: Proceedings of GT-VMT 2009. ECEASST, vol. 18 (2009)Google Scholar
- 11.The Eclipse Project: EMFT Search, http://www.eclipse.org/modeling/emft/?project=search
- 12.The Object Management Group: Object Constraint Language, v2.0 (May 2006), http://www.omg.org/spec/OCL/2.0/