Dynamic Templates in EMF
This is the ability to use Dynamic Templates when generating the model generated automatically by the EMF framework.
Compared to Enabling Dynamic Templates in GMF, the EMF approach uses sometime uses the JET language instead of Xpand, so it is not possible to use an aspect-oriented to modify the generated model; instead, we have to copy the entire template verbatim and use this.
In some cases, templates can include a sub-template, allowing us to insert code directly:
<%@ include file="Class/insert.javajetinc" fail="silent" %>
To implement, follow the instructions in the EMF FAQ.
This was implemented to resolve issue 165 in IAML, through these changes in the code.