|[Acceleo] Access to siblings of resource roots [message #1065611]
||Wed, 26 June 2013 16:23
| Christian W. Damus
Registered: July 2009
I have models in which several related objects are contained in a
resource (they are "resource roots"). My transformation starts from
one of these objects and, depending on certain conditions, needs to
process other top-level objects.
I tried to use the "siblings" operation to access these other top-level
objects, but that doesn't work because "siblings" only handles objects
that have an eContainer (cf.
AcceleoLibraryOperationVisitor::siblings(EObject, EClassifier) method).
Is it intended that "siblings" only support objects that have an
eContainer? Should I raise a bug? In the mean-time, I'm working
around this with a Java query (handy facility, that).
This is with the Kepler version of Acceleo.
Powered by FUDForum
. Page generated in 0.03278 seconds