[QVTO] Text2Model [message #91528] |
Tue, 07 October 2008 06:39  |
Eclipse User |
|
|
|
Originally posted by: mahdider.students.uni-mainz.de
Hello everyone,
since QVT is meant for model to model transformations only, and model to
text is performed via JET, MTL etc., what is the recommended way of
doing text to model transformations?
As far as I can see, mostly a forward engineering is proposed, where
models are on a higher level of abstraction, which makes text to model
transformations an impossible task in some cases.
What do you propose for more "simple" tasks like transforming Java Code
into a UML Class Diagram (forgetting about the differences between
Association types etc. to make it simpler)?
Kind Regards,
Mahdi
|
|
|
Re: [QVTO] Text2Model [message #91662 is a reply to message #91528] |
Wed, 08 October 2008 05:40   |
Eclipse User |
|
|
|
Hi Mahdi,
In general, text model transformations you can do with parsers,
those which produce EMF based AST give you a proper input for
further M2M transformation, if neccessary.
You might also want to look at http://www.eclipse.org/modeling/tmf/.
As for your "simple" task ;), there should be Java EMF Model (JEM)
available,
(not sure if along with ability to load from java source), which might
be used for M2M to UML Class Diagram.
I recommend to explore other modeling newsgroups for further info, as
this goes beyond M2M a bit.
Regards,
/Radek
On Tue, 07 Oct 2008 12:39:19 +0200, Mahdi D-Manesh
<mahdider@students.uni-mainz.de> wrote:
> Hello everyone,
>
> since QVT is meant for model to model transformations only, and model to
> text is performed via JET, MTL etc., what is the recommended way of
> doing text to model transformations?
>
> As far as I can see, mostly a forward engineering is proposed, where
> models are on a higher level of abstraction, which makes text to model
> transformations an impossible task in some cases.
>
> What do you propose for more "simple" tasks like transforming Java Code
> into a UML Class Diagram (forgetting about the differences between
> Association types etc. to make it simpler)?
>
> Kind Regards,
> Mahdi
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10487 seconds