|
Re: Creating a plugin for Papyrus to Generate Code for StateMachines [message #1432214 is a reply to message #1432056] |
Fri, 26 September 2014 20:19 |
Ernesto Posse Messages: 438 Registered: March 2011 |
Senior Member |
|
|
Hi.
First, we (Zeligsoft), in collaboration with the Papyrus team (and others) are developing a Papyrus-based open-source development environment for UML-RT which includes code generation for state machines. However we deal with UML-RT state machines which simplify full UML state machines. Support for full UML state machines is rather tricky, as you'll probably find out.
While the project is open source, it is still in very early stages, and even though the state machine code generator is almost finished, it's still a bit too early to release it, even in alpha. But we will surely announce it here when it's ready.
As for the UML API and meta-model, yes, there is a meta-model and an API. Your starting point should be the official OMG UML specification (http://www.omg.org/spec/UML/2.5/Beta2/). Papyrus follows it closely.
To get access to the UML meta-model, you should probably download the papyrus sources, and you'll find the relevant classes in package "org.eclipse.uml2.uml". Eclipse will give you access to all of the API.
However, I would strongly recommend using the Oomph installer (https://wiki.eclipse.org/Eclipse_Oomph_Installer) to get an environment for Papyrus development. It will provide you with just the elements from Papyrus that you might need.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03918 seconds