Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to Generate notation model for a domain model
How to Generate notation model for a domain model [message #1735083] Wed, 15 June 2016 12:45 Go to next message
Habtamu Tolera is currently offline Habtamu ToleraFriend
Messages: 20
Registered: June 2016
Junior Member
I am currently working on Model to model transformation in which the target model should have notation model in addition to the semantic or domain model. The source model has no notation model, but the target model has notation model that conforms to http://www.eclipse.org/gmf/runtime/1.0.2/notation. My problem here is how to transform the source model to target model so that the target model has notation model that conforms to notation meta model of GMF which is notation.ecore. How can I relate the two target meta models(the domain and notation meta models) that I have so that the generated model after transformation have both domain and notation information?
Re: How to Generate notation model for a domain model [message #1735090 is a reply to message #1735083] Wed, 15 June 2016 13:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Habtamu,

I believe GMF can automatically create a notation model instance from a
domain model instance. In any case, I can't answer this generically as
an EMF question. It's specific to which transformation technology
you're using and which models, which as GMF you're using.


On 15.06.2016 14:45, Habtamu Tolera wrote:
> I am currently working on Model to model transformation in which the
> target model should have notation model in addition to the semantic or
> domain model. The source model has no notation model, but the target
> model has notation model that conforms to
> http://www.eclipse.org/gmf/runtime/1.0.2/notation. My problem here is
> how to transform the source model to target model so that the target
> model has notation model that conforms to notation meta model of GMF
> which is notation.ecore. How can I relate the two target meta
> models(the domain and notation meta models) that I have so that the
> generated model after transformation have both domain and notation
> information?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to Generate notation model for a domain model [message #1735095 is a reply to message #1735090] Wed, 15 June 2016 13:59 Go to previous messageGo to next message
Habtamu Tolera is currently offline Habtamu ToleraFriend
Messages: 20
Registered: June 2016
Junior Member
Hi Ed,

Thank you for your immediate response. I used QVTo for transformation. After transformation, I have only domain model in target language because there is no notation model for source language in the first place. If GMF can automatically create a notation model instance from a
domain model instance, I guess that will solve my problem. If possible i need tutorial and I din't succeeded in finding one. Could you point me in the right direction?

Best regards,
Habtamu
Re: How to Generate notation model for a domain model [message #1735099 is a reply to message #1735095] Wed, 15 June 2016 14:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Habtamu,

I'm not sure about where to find GMF documentation. Probably Google is
your best bet. Or your can look at the code that creates the diagrams
when you do it manually in the IDE.


On 15.06.2016 15:59, Habtamu Tolera wrote:
> Hi Ed,
>
> Thank you for your immediate response. I used QVTo for transformation.
> After transformation, I have only domain model in target language
> because there is no notation model for source language in the first
> place. If GMF can automatically create a notation model instance from
> a domain model instance, I guess that will solve my problem. If
> possible i need tutorial and I din't succeeded in finding one. Could
> you point me in the right direction?
>
> Best regards,
> Habtamu


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to Generate notation model for a domain model [message #1735101 is a reply to message #1735099] Wed, 15 June 2016 14:29 Go to previous message
Habtamu Tolera is currently offline Habtamu ToleraFriend
Messages: 20
Registered: June 2016
Junior Member
Thank you Ed!!
Previous Topic:[Xcore] Extending property view with custom property
Next Topic:isFactoryForType implementation guideline for adapter factories used by AdapterFactoryContentProvide
Goto Forum:
  


Current Time: Fri Apr 26 00:33:04 GMT 2024

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

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

Back to the top