Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » Dynamic Expand
Dynamic Expand [message #378041] Mon, 21 May 2007 07:25 Go to next message
Annamalai Chockalingam is currently offline Annamalai Chockalingam
Messages: 49
Registered: July 2009
Member
Hello All

I am new to oAW ... but its really nice to use Expand..
Now i am stuck with a Problem ... i have some Processing to be done on my
data before i put it into a file using xPand. These processing statements
can be changed by the user ...

I earlier did this using xTend scripts calling a Java File. But if i
change the java file i need to everytime compile it and regenerate my RCP.

Now my user doesnt want to recompile the java file everytime he changes
it. I then realised that i could put my logical statements inside expand
itself.

Now my doubt is .. is this the right place to put the processing
statements or is there any recommended place where i should place and
access them in oAW.

Looking forward for a reply .. if i am not clear please do ask me i would
try to explain again ...

regards
Malai
Re: Dynamic Expand [message #378063 is a reply to message #378041] Tue, 29 May 2007 09:18 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1755
Registered: July 2009
Senior Member
Hi Malai,

I'm not sure if I understood what you want to do, but
maybe you should try to do it with aspects (Xtend and Xpand support AOP).
See the reference documentation for details.

Annamalai C wrote:
> Hello All
>
> I am new to oAW ... but its really nice to use Expand..
> Now i am stuck with a Problem ... i have some Processing to be done on
> my data before i put it into a file using xPand. These processing
> statements can be changed by the user ...
>
> I earlier did this using xTend scripts calling a Java File. But if i
> change the java file i need to everytime compile it and regenerate my RCP.
>
> Now my user doesnt want to recompile the java file everytime he changes
> it. I then realised that i could put my logical statements inside expand
> itself.
>
> Now my doubt is .. is this the right place to put the processing
> statements or is there any recommended place where i should place and
> access them in oAW.
>
> Looking forward for a reply .. if i am not clear please do ask me i
> would try to explain again ...
>
> regards
> Malai
>


--
Have you heard about XtextCON?
Go to: http://www.xtextcon.org
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: Dynamic Expand [message #599780 is a reply to message #378041] Tue, 29 May 2007 09:18 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1755
Registered: July 2009
Senior Member
Hi Malai,

I'm not sure if I understood what you want to do, but
maybe you should try to do it with aspects (Xtend and Xpand support AOP).
See the reference documentation for details.

Annamalai C wrote:
> Hello All
>
> I am new to oAW ... but its really nice to use Expand..
> Now i am stuck with a Problem ... i have some Processing to be done on
> my data before i put it into a file using xPand. These processing
> statements can be changed by the user ...
>
> I earlier did this using xTend scripts calling a Java File. But if i
> change the java file i need to everytime compile it and regenerate my RCP.
>
> Now my user doesnt want to recompile the java file everytime he changes
> it. I then realised that i could put my logical statements inside expand
> itself.
>
> Now my doubt is .. is this the right place to put the processing
> statements or is there any recommended place where i should place and
> access them in oAW.
>
> Looking forward for a reply .. if i am not clear please do ask me i
> would try to explain again ...
>
> regards
> Malai
>


--
Have you heard about XtextCON?
Go to: http://www.xtextcon.org
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[Xpand] properties with the same name as keywords
Next Topic:[oaw] outsourcing of java-extensions in xtend
Goto Forum:
  


Current Time: Sun Apr 20 12:22:14 EDT 2014

Powered by FUDForum. Page generated in 0.03197 seconds