| Dynamic Expand [message #378041] |
Mon, 21 May 2007 07:25  |
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  |
Sven Efftinge Messages: 1668 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
>
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
|
|
|
| Re: Dynamic Expand [message #599780 is a reply to message #378041] |
Tue, 29 May 2007 09:18  |
Sven Efftinge Messages: 1668 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
>
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
|
|
|
Powered by
FUDForum. Page generated in 0.01576 seconds