GI LogoGI Logo
  • Login
Digital Library
    • All of DSpace

      • Communities & Collections
      • Titles
      • Authors
      • By Issue Date
      • Subjects
    • This Collection

      • Titles
      • Authors
      • By Issue Date
      • Subjects
Digital Library Gesellschaft für Informatik e.V.
GI-DL
    • English
    • Deutsch
  • English 
    • English
    • Deutsch
View Item 
  •   DSpace Home
  • Lecture Notes in Informatics
  • Proceedings
  • INFORMATIK - Jahrestagung der Gesellschaft für Informatik e.V.
  • P192 - INFORMATIK 2011 - Informatik schafft Communities
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.
  •   DSpace Home
  • Lecture Notes in Informatics
  • Proceedings
  • INFORMATIK - Jahrestagung der Gesellschaft für Informatik e.V.
  • P192 - INFORMATIK 2011 - Informatik schafft Communities
  • View Item

Towards lenses for view synchronization in metamodel-based domain- specific workbenches

Author:
Wider, Arif [DBLP]
Abstract
Model-driven engineering (MDE) advocates the use of different domainspecific languages (DSLs) for describing different aspects of a system, which is called multi-view modeling or multimodeling. In a metamodel-based setting, this means that the system description consists of a heterogeneous set of models that conform to different metamodels. When editing semantically overlapping models, the consistency of the system description has to be ensured, which leads to the problem of heterogeneous model synchronization. Existing MDE technologies based on the Eclipse Modeling Framework (EMF) like Xtext provide good support for defining a DSL and for creating a corresponding domain-specific workbench - i.e., an integrated tool set that makes using this DSL comfortable - but do not support multimodeling, yet, i.e., they do not provide means to specify (non-bijective) relations between DSLs, so that models that are created using these DSLs are synchronized. We present an approach to model synchronization that is based on lenses – a term-rewritingbased approach to bidirectional transformations. Lenses differentiate from approaches to bidirectional model transformations like QVT Relations mainly because of their asymmetric setting: One of the two models to be synchronized has to be an abstraction of the other. Although this restriction limits possible applications of lenses within MDE, we argue that their asymmetric nature is well suited for multiview modeling. In return, this restriction allows for the compositional notion of lenses: complex transformations are composed out of small and well-understood transformations using a set of combinators. This allows for compositional reasoning, which is the main advantage of lenses. We explore how lenses can be adapted in a pragmatic way to be applicable in MDE and implement lenses for model transformations as an internal DSL in the Scala programming language. This way, one can benefit from existing tool support for Scala – e.g., for editing and debugging – and from Scala’s seamless integration with Java-based frameworks, e.g., lenses that are defined in Scala can directly process the Java-objects that represent an EMF-model at runtime. As an example application for our work, we present a multi-view domain-specific workbench that incorporates a lens-based view synchronization architecture: It provides different DSLs and generated editors for these DSLs. Each of these editors works on its own underlying model. These view models are synchronized via a shared synchronization model using lenses. Because of that, existing MDE technologies like Xtext can be used without any modification to develop the DSLs as well as the corresponding editors and the model synchronizations can be implemented separately. This makes our approach easy to integrate with existing technologies, projects and tool-suites.
  • Citation
  • BibTeX
Wider, A., (2011). Towards lenses for view synchronization in metamodel-based domain- specific workbenches. In: Heiß, H.-U., Pepper, P., Schlingloff, H. & Schneider, J. (Hrsg.), INFORMATIK 2011 – Informatik schafft Communities. Bonn: Gesellschaft für Informatik e.V.. (S. 280-280).
@inproceedings{mci/Wider2011,
author = {Wider, Arif},
title = {Towards lenses for view synchronization in metamodel-based domain- specific workbenches},
booktitle = {INFORMATIK 2011 – Informatik schafft Communities},
year = {2011},
editor = {Heiß, Hans-Ulrich AND Pepper, Peter AND Schlingloff, Holger AND Schneider, Jörg} ,
pages = { 280-280 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
DateienGroesseFormatAnzeige
280.pdf25.04Kb PDF View/Open

Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Send Feedback

More Info

ISBN: 978-88579-286-4
ISSN: 1617-5468
xmlui.MetaDataDisplay.field.date: 2011
Language: en (en)
Content Type: Text/Conference Paper
Collections
  • P192 - INFORMATIK 2011 - Informatik schafft Communities [324]

Show full item record


About uns | FAQ | Help | Imprint | Datenschutz

Gesellschaft für Informatik e.V. (GI), Kontakt: Geschäftsstelle der GI
Diese Digital Library basiert auf DSpace.

 

 


About uns | FAQ | Help | Imprint | Datenschutz

Gesellschaft für Informatik e.V. (GI), Kontakt: Geschäftsstelle der GI
Diese Digital Library basiert auf DSpace.