| [news.eclipse.modeling.gmf] Re: Templates in org.eclipse.gmf.graphdef.codegen (2.0 M4) |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170686
Well, it's not yet implemented because we didn't see too much interest. Definitely, there are plans to allow dynamic templates for figures. Right now the main "obstacle" is that we need to specify path to dynamic templates, and the usual way to do that is to specify that value in genmodel. As there's no genmodel for gmfgraph today, nor too much reasoning to have one, I see two ways to enable dynamic templates, "non-persistent" and "persistent" - either by quering toolsmith for the path each time on generation (which might be tedious) or using appropriate value from the .gmfgen (which limits us to the fiugres that are generated as EditPart's inner class). You are more than welcome to file a bugzilla and express your opinion.
Thank you.
Artem
"David Schmelter" <schmelly@xxxxxxxxxxxxxxxx> wrote in message news:eod82o$u9r$1@xxxxxxxxxxxxxxxxxxxxHello together,
Id like to modify some xpand templates, e.g ScalablePolygon.xpt, in org.eclipse.gmf.graphdef.codegen via dynamic templates. Are the templates in this plugin not considered for dynamic template code generation (yet)?
best regards,
David