Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Getting Stereotypes for Model transformations
Getting Stereotypes for Model transformations [message #1765719] Tue, 13 June 2017 20:25 Go to next message
Charel Irrthum is currently offline Charel IrrthumFriend
Messages: 2
Registered: June 2017
Junior Member
Hello,
My problem is following:
I want to model in Magicdraw stereotypes classes and then transform them to my metamodel according to the Stereotypes. My Stereotypes extend Class Stereotype. Now my problem is that i can't find the stereotypes in the output from magicdraws emfuml2xmi plugin in java. I tried already the code snippet from the ATL How To: https://wiki.eclipse.org/ATL/Howtos#How_can_I_handle_arbitrary_XML_documents.3F
Should i import also my profile?

Here is a snippet of the uml file created via the export function in Magicdraw
index.php/fa/29627/0/
index.php/fa/29628/0/
My profile where my stereotypes are stored is "MyProfiles" and the stereotype applied to class "TestKlasse" is "MyStereotype". Afterwards in my metamodel there is an element "MyStereotype" on which the class should be mapped.
Is this even possible with ATL? Or am I doing something wrong in MD

[Updated on: Wed, 14 June 2017 12:54]

Report message to a moderator

Re: Getting Stereotypes for Model transformations [message #1767627 is a reply to message #1765719] Fri, 07 July 2017 19:26 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 365
Registered: September 2012
Location: Belgium
Senior Member

If you can load your UML model in the Eclipse UML2 editor, you should be able to load it in ATL as well.

Cheers,
Dennis
Previous Topic:ATL API
Next Topic:Getting the name of parent container in ATL
Goto Forum:
  


Current Time: Mon Jun 25 02:47:27 GMT 2018

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

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

Back to the top