Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Get started with EMF Facet
Get started with EMF Facet [message #714822] Thu, 11 August 2011 14:54 Go to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi all,

First, my use-case: I have an ecore model, jbi.ecore that I do not want
to edit since it relies on a specification. However, I want to add some
attributes to some Objects of this Ecore model (for example, I want to
add a "timeout" attribute to Service).
First question: is EMF-Facet covering this use-case? (this one is just
to ensure I clearly understood the goal of EMF-Facet)

Then my second question is: how to get started? I can't find any UI
entry for EMF Facet. Is this normal, or did my installation go wrong?

Thanks in advance,
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com

[Updated on: Tue, 16 August 2011 13:51]

Report message to a moderator

(no subject) [message #716050 is a reply to message #714822] Tue, 16 August 2011 09:46 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Ok, I have seen the EMF Facet tables and so on, but I am still not sure
on whether EMF-Facet is what I need for my use case:
I'd like to add EStructuralFeatures to objects of an ecore model from an
external bundle, is it possible?

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: (no subject) [message #716130 is a reply to message #716050] Tue, 16 August 2011 14:09 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
You can do that by extending the ecore meta-model by means of inheritance but EMF Facet won't help you there as it only adds transient attributes.
Re: (no subject) [message #716140 is a reply to message #716130] Tue, 16 August 2011 14:26 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 16/08/2011 16:09, Sylvain EVEILLARD wrote:
> You can do that by extending the ecore meta-model by means of
> inheritance but EMF Facet won't help you there as it only adds transient
> attributes.

Ok thanks a lot.
Concerning inheritance, my approach starts from the other side. It is
mode "aspect-oriented" while it consists in adding behavior and semantic
in a model from an external contribution.

Regards,
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: (no subject) [message #716530 is a reply to message #716130] Wed, 17 August 2011 15:54 Go to previous message
Gregoire Dupe is currently offline Gregoire DupeFriend
Messages: 75
Registered: September 2009
Location: France
Member
> it only adds transient attributes.

That's right. Non-derived attributes/references will provided in the next version.
Previous Topic:End user oriented EMF Parsng/Reporting/Transforming
Next Topic:Strange behaviour of EContentAdapter
Goto Forum:
  


Current Time: Wed Apr 24 20:27:16 GMT 2024

Powered by FUDForum. Page generated in 0.02950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top