EMF Facet EclipseCon 2011 Audition
Transcript of EMF Facet EclipseCon 2011 Audition
![Page 1: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/1.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
EMF FacetA Non-Intrusive Tooling to Extend Metamodels
Frédéric Madiot, Mia-Software
Grégoire Dupé, Mia-Software
![Page 2: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/2.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Why to extend ?
![Page 3: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/3.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Why to extend ?
![Page 4: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/4.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Add new attributes
![Page 5: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/5.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Add new operations
![Page 6: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/6.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Add new links
![Page 7: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/7.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Add new subtypes
![Page 8: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/8.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Add non-semantic properties
Icon dependingon the category
Icon
Label color depending on the number of books
![Page 9: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/9.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Extensibility limitations
You can’t always change
the metamodel
![Page 10: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/10.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Extensibility limitations
Existing Instances can’t change their type
![Page 11: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/11.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Extensibility limitations
You can’t dynamically create/load/unload extensions
Copyright © Michael Heston http://www.flickr.com/photos/hestonmichael
![Page 12: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/12.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
EMF Facet project
An non-intrusive metamodel extension tooling
http://www.eclipse.org/modeling/emft/facet/
Initial contribution from MoDisco
FacetMetamodel extensibility
CustomizationGeneric additional properties
QueryComputable values
![Page 13: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/13.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
What can you do with EMF Facet ?
![Page 14: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/14.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: UML extension for SysML
![Page 15: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/15.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: UML extension for SysML
Additionalrelation
![Page 16: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/16.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: Java extension for JPA
![Page 17: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/17.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: Java extension for JPA
![Page 18: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/18.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: Java extension for JPA
Additionalattribute
![Page 19: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/19.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Example: Java extension for JUnit
Additionalattributes
Color calculateddynamically
![Page 20: EMF Facet EclipseCon 2011 Audition](https://reader033.fdocuments.in/reader033/viewer/2022052901/5564a041d8b42a366c8b493c/html5/thumbnails/20.jpg)
Copyright © 2010 Mia-Software All Rights Reserved
Copyright © 2010 Mia-Software All Rights Reserved
Thank you !
Eclipse projects
http://www.eclipse.org/MoDisco/
http://www.eclipse.org/modeling/emft/facet/
Company
http://www.mia-software.com/
http://www.sodifrance.fr/
Blog
http://fmadiot.blogspot.com/