Modeling with eclipse

Post on 11-May-2015

1.623 views 4 download

Tags:

description

Allow better understanding of the issue/problem/domain

Transcript of Modeling with eclipse

@Eclipse Grenoble democamp 1

Modeling With Eclipse

Mickaël Istria & Aurélien Pupier@EclipseDemocamp, June 28th 2011licensed CC BY 2.0

@Eclipse Grenoble democamp 2

Allow better understanding of the issue/problem/domain

Representation of the entity◦ Manipulate◦ Store◦ Share◦ Transform◦ Edit

What is Modeling?

@Eclipse Grenoble democamp 3

“EObject” for abstraction & introspection

Ecore to describe the (meta)models

Offers (de)serialization, generation of your domain model API

Smart tooling

Independent from Eclipse Platform (embed it in smartphones or GWT…)

Model the world (with EMF)!

@Eclipse Grenoble democamp 4

EMF is the core of the modeling “ecosystem” at

Eclipse

@Eclipse Grenoble democamp 5

Nice edition of your model: EEF

@Eclipse Grenoble democamp 6

M2T (Model to Text)◦ XPand◦ JET

Transform to text

Doc Code generation

A2

A1

Meta A

M2T

Just apply

Blah-blah <%model.name%>

Blah-blah A1

Blah-blah A2

@Eclipse Grenoble democamp 7

M2M (Model to Model)◦ QVT◦ ATL

Transform Model to another Model

A2 B2

A1 B1

Meta A Meta B

M2M

Just apply

@Eclipse Grenoble democamp 8

Use GMP◦ GMF

Notation Runtime Tooling

◦ Graphiti

Graphical manipulation of your Models

Semantic Model (ecore)

Diagram Model

GMF codegen

Diagram code

@Eclipse Grenoble democamp 9

XText is a view of your Models, Not a transformation!

Textual manipulation of your Models

Semantic Model (ecore)

Grammar

Textual editor

@Eclipse Grenoble democamp 10

Project relying on Eclipse Modeling

@Eclipse Grenoble democamp 11

@mickaelistriamickael.istria@petalslink.comhttp://mickael.istria.wordpress.com

@apupieraurelien.pupier@bonitasoft.comwww.bonitasoft.org/blog/category/eclipse

Contacts