Home » Modeling » Epsilon » Epsilon's automatic generation of code from UML diagrams
| |
| Re: Epsilon's automatic generation of code from UML diagrams [message #1814111 is a reply to message #1814086] |
Wed, 04 September 2019 01:43   |
Eclipse User |
|
|
|
Thank you for your reply, Antonio!
Does this video https://www.youtube.com/watch?v=oZhPKER7Ufs illustrate "it can load UML models and you can write generators from those models (e.g. in EGL/EGX)"?
If so, it sounds more complicated than developing a plug-in on, say, Astah (http://astah.net/features/plugins#create-plugins), doesn't it?
I'd like to find a UML tool capable of generating code from class, sequence and activity diagrams altogether (UML tools, such as Astah, normally generate code from class diagrams only). Would you have any suggestion?
Thank you for your attention.
Regards,
Clever.
|
|
|
| Re: Epsilon's automatic generation of code from UML diagrams [message #1814933 is a reply to message #1814111] |
Mon, 23 September 2019 03:21   |
Eclipse User |
|
|
|
Hi Clever,
Sorry for the delay - I was away on a conference last week. Epsilon is not a UML tool by itself, but rather the framework that would allow you to build one :-). Generally, code generation tends to be quite project-specific, so you'd typically develop the EGX/EGL templates for your project and wrap them around your UI/API of choice.
I'm not familiar with any UML tool that can generate code from all three things together, and especially not sequence diagrams. However, Papyrus-RT can generate C++ code from activity diagrams, for instance. GenMyModel is an online tool that can generate code from UML class diagrams (again, no state/activity diagrams). UmpleOnline has a few generators that you could try out as well. StarUML and Modelio have some code generation but they appear to only pull from class diagrams.
In my experience, sequence diagrams are a bit unwieldy to create in a fully specified form that is amenable for code generation. Class diagrams are very easy to use and to generate code from, but they only give you structure and not behaviour. Activity diagrams are amenable for code generation, but you need a runtime library which will implement the UML activity diagram execution semantics for you. Papyrus-RT does have that, but AFAIK only for C++, though I know they were looking into extending it into other languages: perhaps it'd be worth asking over at their forum?
Hope that helps!
Antonio
[Updated on: Tue, 24 September 2019 04:37] by Moderator
|
|
| | | | | | | | | |
Goto Forum:
Current Time: Sun Nov 09 17:47:56 EST 2025
Powered by FUDForum. Page generated in 0.06692 seconds
|