Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » Dynamic Expand
Dynamic Expand [message #378041] Mon, 21 May 2007 11:25 Go to next message
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
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 13:18 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
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
>
Re: Dynamic Expand [message #599780 is a reply to message #378041] Tue, 29 May 2007 13:18 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
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
>
Previous Topic:[Xpand] properties with the same name as keywords
Next Topic:[oaw] outsourcing of java-extensions in xtend
Goto Forum:
  


Current Time: Fri Apr 19 03:40:53 GMT 2024

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

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

Back to the top