Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3550356.3563131acmconferencesArticle/Chapter ViewAbstractPublication PagesmodelsConference Proceedingsconference-collections
research-article

A general architecture for client-agnostic hybrid model editors as a service

Published: 09 November 2022 Publication History
  • Get Citation Alerts
  • Abstract

    In this paper, we propose a general architecture for designing language servers for hybrid modeling languages, that is, modeling languages that contain both textual and graphical representations. The architecture consists of a textual language server, a graphical language server, and a client that communicates with the two servers. The servers are implemented using the Language Server Protocol (LSP) and the Graphical Language Server Protocol (GLSP) and are based on a shared abstract syntax of the hybrid language. This means that only static resources need to be common between the graphical and textual language servers. The servers' separation allows each to be developed and maintained independently, while also enabling forward-compatibility with their respective dependencies.
    We describe a prototype implementation of our architecture in the form of a hybrid editor for the UML-RT language. The evaluation of the architecture via this prototype gives us useful insight into further generalization of the architecture and the way it is used. We then sketch a suitable extension of the architecture to enable support for multiple diagram types and, thus, multiple graphical views.

    References

    [1]
    Lorenzo Addazi, Federico Ciccozzi, Philip Langer, and Ernesto Posse. 2017. Towards Seamless Hybrid Graphical-Textual Modelling for UML and Profiles. 20--33.
    [2]
    Francisco Andrés, Juan Lara, and Esther Guerra. 2007. Domain Specific Languages with Graphical and Textual Views, Vol. 5088. 82--97.
    [3]
    Eclipsesource. 2022. Graphical Language Server Protocol. https://github.com/eclipse-glsp/glsp
    [4]
    Moritz Eysholdt and Heiko Behrens. 2010. Xtext: Implement Your Language Faster Than the Quick and Dirty Way. In Proceedings of the ACM International Conference Companion on Object Oriented Programming Systems Languages and Applications Companion (Reno/Tahoe, Nevada, USA) (OOPSLA '10). ACM, New York, NY, USA, 307--309.
    [5]
    Luca Forstner. 2022. Integrating GLSP based Tooling into Visual Studio Code. Bachelor Thesis.
    [6]
    Philipp-Lorenz Glaser and Dominik Bork. 2021. The bigER Tool - Hybrid Textual and Graphical Modeling of Entity Relationships in VS Code. In 2021 IEEE 25th International Enterprise Distributed Object Computing Workshop (EDOCW). 337--340.
    [7]
    Christopher Guindon. 2015. Papyrus-RT - Overview: The Eclipse Foundation. https://www.eclipse.org/papyrus-rt/content/overview.php
    [8]
    Mattias Mohlin. 2018. Modeling Real-Time Applications in RTist. https://rtist.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/pdf/RTist%20Concepts.pdf
    [9]
    Mattias Mohlin. 2020. Modeling Real-Time Applications in RSARTE. https://rsarte.hcldoc.com/help/topic/com.ibm.xtools.rsarte.webdoc/pdf/RSARTE%20Concepts.pdf
    [10]
    Daniel Moody. 2009. The "Physics" of Notations: Toward a Scientific Basis for Constructing Visual Notations in Software Engineering. IEEE Transactions on Software Engineering 35, 6 (2009), 756--779.
    [11]
    Ernesto Posse and Juergen Dingel. 2016. An executable formal semantics for UML-RT. Software & Systems Modeling 15, 1 (2016), 179--217.
    [12]
    Queen's University MASE Lab. 2022. RTPoet. https://github.com/qumase/rtpoet
    [13]
    Queen's University MASE Lab. 2022. RTPoet DSL. https://github.com/qumase/rtpoet-dsl
    [14]
    Roberto Rodriguez-Echeverria, Javier Luis Cánovas Izquierdo, Manuel Wimmer, and Jordi Cabot. 2018. An LSP infrastructure to build EMF language servers for web-deployable model editors. In MODELS Workshops.
    [15]
    Roberto Rodríguez-Echeverría, Javier Luis Cánovas Izquierdo, Manuel Wimmer, and Jordi Cabot. 2018. Towards a Language Server Protocol Infrastructure for Graphical Modeling. In Proceedings of the 21th ACM/IEEE International Conference on Model Driven Engineering Languages and Systems (Copenhagen, Denmark) (MODELS '18). ACM, New York, NY, USA, 370--380.
    [16]
    B. Selic. 2002. The real-time UML standard: definition and application. In Proceedings 2002 Design, Automation and Test in Europe Conference and Exhibition. 770--772.
    [17]
    Sourcegraph. 2022. Langserver.org A community-driven source of knowledge for Language Server Protocol implementations. https://langserver.org/
    [18]
    Edward R Tufte, Susan R McKay, Wolfgang Christian, and James R Matey. 1998. Visual explanations: Images and quantities, evidence and narrative.
    [19]
    Liam Walsh. 2020. Slide Deck: Toward Client-Agnostic Hybrid Model Editor Tools as a Service. https://msdl.uantwerpen.be/conferences/MPM4CPS/2020/wp-content/uploads/2020/11/Liam_Walsh_MPM4CPS_2020.pdf
    [20]
    Liam Walsh, Juergen Dingel, and Karim Jahed. 2020. Toward client-agnostic hybrid model editor tools as a service. In Proceedings of the 23rd ACM/IEEE International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings. 1--1.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    MODELS '22: Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings
    October 2022
    1003 pages
    ISBN:9781450394673
    DOI:10.1145/3550356
    • Conference Chairs:
    • Thomas Kühn,
    • Vasco Sousa
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    • Univ. of Montreal: University of Montreal
    • IEEE CS

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 09 November 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. LSP
    2. UML-RT
    3. graphical modeling
    4. hybrid
    5. language server

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    MODELS '22
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 118 of 382 submissions, 31%

    Upcoming Conference

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 47
      Total Downloads
    • Downloads (Last 12 months)10
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 27 Jul 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media