Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Transformation diagrams (QVTo) UML(Transformation diagrams (QVTo) UML)
Transformation diagrams (QVTo) UML [message #881460] Mon, 04 June 2012 15:39 Go to next message
Mass Louis is currently offline Mass LouisFriend
Messages: 1
Registered: June 2012
Junior Member
Hello,
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 Go to previous message
Fabio L. S. is currently offline Fabio L. S.Friend
Messages: 15
Registered: July 2010
Location: Brazil
Junior Member
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
Previous Topic:[help]Studies about QVT
Next Topic:Transform to SysML Blocks
Goto Forum:
  


Current Time: Thu Apr 22 23:44:22 GMT 2021

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

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

Back to the top