Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Same emf resource as input & output
[ATL] Same emf resource as input & output [message #756070] Thu, 10 November 2011 18:55
Nikolay Kasyanov is currently offline Nikolay Kasyanov
Messages: 30
Registered: September 2010
Location: Russia
Member
Hi!

I'm using EMFStore, and I have two models (they conforms to different metamodels) in one EMFStore project, i.e. in one EMF Resource:
Project
RootOfModel1 (conforms to MM1)
...elements
RootOfModel2 (conforms to MM2)
...elements

I need to convert model1 to model2 in place.

So, can I somehow use same resource as input & output of ATL transformation?
I have an idea about implementing some proxy resource that will delegate all calls to appropriate part of resource and using this proxy resource for creating EMFModel instances. Is that sane idea? Smile

[Updated on: Thu, 10 November 2011 19:44]

Report message to a moderator

Previous Topic:Partial parsing to an EObject which contains a cross reference across grammars
Next Topic:[QVTo] Cast EObject to Meta-Model Type
Goto Forum:
  


Current Time: Mon Sep 22 22:29:06 GMT 2014

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

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