Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » ATL - Creating a PackagedElement within my XMI file
ATL - Creating a PackagedElement within my XMI file [message #869510] Thu, 03 May 2012 14:00
Alain Lavoie is currently offline Alain LavoieFriend
Messages: 82
Registered: April 2012
Member
In my model.uml file,

I have the following element:
    <packagedElement xmi:type="uml:Class" xmi:id="_T-5YYJOmEeGjTYX5wKpqMw" name="Class1">

which is a class named Class1, defined inside a defined package

However, creating a class with an ATL script I end up with the following line in my model.uml:
    <uml:Class xmi:id="_0UbnsZTXEeGcwdVnki8wEQ" name="TryMe"/>

This line does not make my TryMe class appear in the model browser, and is therefore not available
in the modeler.

Modifying manually the last line to mutate it into the first format (into a packagedElement),
makes it appear in the modeler, and is valid.

Does anybody has a valid Class creation sequence in ATL, that link a class to a packagedElement ?

Thanks in advance.
Previous Topic:[ATL] No type named 'Root' in metamodel
Next Topic:[QVTo] Access qName local part
Goto Forum:
  


Current Time: Sun Oct 06 11:13:22 GMT 2024

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

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

Back to the top