Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Referencing types of super-model (model inheritance)
[QVTo] Referencing types of super-model (model inheritance) [message #545505] Thu, 08 July 2010 02:19 Go to next message
Eclipse UserFriend
Hi All

I have an EMF model that is an extension of GMF's notation model.
I want to create a transformation from my model to XHTML.
My transformation starts as follows (view inherits from http://www.eclipse.org/gmf/runtime/1.0.2/notation):

modeltype VIEW uses 'http://my.company/1.0.0/view';
modeltype XHTML uses 'http://www.w3.org/1999/xhtml';

transformation View2Xhtml(in View : VIEW, out Xhtml : XHTML);

main() {
var model := View.rootObjects() ...

I can reference types declared directly in my model, but I can't reference types declared in GMF notation or EMF ecore. How can I achieve this?
Re: [QVTo] Referencing types of super-model (model inheritance) [message #546979 is a reply to message #545505] Wed, 14 July 2010 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried adding
modeltype GMFVIEW uses 'http://www.eclipse.org/gmf/runtime/1.0.2/notation';

Alex
Re: [QVTo] Referencing types of super-model (model inheritance) [message #547178 is a reply to message #546979] Thu, 15 July 2010 15:47 Go to previous message
Eclipse UserFriend
Thanks Alex!

That does the job!
Previous Topic:[ATL] What kind of ATL2006compiler error is this?
Next Topic:[ATL]Several relations between classes
Goto Forum:
  


Current Time: Fri Jun 20 17:54:58 EDT 2025

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

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

Back to the top