Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [OAW] dynamic evaluation of templates
[OAW] dynamic evaluation of templates [message #376862] Tue, 17 April 2007 11:21 Go to next message
Markus Herrmannsdoerfer is currently offline Markus Herrmannsdoerfer
Messages: 50
Registered: July 2009
Member
Hi,

I want to save my templates in a database, so I can only access them as
a string. All parameters (e.g. metamodel, model, ...) for the template
will also be provided from the memory. Is it possible to
programmatically expand such a template with OAW?

Thanks in advance.

Markus Herrmannsdörfer
Re: [OAW] dynamic evaluation of templates [message #376871 is a reply to message #376862] Sun, 22 April 2007 20:40 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1762
Registered: July 2009
Senior Member
Hi,

this is not supported out of the box. however you could provide a
respective implementation of a resourceloader (in the workflow project),
which loads the inputstreams from the db (the default one uses a
classloader)
hope that helps,
Sven


Markus Herrmannsdoerfer wrote:
> Hi,
>
> I want to save my templates in a database, so I can only access them as
> a string. All parameters (e.g. metamodel, model, ...) for the template
> will also be provided from the memory. Is it possible to
> programmatically expand such a template with OAW?
>
> Thanks in advance.
>
> Markus Herrmannsdörfer


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: [OAW] dynamic evaluation of templates [message #580393 is a reply to message #376862] Sun, 22 April 2007 20:40 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1762
Registered: July 2009
Senior Member
Hi,

this is not supported out of the box. however you could provide a
respective implementation of a resourceloader (in the workflow project),
which loads the inputstreams from the db (the default one uses a
classloader)
hope that helps,
Sven


Markus Herrmannsdoerfer wrote:
> Hi,
>
> I want to save my templates in a database, so I can only access them as
> a string. All parameters (e.g. metamodel, model, ...) for the template
> will also be provided from the memory. Is it possible to
> programmatically expand such a template with OAW?
>
> Thanks in advance.
>
> Markus Herrmannsdörfer


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[TCS]User issues
Next Topic:[OAW] import of an ecore MM in XPAND template
Goto Forum:
  


Current Time: Sat Sep 20 06:02:58 GMT 2014

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

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