Transcript
Page 1: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Jonathan Musset [email protected]

ObeoFrance

A standard alternative for code generation :

Acceleo MTL...

Page 2: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Obeo

Eclipse Modeling Project M2T : MTL M2M : ATL EMF : EMF Compare, EEF Papyrus UML

Eclipse STP – SCA

Acceleo Acceleo MTL

Page 3: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Demo - EEF

Page 4: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Modules and Projects

Page 5: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Template Editor Features

Page 6: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Smart Completion on Syntax Constructs

Page 7: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Smart Completion on Scripts and Meta-model

Page 8: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Open Declaration and Search References

Page 9: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Java Standalone API to run modules

Page 10: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Run As > Ant Build

Page 11: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Running modules

Page 12: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Debugging modules

Page 13: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Module UI – Create a Popup Action to Generate

Page 14: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Dynamic templates

Create templates from an example

Advanced Eclipse Features

Page 15: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

OMG Specification – Compliance levels

80% for Galileo

Page 16: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

We would like to make MTL as easier as possible

Simplify OCL with a better tool support

OMG Specification – Complex?

Page 17: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Galileo Train

Very useful right now

Examples are available : uml to java, ecore to python

Conclusion

Page 18: Acceleo MTL Code Generation

© Copyright 2009 Obeo.; made available under the EPL v1.0 | Mar 26, 2009

Thanks for your attention, any question ?

Further information : http://www.omg.org/ http://www.eclipse.org/m2t http://www.obeo.fr http://www.eclipse.org/modeling/m2t/downloads/?project=mtl

[email protected]


Top Related