|Transformation diagrams (QVTo) UML [message #881460]
||Mon, 04 June 2012 15:39
| Mass Louis
Registered: June 2012
I have a class named Onto2smd.java makes the transformation of an
ontological schema to a multidimensional schema that I execute via Run
As> Run Configuration (Picture 1).
At that time, a window appears and chooses the project type
Operational QVT Interpreter left, then gives the URI of the transform
model, in our case it is M.ecore. Then we give the name of the
expected model (the result of the transformation, is an .UML), for
example mmm.uml (Picture 2).
Once you click on Run, the class is executed and displays the result
(the .Uml) in a project directory.
To view the model returned as a diagram, simply right click on the
resulting file and then choosing Inisialize class diagram (Picture 3).
We finally got our diagram as in (Picture4).
The execution completes successfully but the problem is how to
reproduce it outside of Eclipse. In other words, how to make the
executable project to deliver it to users, without this requires
having Eclipse? Or give me the code that makes her?
Can someone help me how?
Thank you in advance for your help.
|Re: Transformation diagrams (QVTo) UML [message #881485 is a reply to message #881460]
||Mon, 04 June 2012 16:34
| Fabio L. S.
Registered: July 2010
Regarding the QVTo part, the code is here: wiki.eclipse.org/QVTOML/Examples/InvokeInJava|
About the "Initialize diagram", you can look at the plug-in configuration to see what class & method is called (or you can look the documentation, if there is any). Finally, the "outside eclipse" part can tricky... I don't know exactly what you want to do, but I suggest you look at creating a Eclipse product (wiki.eclipse.org/FAQ_What_is_an_Eclipse_product%3F). Or you can simply create an Eclipse plug-in.
Hope it helps.
Fabio Levy Siqueira
Powered by FUDForum
. Page generated in 0.01222 seconds