Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Tutorials for working with UML Stereotypes and Composite Structure Diagrams
Tutorials for working with UML Stereotypes and Composite Structure Diagrams [message #1766267] Mon, 19 June 2017 16:37 Go to next message
Charel Irrthum is currently offline Charel IrrthumFriend
Messages: 2
Registered: June 2017
Junior Member
Hello,
Are there any good Tutorials for working with UML Stereotypes and Composite Structure Diagrams in ATL?
I don't know how i can get my stereotypes. I use exported XMI from Magicdraw.

Thanks in advance
Re: Tutorials for working with UML Stereotypes and Composite Structure Diagrams [message #1767635 is a reply to message #1766267] Fri, 07 July 2017 19:52 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 373
Registered: September 2012
Location: Belgium
Senior Member

No tutorials, I'm afraid. Using stereotypes in ATL requires you to interact with the UML2 API, i.e. the EOperations defined on the UML2 meta model. Example code on how to read applied stereotypes and apply your own stereotypes can be found at https://github.com/dwagelaar/UML2CaseStudies/tree/master/uml2cs-transformations/transformations

Notably, UML2Accessors.atl applies the "accessor" stereotype, and UML2Observer.atl reads various stereotypes.


Cheers,
Dennis
Previous Topic:Getting the name of parent container in ATL
Next Topic:Problem trying to assign types to elements in the target model
Goto Forum:
  


Current Time: Tue Sep 25 18:48:04 GMT 2018

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

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

Back to the top