|[QVTo] UML 2 UML transform [message #870050]
||Sat, 05 May 2012 23:14
| Alain Lavoie
Registered: April 2012
I followed with success a tutorial with QVTo. But my objectives is UML
to UML transformation with UML Profiles. I saw previous messages on
Profiles, so I will get there eventually and get back to these.
Meanwhile, the tutorial I used is transforming models produces with
Ecore files From observation of a Papyrus XMI file, the models looks
similar, but I am blocking on a first issues and I cannot find the
solution in the past M2M messages. By the way, Google has a hard time
with the eclipse forum references, I can rely on the Google cache, but
is this a temporary problem ?
Back to my issue, I have
modeltype umlMM uses 'http://www.eclipse.org/uml2/3.0.0/UML';
transformation CIMTransformation(in umlIn : umlMM, out umlOut : umlMM);
-- umlIn.rootObjects()[umlIn::Package] -> map ...
Q1 - Going to [Operational QVT Project] > [Properties] > [QVT Settings]
> [Metamodel mappings], I cannot find the way of adding a local
reference to the uml metamodel. How can I ?
Q2 - I guess this problem is related to Q1. I do not get Completion in
(Ctrl-space) the transformation file ?
Q3 - Will I have to convert in some way the uml model file (produced
with Papyrus) with a conform ecore file, or it is a valid ecore
I can read the model with the sample Ecore editor, but I do not
want to assume it is valid.