11
Modeling With Eclipse Mickaël Istria & Aurélien Pupier @EclipseDemocamp, June 28 th 2011 licensed CC BY 2.0 @Eclipse Grenoble democamp 1

Modeling with eclipse

Embed Size (px)

DESCRIPTION

Allow better understanding of the issue/problem/domain

Citation preview

Page 1: Modeling with eclipse

@Eclipse Grenoble democamp 1

Modeling With Eclipse

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

Page 2: Modeling with eclipse

@Eclipse Grenoble democamp 2

Allow better understanding of the issue/problem/domain

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

What is Modeling?

Page 3: Modeling with eclipse

@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)!

Page 4: Modeling with eclipse

@Eclipse Grenoble democamp 4

EMF is the core of the modeling “ecosystem” at

Eclipse

Page 5: Modeling with eclipse

@Eclipse Grenoble democamp 5

Nice edition of your model: EEF

Page 6: Modeling with eclipse

@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

Page 7: Modeling with eclipse

@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

Page 8: Modeling with eclipse

@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

Page 9: Modeling with eclipse

@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

Page 10: Modeling with eclipse

@Eclipse Grenoble democamp 10

Project relying on Eclipse Modeling