Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » [QVTo] UML 2 UML transform
[QVTo] UML 2 UML transform [message #870050] Sat, 05 May 2012 23:14 Go to previous message
Alain Lavoie is currently offline Alain Lavoie
Messages: 82
Registered: April 2012
Member
Hello,

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);

main() {
-- 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
file ?

I can read the model with the sample Ecore editor, but I do not
want to assume it is valid.

Regards.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Code Completion / Operations in QVT installation
Next Topic:Failed to resolve metamodel when debugging
Goto Forum:
  


Current Time: Sat May 25 06:30:54 EDT 2013

Powered by FUDForum. Page generated in 0.09561 seconds