09 jan 2020 an overview of emf gmf tool in eclipse ide
play

09-Jan-2020 An Overview of EMF/GMF Tool in Eclipse IDE Presented - PowerPoint PPT Presentation

09-Jan-2020 An Overview of EMF/GMF Tool in Eclipse IDE Presented by- Heerok Banerjee Graduate Student Dept. of Mathematics and Computer Science University of Antwerp http://www.heerokbanerjee.in/research The Next 15 Model


  1. 09-Jan-2020

  2. An Overview of EMF/GMF Tool in Eclipse IDE Presented by- Heerok Banerjee Graduate Student Dept. of Mathematics and Computer Science University of Antwerp http://www.heerokbanerjee.in/research

  3. The Next 15’ Model Transformation; Code Generation; Eclipse EMF; Takeaways Model Editors Ecore meta-models 2 mins 3 mins 2 mins 3 mins 2 mins Modelling Eclipse GMF; from Scratch EMF Forms 3

  4. Too much work! “ Developing business web applications with form-based UIs”. Maximillian Koegel, Eclipsecon2017. Statistics show that a lot of effort is spent in designing UI. So, can we optimize the upfront time in building UI from scratch?

  5. What is Eclipse EMF/GMF in a nutshell A modelling and UI integration framework. Simple and pragmatic. ● Ecore meta-models ● Reflective APIs ● Code Generation ● Form-based UIs 5

  6. The Ecore meta-modelling language

  7. Property-driven vs Visual Editors? The choice is yours! Different views, but format is persistent (XSD/XMI). Easily exportable.

  8. EMF/GMF Modelling Workflow

  9. Code Generation Ecore meta-model 1 Domain Model 2 Genmodel 3 Test Code (*.test) Model Code Edit Code Editor Code (/src) (*.edit) (*.editor)

  10. GMF Dashboard Code generation is entirely automated. We only need one Domain model to generate the rest.

  11. → EMF Forms Model-based UIs “ Getting started with EMF forms”. Eclipse Source.

  12. Examples ● Basic CRUD implementation for attributes. ● Embedded forms to support dynamic changes.

  13. Model Transformation Tool/Framework Transformation Remarks declarative-imperative Eclipse EMF/ GMF ATL MMT language Diagram updates from Eclipse Graphiti - model changes Rule-based; visual AToMPM MoTIF Uses underlying GMF impl. Sirius Acceleo/ATL Declarative language for MetaDepth ETL MMT by exporting to ecore Xtext ATL models

  14. Model Transformation (contd.) Endogeneous transformations are not supported. Source and Target models must be distinct. “ model-to-model Transformation with ATL”. Fredric Jouault et. all, Eclipsecon 2008. Diagram Refactoring can be employed to make minor changes in existing models. ATL transformation for notation to notation. However, semantics is lost!

  15. Key Takeaways ● Eclipse EMF provides tools to build domain models and DSL model editors. ● Eclipse EMF/GMF reduces upfront effort for code generation and UI implementation. ● Model transformation is tricky in graphical editors, but achievable. ● With great power, comes greater inconvenience.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend