Abstract
Most of domain-specific tool building and especially diagram editor building nowadays involves some usage of metamodels. However normally the metamodel alone is not sufficient to define an editor. Frequently the metamodel just defines the abstract syntax of the domain, mappings or transformations are required to define the editor. Another approach [8] is based on a fixed type metamodel, there an editor definition consists of an instance of this metamodel to be executed by an engine. However there typically a number of functionality extensions in a transformation language is required. The paper offers a new approach based on metamodel specialization. First the metamodel specialization based on UML class diagrams and OCL is defined. A universal metamodel and an associated universal engine is described, then it is shown how a specific editor definition can be obtained by specializing this metamodel. Examples of a flowchart editor and UML class diagram editor are given.
Keywords
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Eclipse. http://www.eclipse.org
Graphical Modeling Framework (GMF, Eclipse Modeling subproject). http://www.eclipse.org/gmf/
Obeo Designer: Domain Specific Modeling for Software Architects. http://www.obeodesigner.com/
EuGENia Live. http://eugenialive.herokuapp.com/
Cook, S., Jones, G., Kent, S., Wills, A.C.: Domain-Specific Development with Visual Studio DSL Tools. Addison-Wesley, Boston (2007)
Kelly, S., Tolvanen, J.-P.: Domain-Specific Modeling: Enabling Full Code Generation. Wiley, Hoboken (2008)
Barzdins, J., Rencis, E., Kozlovics, S.: The transformation-driven architecture. In: Proceedings of DSM 2008 Workshop of OOPSLA 2008, Nashville, Tennessee, USA, pp. 60–63 (2008)
Sprogis, A.: Configuration language for domain specific tools and its implementation. Ph.D. thesis (in Latvian), University of Latvia, Riga (2013)
Barzdins, J., et al.: GrTP: transformation based graphical tool building platform. In: Proceedings of MDDAUI 2007 Workshop of MODELS 2007. CEUR Workshop Proceedings, Nashville, Tennessee, USA, vol. 297, 4 p. (2007). http://ceur-ws.org
Sprogis, A.: The configurator in DSL tool building. In: Computer Science and Information Technologies, Scientific Papers, vol. 756, pp. 173–192. University of Latvia (2010)
Liepins, R.: lQuery: a model query and transformation library. In: Computer Science and Information Technologies, Scientific Papers, vol. 770, pp. 27–46. University of Latvia (2011)
Sprogis, A., Barzdins. J.: Specification, configuration and implementation of DSL tool. In: Frontiers of AI and Applications. Databases and Information Systems VII, vol. 249. IOS Press (2013)
Rencis, E., Barzdins, J., Kozlovics, S.: Towards open graphical tool-building framework. In: Proceedings of BIR 2011, pp. 80–87. RTU Press, Riga (2011)
Pierre, S., Cariou, E., Le Goaer, O., Barbier, F.: A family-based framework for i-DSML adaptation. In: Cabot, J., Rubin, J. (eds.) ECMFA 2014. LNCS, vol. 8569, pp. 164–179. Springer, Heidelberg (2014)
Acknowledgements
This work is supported by the Latvian National research program SOPHIS under grant agreement Nr. 10-4/VPP-4/11.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Kalnins, A., Barzdins, J. (2016). Metamodel Specialization for DSL Tool Building. In: Arnicans, G., Arnicane, V., Borzovs, J., Niedrite, L. (eds) Databases and Information Systems. DB&IS 2016. Communications in Computer and Information Science, vol 615. Springer, Cham. https://doi.org/10.1007/978-3-319-40180-5_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-40180-5_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-40179-9
Online ISBN: 978-3-319-40180-5
eBook Packages: Computer ScienceComputer Science (R0)