Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » UML to comments ?(How to transform uml to text with applied rules)
UML to comments ? [message #1755718] Tue, 07 March 2017 08:45 Go to next message
Ivan Pavkovic is currently offline Ivan PavkovicFriend
Messages: 1
Registered: March 2017
Junior Member
Good day everyone.

At the moment i have UML state machines which have some stereotypes applied on them. Created with IBM RSA (possible export formats are UML, UML XMI, JAVA and ECORE).

What I would like to do , is to write code which traverses all the states, and based on the stereotypes applied on it, and rules which i write, it provides output as simple as textual file with comments.

A very simple example of the algorithm and the textual output which i wish to get is in the attachment.

Which tooling would you recommend me to use to achieve this?

Big thank you and kind regard.


Re: UML to comments ? [message #1755856 is a reply to message #1755718] Wed, 08 March 2017 16:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29450
Registered: July 2009
Senior Member
The UML2 model should be able to load instances and using that API you should be able to do what you want: https://wiki.eclipse.org/MDT-UML2
Previous Topic:Test if EMF object is loading?
Next Topic:[Validation] ConstraintProxy and currentConstraintData
Goto Forum:
  


Current Time: Mon Jul 16 01:19:00 GMT 2018

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

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

Back to the top