A Generic Projectional Editor for EMF Models

Total Page:16

File Type:pdf, Size:1020Kb

A Generic Projectional Editor for EMF Models A Generic Projectional Editor for EMF Models Johannes Schropfer,¨ Thomas Buchmann and Bernhard Westfechtel Chair of Applied Computer Science I, University of Bayreuth, Universitatsstrasse¨ 30, 95440 Bayreuth, Germany fi[email protected] Keywords: Model-driven Development, Projectional Editing, ALF, Java, Ecore, Syntax-directed Editor, Generic Frame- work. Abstract: The Eclipse Modeling Framework (EMF) constitutes a popular ecosystem for model-driven development. In the technological space of EMF, a wide variety of model-based tools have been developed, including tools for transforming and editing models. Model editors may display models in different representations such as diagrams, trees, or tables. Due to the increasing popularity of human-readable textual syntax, there is a growing demand for textual model editors. In EMF, this demand is currently satisfied by syntax-based editors which persist models as text files. In contrast, we propose a projectional editor that persists models natively as EMF models; the textual representation constitutes a projection of the underlying EMF model. Projectional editing does not only exclude syntactic errors; in addition, maintaining the underlying model persistently facilitates tool integration. The projectional editor is generic; it may be instantiated for different modeling languages by declarative definitions of their concrete syntax. So far, model editors for subsets of Java and ALF (Action Language for Foundational UML) have been built to demonstrate the feasibility of the generic approach. 1 INTRODUCTION diagram editors while EMF Parsley4 (Bettini, 2014) focuses on visualizations as trees, forms, or tables. While diagrams have been frequently used for The Eclipse Modeling Framework (EMF) (Stein- representing models, human-readable textual syntax berg et al., 2009) constitutes a popular ecosystem has become more and more popular recently. The for model-driven development. In the technological term “human-readable” excludes textual representa- space of EMF, a wide variety of tools for model- tions such as XML that have been designed for data driven development have been implemented. EMF exchange. Rather, human-readable syntax for mod- has established itself as a de facto standard for data els resembles the textual syntax of programming lan- models upon which many technologies and frame- guages. The trend towards human-readable syntax works are based, including server solutions, persis- may be exemplified by recent work on the Action Lan- tence frameworks, UI frameworks, and support for guage for Foundational UML (ALF) (OMG, 2017a). transformations1. While the UML standard (OMG, 2017b) originally Model editors which provide tool support for cre- defined only the abstract syntax of models and their ating, modifying, analyzing, and displaying mod- representation as diagrams, ALF provides a textual els, constitute key components of environments for language for both structural and behavioral model- model-driven development. Probably the first EMF- ing of a subset of UML (Foundational UML or fUML based editor that has been provided is the tree editor (OMG, 2018)) that features foundational execution belonging to the EMF core. Since then, a number of semantics. frameworks for building model editors have been de- Textual editors may be divided roughly into two veloped for different model representations. For ex- 2 3 categories. Syntax-based editors (cf. Figure 1) treat ample, frameworks such as GMF and Sirius (Ma- the text as the primary artifact that is stored persis- diot and Paganelli, 2015) support the development of tently. A command issued by the user results in the text being updated. Subsequently, the changes are 1https://www.eclipse.org/modeling/emf propagated to the model – i.e., to the abstract syntax 2https://www.eclipse.org/modeling/gmp/ 3https://www.eclipse.org/sirius/ 4https://www.eclipse.org/emf-parsley/index.html Modeler Modeler (1) Issues Command (1) Issues Command Syntax-Based Projectional Editor Editor (4) Updates Model (2) Updates Text (2) Updates Model (4) Updates Text (3) Propagates Changes (3) Propagates Changes Model Text Model Text (Transient) (Persistent) (Persistent) (Transient) Figure 1: Syntax-based editing. Figure 2: Projectional editing. tree that is represented by the plain text. The model be related by inter-model links, e.g., traceability is maintained only transiently, during an editing ses- links connecting models at different levels of ab- sion, and is used primarily for incremental syntactic straction or links between features and domain and semantic analysis. model elements in software product lines. Since In the technological space of EMF, among several text files do not provide for reliable identifiers of tools for building syntax-based editors, e.g., EMF- model elements, inter-model links may be easily Text5 (Heidenreich et al., 2011) for textual languages corrupted. that can be easily extended and integrated with other Projectional editors 6 (cf. Figure 2) invert the languages, the framework Xtext (Bettini, 2016) is syntax-based approach to model editing. Rather than the most prominent one. The editors are generated the text (concrete syntax), the model (abstract syn- from a grammar definition that refers to an underly- tax) is persisted. In the context of product line engi- ing metamodel. Grammar rules in Xtext are based neering, a great importance is attached to projectional on the Extended Backus-Naur Form (EBNF) (Yue, editors, e.g., the PEoPL approach (Behringer et al., 2014). Either the starting point is the grammar from 2017) combines different representations. Commands which the metamodel is generated (concrete syntax issued by the modeler affect the model rather than the first) or the grammar is specified for an existing meta- text. After the model has been updated, the changes model (abstract syntax first) which has been built us- are propagated to the text which is updated accord- ing any tool in the EMF context (e.g., the Ecore tree ingly in turn. For experienced users, projectional editor). The generated editor artifacts can be aug- 7 editors may feel less natural and comfortable than mented with Xtend classes describing the custom syntax-based editors (Volter¨ et al., 2014). On the scoping rules, validation constraints, hovering infor- other hand, projectional editors solve the problems mation, highlighting, etc. The (customized) editor mentioned above: plug-ins for the specific language may be used by ar- bitrary EMF-based projects. • A projectional editor guarantees syntactic cor- Syntax-based editors are flexible since they allow rectness by offering only commands that per- the modeler to issue arbitrary text-based commands. form correctness-preserving in-place model trans- For the same reason, they are easy to learn (usually, formations. For example, a command for insert- the modeler is familiar with the operation of text edi- ing some syntactic unit is allowed only at loca- tors). On the other hand, they suffer from the follow- tions where this unit is legal and ensures syntactic ing shortcomings: correctness of the inserted syntactic unit. • • There is a high risk of syntactic errors since the A projectional editor facilitates tool integration by modeler may type arbitrary text. This may be providing reliable means for identifying model el- problematic for beginners who are not familiar ements. While line numbers in text files are sub- uni- with the respective modeling language. ject to change, elements may be assigned versally unique identifiers (UUIDs) that are im- • Tool integration may be hampered by storing mutable. models as text files. For example, models may This paper fills a gap in the EMF tool landscape by 5https://marketplace.eclipse.org/content/emftext providing a generic projectional editor for EMF mod- 6https://www.eclipse.org/Xtext/ els that is distinguished by the following key proper- 7a Java dialect, see https://www.eclipse.org/xtend/ ties: • The projectional editor stores the abstract syntax for each type in a separate file – similar to defining of some model as an ordinary EMF model, en- Java classes. Furthermore, instead of specifying the abling integration with any EMF-based tool for concrete syntax similar to a grammar, each concept model transformations, code generation, etc. provides an additional text file to describe the nota- • The projectional editor is generic inasmuch as an tion of the respective element. For defining custom EMF model may be instantiated from an arbi- scoping, validation, building a type system, etc. also trary metamodel (defining the abstract syntax of a special textual notation is used instead of providing some modeling language) that provides univer- artifacts in a common general-purpose language. sally unique identifiers for objects. The rest of this paper is structured as follows: Sec- tion 2 provides an overview of our approach to pro- • So far, the projectional editor supports textual rep- jectional editing. Section 3 explains the functionality resentations. However, its underlying design is and the user interface of the projectional editor by out- extensible such that support for other representa- lining an exemplarily editing process within a sample tions (e.g., diagrams) may be added in the future. ALF editor. Section 4 describes its underlying soft- • Deviating from Figure 2, representations are per- ware architecture. Section 5 introduces the language sisted, as well – again as EMF models. This that is used for context-free syntax definitions while approach allows to persist
Recommended publications
  • Modeling for Rapid Systems Prototyping: Hospital Situational Awareness System Design †
    systems Article Modeling for Rapid Systems Prototyping: Hospital Situational Awareness System Design † Avi Shaked Israel Aerospace Industries ELTA Systems, Ashdod 7710202, Israel; [email protected] † This paper includes a significant elaboration of the work “Shaked, A. On the Road to Hospital Digital Transformation: Using Conceptual Modeling to Express Domain Ontology”. In Proceedings of the 12th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management (IC3K 2020), Online, 2–4 November 2020. Abstract: The COVID-19 pandemic caught hospitals unprepared. The need to treat patients remotely and with limited resources led hospitals to identify a gap in their operational situational awareness. During the pandemic, Israeli Aerospace Industries helped hospitals to address the gap by designing a system to support their effective operation, management and decision making. In this paper, we report on the development of a functional, working prototype of the system using model-based engineering approach and tools. Our approach relies on domain-specific modeling, incorporating metamodeling and domain-specific representations based on the problem domain’s ontology. The tools practiced are those embedded into the Eclipse Modeling Framework—specifically, Ecore Tools and Sirius. While these technological tools are typically used to create dedicated, engineering-related modeling tools, in this work, we use them to create a functional system prototype. We discuss the advantages of our approach as well as the challenges with respect to the existing tools and their underlying technology. Based on the reported experience, we encourage practitioners to adopt model-based engineering as an effective way to develop systems. Furthermore, we call researchers and tool developers to improve the state-of-the-art as well as the existing implementations of pertinent tools to support model-based rapid prototyping.
    [Show full text]
  • Xtext / Sirius - Integration the Main Use-Cases
    Xtext / Sirius - Integration The Main Use-Cases White Paper December 2017 SUMMARY Chapter 1 Introduction 1 Chapter 2 Let’s start 2 Chapter 2.1 What modeling is about? 2 Chapter 2.2 Benefits of graphical modeling 3 Chapter 2.3 Benefits of textual modeling 5 Chapter 3 What is Xtext? 6 Chapter 4 What is Sirius? 8 Chapter 5 Xtext & Sirius in action 10 Chapter 5.1 Case 1: Editing the same models both graphically and textually 10 Chapter 5.2 Case 2: Embedding an Xtext Editor into Sirius 15 Chapter 6 How may we help you? 18 Introduction Introduction You are going to create a domain-specific modeling tool and you wonder how users will edit and visualize the models: textually with a dedicated syntax and a rich textual editor ? or graphically with diagrams drawn with a palette and smart tools? Both approaches are interesting and can be used complementary: While text is able to carry more detailed information, a diagram highlights the relationship between elements much better. In the end, a good tool should combine both, and use each notation where it suits best. In this white paper, we will explain the benefits of each approach. Then we will present Eclipse Xtext and Eclipse Sirius, two open-source frameworks for the development of textual and graphical model editors. And finally, we will detailed two use-cases where these two technologies can be integrated in the same modeling workbench. 1 Let’s start Let’s start What modeling is about? Before presenting the graphical and textual modeling approaches, it is important to briefly clarify what we mean by modeling.
    [Show full text]
  • Flexible Graphical Editors for Extensible Modular Meta Models
    X perf =1.00 X loss =0.01 SDSoftware Design and Quality Flexible Graphical Editors for Extensible Modular Meta Models Master’s Thesis of B.Sc. Michael Junker at the Department of Informatics Institute for Program Structures and Data Organization (IPD) Reviewer: Prof. Dr. Ralf Reussner Second reviewer: Jun.-Prof. Dr.-Ing. Anne Koziolek Advisor: Dipl.-Inform. Misha Strittmatter Second advisor: M.Sc. Heiko Klare 12. April 2016 – 11. October 2016 Karlsruher Institut für Technologie Fakultät für Informatik Postfach 6980 76128 Karlsruhe I declare that I have developed and written the enclosed thesis completely by myself, and have not used sources or means without declaration in the text. Karlsruhe, 10.October 2016 .................................... (B.Sc. Michael Junker) Abstract In model-driven software development, graphical editors can be used to create model instances more eciently and intuitively than with pure XML code. These graphical editors rely on models created on the basis of a meta-model. If such a meta-model is extended invasively not only its code has to be re-generated but also the graphical editor needs to be adapted. When developing multiple extensions, the meta-model as well as the corresponding graphical editor tend to get complex and error-prone. One way of coping with this complexity is to use modular meta-models and extending them noninvasively. However, having multiple meta-model fragments providing extended features is only half the job as equivalent graphical editors are needed as well. This master’s thesis therefore analyzes dierent types of extensions for meta-models as well as on graphical editor level.
    [Show full text]
  • AMASS Platform Developers' Guide
    ECSEL Research and Innovation actions (RIA) AMASS Architecture-driven, Multi-concern and Seamless Assurance and Certification of Cyber-Physical Systems AMASS Platform Developers’ Guide Work Package: WP2: Reference Architecture and Integration Dissemination level: PU = Public Status: Final Date: 21st November 2018 Responsible partner: Ángel López (Tecnalia Research & Innovation) Contact information: [email protected] Document reference: AMASS_Platform_DevelopersGuide_WP2_TEC_V1.0 PROPRIETARY RIGHTS STATEMENT This document contains information that is proprietary to the AMASS Consortium. Permission to reproduce any content for non-commercial purposes is granted, provided that this document and the AMASS project are credited as source. This deliverable is part of a project that has received funding from the ECSEL JU under grant agreement No 692474. This Joint Undertaking receives support from the European Union’s Horizon 2020 research and innovation programe and from Spain, Czech Republic, Germany, Sweden, Italy, United Kingdom and France. Contributors Names Organisation A. Ruiz, H. Espinoza, A. Lopez TECNALIA Research & Innovation (TEC) I. Ayala, B. Gallina, M. A. Javed Maelardalens Hoegskola (MDH) S. Puri INTECS (INT) Reviewers Names Organisation C. Martinez (Quality Manager) TECNALIA Research & Innovation (TEC) H2020-JTI-ECSEL-2015 # 692474 Page 2 of 68 AMASS AMASS Platform Developers’ Guide V1.0 TABLE OF CONTENTS Executive Summary...............................................................................................................................
    [Show full text]
  • Visual Environment for Editing and Solving Flowsheets : Design
    Visual environment for editing and solving flowsheets : design and implementation of a visual environment for editing and solving flowsheets to produce heat and material balances for urea plant designs Citation for published version (APA): Raptis, K. (2017). Visual environment for editing and solving flowsheets : design and implementation of a visual environment for editing and solving flowsheets to produce heat and material balances for urea plant designs. Technische Universiteit Eindhoven. Document status and date: Published: 28/09/2017 Document Version: Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication: • A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website. • The final author version and the galley proof are versions of the publication after peer review. • The final published version features the final layout of the paper including the volume, issue and page numbers. Link to publication General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research.
    [Show full text]
  • CIIRC Testbed 77 9.1 Resources
    A Graphical Toolkit for ISA-95 Empowering End Users to Develop Bridges between ERP and MES MASTER’S THESIS submitted in partial fulfillment of the requirements for the degree of Master of Science in Business Informatics by Laurens Lang, B.Sc. Registration Number 11719751 to the Faculty of Informatics at the TU Wien Advisor: a.o. Univ.-Prof. Mag. Dr. Christian Huemer Assistance: Bernhard Wally, MSc Vienna, 1st April, 2020 Laurens Lang Christian Huemer Technische Universität Wien A-1040 Wien Karlsplatz 13 Tel. +43-1-58801-0 www.tuwien.at Danksagung An dieser Stelle möchte ich allen Personen danken, die mit ihrer Unterstützung zum Gelingen dieser Arbeit beigetragen haben. Ich möchte meinem Betreuer Bernhard Wally danken. Er hat mir nicht nur mit großer Hilfsbereitschaft und kritischen Hinweisen bei der Erstellung dieser Arbeit geholfen, sondern auch viele neue Einblicke in das wissenschaftliche Arbeiten gegeben. Die Exkurse nach Prag, Linz und Hamburg haben mir sehr gut gefallen und ich möchte mich herzlich bedanken, dass mir so viel Raum für das Ausleben meiner Ideen gegeben wurde. Außerdem konnte ich extrem viel von ihm lernen. Außerdem möchte ich Herrn Prof. Dr. Christian Huemer danken, der es mir ermöglicht hat, diese Arbeit in der Business Informatics Group (BIG) zu schreiben. Desweiteren möchte ich Prof. Dr. Manuel Wimmer und dem Christian Doppler For- schungslabor für Intelligente Modellintegrierte Produktion, die es ermöglicht haben, dass ich die Inhalte der Arbeit in zwei Papers publizieren durfte. Außerdem danke ich dem Czech Institute of Informatics, Robotics and Cybernetics für die Einblicke in ihre Arbeit und den zwei Einladungen nach Prag.
    [Show full text]
  • Actes Des 17Èmes Journées Approches Formelles Dans L'assistance Au Développement De Logiciels
    Actes des 17emes` journees´ sur les Approches Formelles dans l’Assistance au Developpement´ de Logiciels Edit´ es´ par Antoine Rollet et Arnaud Lanoix Les 13, 14 et 15 juin 2018 a` Grenoble Approches Formelles dans l’Assistance au Developpement´ de Logiciels – AFADL’18 Preface´ L’atelier francophone AFADL sur les Approches Formelles dans l’Assistance au Developpement´ de Logiciels, se tiendra pour sa 17eme` edition´ les 13, 14 et 15 juin 2018 a` Grenoble. Cette annee´ encore, cet atelier est organise´ conjointement avec les journees´ du GDR-GPL, la Conference´ en IngenieriE´ du Logiciel (CIEL) et la Conference´ francophone sur les Architectures Logicielles (CAL). L’atelier AFADL rassemble de nombreux acteurs academiques´ et industriels francophones interes-´ ses´ par la mise en œuvre des techniques formelles aux divers stades du developpement´ des logiciels et/ou des systemes.` Il a pour objectif de mettre en valeur les travaux recents´ effectues´ autour de themes` comme la preuve, la verification,´ le test, l’analyse de code, etc... ou toute autre approche formelle permettant de developper´ des applications sures,ˆ allant de la specification´ du systeme` a` sa vie operationnelle.´ AFADL reste un lieu privilegi´ e´ pour les echanges´ et les discussions. En encourageant un format court, et graceˆ a` des types de soumissions varies,´ comportant des articles courts, des demonstrations´ d’outils, des presentations´ de projets, des resum´ es´ longs de travaux dej´ a` publies´ et des travaux de doctorants, AFADL permet d’entrevoir l’activite´
    [Show full text]
  • Domain-Specific Modeling (And the Eclipse Modeling Framework)
    Domain-specific modeling (and the Eclipse Modeling Framework) Ákos Horváth Gábor Bergmann Dániel Varró István Ráth Model Driven Software Development Lecture 2 Budapesti Műszaki és Gazdaságtudományi Egyetem Méréstechnika és Információs Rendszerek TanszékMetamodeling and Domain Specific Modeling METAMODELS, INSTANCE MODELS Metamodeling and Domain Specific Modeling Metamodel: Specify Concepts an Appl. Domain Automaton § Metamodel: o Precise specification of transitions initial states domain concepts of a CompState State from Transition modeling language kind:StateEnum to § Goal: to define... Metamodel o Basic concepts o Relations between concepts t3 fr to o Attributes of concepts ini Abstraction / refinement st st o s1 a1 s3 (Taxonomy, Ontology) tr tr fr st to between model elements t1 s2 t2 o Aggregation to fr o Multiplicity restrictions Instance model o ... Metamodels and instance models Reference / Automaton refine Aggregation Association 1..* transitions initial states Multiplicity 1 * Class CompState State from Transition kind:StateEnum Generalization to Attribute Metamodel level Object Metamodel Model level t3 fr to a1 s3 Role ini t3 st st s1 a1 s3 s1 t2 tr tr fr st to t1 s2 t1 s2 t2 to fr Abstract syntax Concrete syntax Type conformance /Instantiation /Classification Automaton § Each model element is refine an instance of (conforms to) transitions initial states a metamodel element CompState State from Transition § kind:StateEnum Direct type: to o No other type exists «instanceOf»… … lower in the type hierarchy o s1 à CompState t3 fr to ini st st § Indirect type: s1 a1 s3 tr tr o Superclass of the direct type fr st to à t1 s2 t2 o s1 State to fr Classification vs.
    [Show full text]
  • Obeo Accelerates Growth, Increases Exposure As a Strategic Member of the Eclipse Foundation
    Obeo Accelerates Growth, Increases Exposure as a Strategic Member of the Eclipse Foundation Case Study 1 Eclipse Foundation Case Study Building a Stronger Open Source Strategy at the Eclipse Foundation pen source software has been key to Obeo’s product strategy since the company was created in 2005 in France. The original Obeo team was very small — three O company founders and an intern — and they believed an open source strategy was the best way to increase usage of Acceleo, the company’s software for model-driven development, and build brand awareness. The strategy was successful. Today, Obeo a clear view of the factors that helped Obeo build employs dozens of people, partners with major credibility and market awareness. industry players, and has a global customer base. “Our growth, especially our growth outside of The company is also a member of the Eclipse France, would not have been possible without the Foundation Board of Directors. reputation we built by participating in the Eclipse Cédric Brun is Obeo’s Foundation,” he says. “Our involvement in the CEO. He was also the Eclipse Foundation helped us to be recognized in company’s first intern. our technical niche in just a few years.” With his long history Obeo specializes in open source solutions to create and leadership role at and transform complex industrial systems, IT the company, Brun has applications, and corporate digital operations. The Cédric Brun, CEO, Obeo COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) 2 Eclipse Foundation Case Study Acceleo software has always been open source, but it was not originally hosted at the Eclipse “Open source has been an Foundation.
    [Show full text]
  • Deep, Seamless, Multi-Format, Multi-Notation Definition and Use of Domain-Specific Languages
    Deep, Seamless, Multi-format, Multi-notation Definition and Use of Domain-specific Languages Inauguraldissertation zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften der Universität Mannheim vorgelegt von Diplom-Wirtschaftsinformatiker Ralph Gerbig aus Worms Mannheim, 2017 Dekan: Professor Dr. Heinz Jürgen Müller, Unversität Mannheim Referent: Professor Dr. Colin Atkinson, Unversität Mannheim Korreferent: Professor Dr. Juan de Lara, Universidad Autónoma de Madrid Tag der mündlichen Prüfung: 24. Februar 2017 To Valerie. Acknowledgments I thank Colin Atkinson for the supervision and the support he provided during the last six exciting years. We had a lot of open minded and fruitful discussi- ons and he gave invaluable guidance and feedback on this dissertation and the Melanee tool. I also thank Juan de Lara, my second supervisor, for his input to this dis- sertation and the joint research. Especially, I want to thank him for hosting one of my students at the Universidad Autónoma de Madrid and the support he gave to this student during his master thesis. I thank all the students who contributed towards the success of this dis- sertation in the form of seminars and bachelor/master theses and as student assistants. Especially, I want to thank Nicole Wesemeyer, Katharina Markert, Daniel Gritzner and Dominik Kantner for their outstanding contributions to the Melanee tool. I thank Bastian Kennel, for supervising my diploma (cf. master) thesis on the topic of deep modeling. This built the foundation for all following research leading to the Melanee tool as it is today and the approach described in the dissertation. I thank Mathias Fritzsche for the opportunity to join him for an internship at SAP Research in Belfast where I had my first taste of research, model-driven development and Eclipse Plug-in development.
    [Show full text]
  • Automated Migration of Eugenia Graphical Editors to the Web
    Automated Migration of EuGENia Graphical Editors to the Web Fatima Rani Pablo Diez Enrique Chavarriaga UGROUND GLOBAL, S.L UGROUND GLOBAL, S.L UGROUND GLOBAL, S.L Madrid, Spain Madrid, Spain Madrid, Spain [email protected] [email protected] [email protected] Esther Guerra Juan de Lara Universidad Autónoma de Madrid Universidad Autónoma de Madrid Madrid, Spain Madrid, Spain [email protected] [email protected] ABSTRACT 1 INTRODUCTION Domain-specific languages (DSLs) are languages tailored for partic- Model-Driven Engineering (MDE) [29] is a software paradigm that ular domains. Many frameworks and tools have been proposed to prescribes an active use of models during the construction process. develop editors for DSLs, especially for desktop IDEs, like Eclipse. Thus, models are used to describe, validate, simulate, generate code We are witnessing the advent of low-code development plat- and maintain the software, among many other activities. These forms, which are cloud-based environments supporting rapid appli- models can be built using general-purpose modelling languages, cation development by using graphical languages and forms. While such as the Unified Modelling Language (UML), but the useof this approach is very promising, the creation of new low-code plat- Domain-Specific Languages (DSLs) is also common [16]. forms may require the migration of existing desktop-based editors DSLs are languages tailored to a specific problem, containing to the web. However, this is a technically challenging task. customized concepts representing the abstractions within the do- To fill this gap, we present ROCCO, a tool that migrates Eclipse- main [10, 21, 22]. This way, the definition of (graphical) DSLs, and based graphical modelling editors to the web, to facilitate their their modelling environments is recurrent when building MDE integration with low-code platforms.
    [Show full text]
  • A Graphical Workflow Editor for Tool Integration in the Design And
    A Graphical Workflow Editor for Tool Integration in the Design and Analysis of Gas Turbines Jasvir Kaur Dhaliwal A thesis submitted to McGill University in partial fulfillment of the requirements of the degree of MASTER OF SCIENCE The faculty of Electrical and Computer Engineering McGill University Montreal April 2020 c Jasvir Kaur Dhaliwal 2020 Abstract The development of complex cyber-physical systems such as aeroderivative gas turbines (AGT) frequently involves running variety of multi-disciplinary design and analysis tools executed along hierarchical workflows in a collaborative environment. The efficient and accurate definition of tool integration workflows is a major challenge because the processing of data for each tool in the sequence is dependent upon the results generated by the other tool. In this thesis, I present a graphical workflow editor to provide an interactive, intuitive and user- friendly tool to define complex tool integration workflows. The workflow editor builds on several innovative ideas: (1) instead of a static palette, reusable workflow elements can be selected and instantiated from a dynamic library of model classes, which is continuously synchronized with a version control system, (2) workflow elements are placed on a grid layout similar to UML swimlanes but with dynamically expandable columns and rows, (3) auto-wiring is provided to draw connections between type compatible workflow elements. The workflow editor is developed using popular model-based tool development platforms such as Eclipse Modeling Framework (EMF) for the definition of concepts of the domain specific language, Graphical Modeling Framework (GMF) and Sirius for the development of graphical modeling work- bench. For the model-to-text transformation, VIATRA framework is used which provides a graph pattern based query language and an efficient incremental query engine.
    [Show full text]