EMF Facet (a UML profile-like mechanism for EMF?)

Tweet about this on TwitterShare on FacebookBuffer this pageShare on RedditShare on LinkedInShare on Google+Email this to someone

EMF Facet is a new Eclipse Modeling Project lead by MIA-Software and with the collaboration of AtlanMod .

There is not yet much documentation available for the project (we are working on that) but as the project proposal stated , EMF Facet project aims to contribute a dynamic extension mechanism for EMF tools by introducing new viewpoints (or “facets”) on their underlying data (i.e. existing models). Examples of such extension mechanisms to “decorate” or “annotate” a EMF model could be:

  • Extending an existing metamodel (Ecore model) in a non-intrusive way by adding new types, attributes, operations and relations.
  • Computing an extension by executing queries against an existing model
  • Virtualize the extension so that any EMF tool could use an extended model as a regular one.

Roughly speaking, you can think of EMF Facet as a kind of UML profile mechanism (though technically different) for EMF models, something that was missing until now. And yes, I know many people hate UML profiles but when properly used they are very very useful. UML profiles are not a replacement for DSLs (that would be the improper use) but they are useful nonetheless. And, in the same way we may want to (and can) annotate a UML model, we should be able to do the same with EMF models and EMF Facet is the project for that.

EMF Facet is just beginning so any feedback will be more than welcome.

If you enjoyed this post you can subscribe to this Software Modeling blog , to the portal’s mailing list , follow me ON twitter AND/OR CHECK the most popular posts . AND if you really liked it help me pass it ON TO others by bookmarking AND sharing the post USING the links below:

Tweet about this on TwitterShare on FacebookBuffer this pageShare on RedditShare on LinkedInShare on Google+Email this to someone
Comments
  1. rafael
  2. jordi
  3. rafael
  4. Ivano Malavolta
  5. Hugo Bruneliere
  6. Ivano Malavolta

Reply

Your email address will not be published. Required fields are marked *