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 10:00
Alain Lavoie is currently offline Alain Lavoie
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: Thu Aug 21 02:18:46 EDT 2014

Powered by FUDForum. Page generated in 0.11451 seconds