Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Uml to code with acceleo

UML to Code Transformation using Acceleo Introduction to Papyrus
Eclipse modeling Tooling Components

  • Login to see the comments

Uml to code with acceleo

  1. 1. UML to code with AcceleoTarun TelangDecember 12, 2011 Public
  2. 2. AgendaMotivationAcceleo• Introduction• Download & Installation• DemoPapyrus• Introduction• Download & Installation• Demo© 2011 SAP AG. All rights reserved. 2 Public
  3. 3. MotivationSoftware Development has become a very diverse field• Large number of platforms (Windows, Mac OSX, Linux, … )• Large number of devices (PCs, Smart phones, Tablets … )• Large number of frameworks (Java, .NET, SAP, Adobe Flash, … )• Large number of delivery channels ( Cloud, Mobile, Browser, Market places .. )• Large number of languages ( Java, C#, ABAP, Python, C/C++, Objective C…) © 2011 SAP AG. All rights reserved. 3 Public
  4. 4. Importance of Model Driven DevelopmentSoftware Companies• Reduce cost of Development.• Increase speed of Software Development.• Improve Developer Productivity.Developer• No Need to learn/unlearn different technology.© 2011 SAP AG. All rights reserved. 4 Public
  5. 5. Acceleo
  6. 6. Acceleo An eclipse based model (e.g. UML2, Ecore, SysML.. ) to text (e.g. code, documentation, tests .. ) transformation tool. (http://www.eclipse.org/acceleo/). Acceleo is the result of several man-years of R&D started in the French company Obeo. Features:1. Model to Code Generation2. Low Learning Curve : using the provided example projects and the powerful completion feature of the Acceleo editor, it is very easy to get started and understand the basic principles.3. Simple Syntax© 2011 SAP AG. All rights reserved. 6 Public
  7. 7. Acceleo Template[template public classToJava(c :Class)] class Employeeclass [c.name/] { { // Constructor // Constructor Employee () [c.name/]() { { } } }}[/template]© 2011 SAP AG. All rights reserved. 7 Public
  8. 8. Installing Acceleo© 2011 SAP AG. All rights reserved. 8 Public
  9. 9. Papyrus
  10. 10. Papyrus An eclipse based graphical (or textual) modeling tool (http://www.eclipse.org/modeling/mdt/papyrus/). Features:1. Papyrus is graphical editing tool for UML2 as defined by OMG.2. Every part of Papyrus may be customized: model explorer, diagram editors, property editors, etc.3. Papyrus provides also a complete support to SysML in order to enable model-based system engineering.4. It is possible to edit model elements using contextual text editors enabling syntax highlight, completion and content assist.© 2011 SAP AG. All rights reserved. 10 Public
  11. 11. Installing Papyrus© 2011 SAP AG. All rights reserved. 11 Public
  12. 12. Thank You!Contact information:Tarun Telangtarun.telang@gmail.com

×