Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] Passing parameters to EGL templates
[Epsilon] Passing parameters to EGL templates [message #613145] Mon, 04 February 2008 09:50
Aleksander Bandelj is currently offline Aleksander BandeljFriend
Messages: 98
Registered: July 2009
Member
I would like to split generation task in several templates. But is there
any way to pass parameters to sub-templates ? Something along the lines of:

var t : Template := TemplateFactory.load('t.egl');
// set parameters of t here
t.store(host.name);

I tried to use variables of main template in subtemplates but they are
not visible.

-a
Previous Topic:[EOL] uml first steps
Next Topic:[Epsilon] Passing parameters to EGL templates
Goto Forum:
  


Current Time: Wed Nov 26 01:55:47 GMT 2014

Powered by FUDForum. Page generated in 0.01568 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software