Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2005-2006 The ATHENA Consortium. 5-2b. Eclipse Modeling Framework (EMF) Tutorial / Exercise,

Similar presentations


Presentation on theme: "© 2005-2006 The ATHENA Consortium. 5-2b. Eclipse Modeling Framework (EMF) Tutorial / Exercise,"— Presentation transcript:

1 © 2005-2006 The ATHENA Consortium. 5-2b. Eclipse Modeling Framework (EMF) Tutorial / Exercise,

2 2 © 2005-2006 The ATHENA Consortium. Exercise Objective –Hands-on experience with EMF –Develop the PIM4SOA information metamodel References –EMF http://www.eclipse.org/emfhttp://www.eclipse.org/emf –Help and Tutorials http://help.eclipse.orghttp://help.eclipse.org

3 3 © 2005-2006 The ATHENA Consortium. Create an EMF project

4 4 © 2005-2006 The ATHENA Consortium. Create a model folder

5 5 © 2005-2006 The ATHENA Consortium. Create a new ecore model

6 6 © 2005-2006 The ATHENA Consortium. Making the metamodel(EClass)

7 7 © 2005-2006 The ATHENA Consortium. Making the metamodel (Generalization)

8 8 © 2005-2006 The ATHENA Consortium. Making the metamodel (EAttribute)

9 9 © 2005-2006 The ATHENA Consortium. Making the metamodel (Aggregation) Multiplicity 0, 1, * (-1 in here)

10 10 © 2005-2006 The ATHENA Consortium. Making the metamodel (Association)

11 11 © 2005-2006 The ATHENA Consortium. The PIM4SOA information metamodel

12 12 © 2005-2006 The ATHENA Consortium. Create the EMF model

13 13 © 2005-2006 The ATHENA Consortium. Generate Model and Edit Code

14 14 © 2005-2006 The ATHENA Consortium. This course has been developed under the funding of the EC with the support of the EC ATHENA-IP Project. Disclaimer and Copyright Notice: Permission is granted without fee for personal or educational (non-profit) use, previous notification is needed. For notification purposes, please, address to the ATHENA Training Programme Chair at rg@uninova.pt. In other cases please, contact at the same e-mail address for use conditions. Some of the figures presented in this course are freely inspired by others reported in referenced works/sources. For such figures copyright and all rights therein are maintained by the original authors or by other copyright holders. It is understood that all persons copying these figures will adhere to the terms and constraints invoked by each copyright holder.rg@uninova.pt


Download ppt "© 2005-2006 The ATHENA Consortium. 5-2b. Eclipse Modeling Framework (EMF) Tutorial / Exercise,"

Similar presentations


Ads by Google