|[Acceleo] Dynamic Overriding with polymorphic templates [message #1010961]
||Mon, 18 February 2013 10:02
| Jens Reimann
Registered: July 2009
I am trying to use the dynamic overriding feature in combination with polymorphic templates and are a little bit stuck at the moment.
Here is what I tried: I created a generator which iterates over an OrderedSet(EObject) and expands using a template "content(element:EObject)", now I have some specific "content" templates "content(someElement:MyElement)" which expand to a different content. Which is working fine.
Now I added a new acceleo project, extending my first object and marking it as dynamic override (as shown in http://www.obeonetwork.com/page/dynamic-overriding ). Which works fine too. Except when I want to add a new template "content(someOtherElement:MyOtherElement)", which I would expect to join the polymorphic evaluation. Yet it seems as if this was completely ignored, or I made some mistake at some point.
Should is be possible? And if, how?
Thanks for helping.
Powered by FUDForum
. Page generated in 0.01516 seconds