Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Stereotypes and root element
Stereotypes and root element [message #965693] Wed, 31 October 2012 08:42 Go to previous message
Carsten Reckord is currently offline Carsten Reckord
Messages: 16
Registered: June 2012
Junior Member
Hi there,

I'm having some trouble with an in-place transformation of a UML model.
During the transformation, some new nested elements are created in the model
and a stereotype is applied to them. This works great during the
transformation.

But when running the transformation with the Operational QVT Runner, the
updated UML file does not contain the stereotype applications. After some
debugging, I found the problem:

QvtLaunchConfigurationDelegateBase.saveTransformationResult(...) essentially
restricts the contents of the saved resource to the input model extent,
which consists only of the Model element. The stereotype application
instances, which are directly contained in the resource as siblings of the
model, are removed from the resource by that logic.

So, is there a way to add these elements to the model extent so they are
retained in the result? Should there be some metamodel specific filtering
going on that knows about UML's stereotype handling?


Best regards,
Carsten
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[QVTo] Scope of Resolve Expressions
Next Topic:Collections and typecasting...
Goto Forum:
  


Current Time: Fri May 24 06:48:28 EDT 2013

Powered by FUDForum. Page generated in 0.01872 seconds