EMF Facet at ESE 2010

2,004 views

Published on

Presentation of EMF Facet project at Eclipse Summit 2010

http://www.eclipsecon.org/summiteurope2010/sessions/?page=sessions&id=1758

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,004
On SlideShare
0
From Embeds
0
Number of Embeds
209
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • First of all, let me me introduce Mia-Software and Atlanmod.
    Mia-Software is member of the Eclipse foundation and we develop tools based on model-driven engineering.
    These tools can be combined to transform existing software systems with a model-driven approach.
    The idea is to create models from the existing systems, transform these models and regenerate the code with a new architecture or new technology.
  • EMF Facet at ESE 2010

    1. 1. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved EMF Facet A Non-Intrusive Tooling to Extend Metamodels Frédéric Madiot, Mia-Software Grégoire Dupé, Mia-Software
    2. 2. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Mia-Software Mia-Software is a Software Company 80 customers, in 10 different countries Eclipse Foundation member (5 committers) Develops Model-Driven solutions since 1998 Mia-Insight : Quality Analysis Legacy Understanding Application Mining Mia-Studio Model-to-Model transformation Model-to-Text transformation Eclipse Projects MDT/MoDisco EMFT/EMF Facet
    3. 3. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Why to extend ?
    4. 4. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Add new links
    5. 5. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Add new attributes
    6. 6. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Add new operations
    7. 7. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Add new subtypes
    8. 8. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Icon depending on the category Add non-semantic properties IconLabel color depending on the number of books
    9. 9. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Oups…!
    10. 10. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Extensibility limitations What if you are not the author of the metamodel ? You can’t always change the metamodel ex: UML What to do with existing models ? Existing Instances can’t change their type Ex: Book -> ScienceFictionBook What if your extension is specific to a working context ? You can’t dynamically create/load/unload extensions Ex: Statistics, Shortcuts, Viewpoint, etc.
    11. 11. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved EMF Facet project An non-intrusive metamodel extension tooling http://www.eclipse.org/modeling/emft/facet/ Initial contribution from MoDisco Facet Metamodel extensibility Customization Generic additional properties Query Computable values
    12. 12. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Why to use EMF Facet? Tools developpers: provide customizable tools Call EMF Facet APIs Execute Queries Apply Facets Get extended Attributes and References values Get graphical property values Integrate customizable tree view Tools users: adapt tools to your needs Write your own queries Customize your diagrams, forms, trees, … Declare your own model extension
    13. 13. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Demo
    14. 14. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved What can you do with EMF Facet ?
    15. 15. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Example: UML extension for SysML
    16. 16. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Example: Java extension for JPA Additional attribute
    17. 17. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Example: Java extension for JUnit Icon for test methods Additional relations
    18. 18. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Example: Java extension for JUnit Additional attributes Color calculated dynamically
    19. 19. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Project Status Project plan Project creation: done Initial contribution: in progress Refactoring: in progress Release within Indigo Team Gabriel Barbier (Mia-Software) Nicolas Bros (Mia-Software) Hugo Brunelière (INRIA / AtlanMod) Grégoire Dupé (Mia-Software) Fabien Giquel (Mia-Software) Frédéric Madiot (Mia-Software) Patrick Tessier (CEA)
    20. 20. Copyright © 2010 Mia-Software All Rights Reserved Copyright © 2010 Mia-Software All Rights Reserved Thank you ! Eclipse projects http://www.eclipse.org/MoDisco/ http://www.eclipse.org/modeling/emft/facet/ Company http://www.mia-software.com/ http://www.sodifrance.fr/ Blog http://fmadiot.blogspot.com/

    ×