Skip to main content



      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 08:45 Go to next message
Eclipse UserFriend
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 09:37 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: How to Generate notation model for a domain model [message #1735095 is a reply to message #1735090] Wed, 15 June 2016 09:59 Go to previous messageGo to next message
Eclipse UserFriend
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 10:12 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: How to Generate notation model for a domain model [message #1735101 is a reply to message #1735099] Wed, 15 June 2016 10:29 Go to previous message
Eclipse UserFriend
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: Thu Jul 17 17:10:42 EDT 2025

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

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

Back to the top