Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Java code generation from MoDisco J2SE5 models?
Java code generation from MoDisco J2SE5 models? [message #1091] Thu, 07 May 2009 11:35 Go to next message
Roman Porotnikov is currently offline Roman Porotnikov
Messages: 18
Registered: July 2009
Junior Member
Hi,

Is there a way to transform a MoDisco J2SE5 model to a corresponding
Java code?

Thanks,

Roman
Re: Java code generation from MoDisco J2SE5 models? [message #1119 is a reply to message #1091] Fri, 08 May 2009 05:00 Go to previous messageGo to next message
Frederic Madiot is currently offline Frederic Madiot
Messages: 26
Registered: July 2009
Junior Member
It is not provided yet but it is a feature we have planned to add.
The simplest way to do this is to develop a code generator (by using a M2T
component).
Re: Java code generation from MoDisco J2SE5 models? [message #1144 is a reply to message #1119] Fri, 08 May 2009 07:15 Go to previous message
Krzysztof Kowalczyk is currently offline Krzysztof Kowalczyk
Messages: 113
Registered: July 2009
Senior Member
It took me about 250 lines of code in Xpand to generate Java code from
J2SE5 model for my purposes. It is not hard, but still need some testing.

I have skipped generics and comments as I don't need them right now.

Probably I will be able to share that work but not before July.

Regards,
Krzysztof Kowalczyk
Re: Java code generation from MoDisco J2SE5 models? [message #573170 is a reply to message #1091] Fri, 08 May 2009 05:00 Go to previous message
Frederic Madiot is currently offline Frederic Madiot
Messages: 26
Registered: July 2009
Junior Member
It is not provided yet but it is a feature we have planned to add.
The simplest way to do this is to develop a code generator (by using a M2T
component).
Re: Java code generation from MoDisco J2SE5 models? [message #573192 is a reply to message #1119] Fri, 08 May 2009 07:15 Go to previous message
Krzysztof Kowalczyk is currently offline Krzysztof Kowalczyk
Messages: 113
Registered: July 2009
Senior Member
It took me about 250 lines of code in Xpand to generate Java code from
J2SE5 model for my purposes. It is not hard, but still need some testing.

I have skipped generics and comments as I don't need them right now.

Probably I will be able to share that work but not before July.

Regards,
Krzysztof Kowalczyk
Previous Topic:Java code generation from MoDisco J2SE5 models?
Next Topic:UML Diagram Generation
Goto Forum:
  


Current Time: Wed Aug 20 14:50:37 EDT 2014

Powered by FUDForum. Page generated in 0.08003 seconds