Re: JET EXTENSION! [message #32478] |
Wed, 05 September 2007 12:57  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Rafael,
I'll redirect your question to the M2T newsgroup which I've added to the
"to" list of my reply (so there's no need to repost the question).
Rafael Ribeiro wrote:
> Hello guys, i´ve trying to find material about JET Extension Points but its
> being really hard to find it. Got me questioning if anyone its using this
> wonderful feature. :D
>
> What i have to ask its this. I know that the JET engine translates text
> templates to a Java class that generates the real output.
>
> What i want to know its that there is a way to extend the code that the JET
> engine generates. Putting things simple, i want to put a tag in a template
> that will generate some code on the Java class. EX: A tag like
> <custom:Property name="FolderPath" type="String"> and when the JET compiles
> the template the JAVA class will have a attribute FolderPath, and with
> getter and setters.
>
> Until now i just found custom tags that transform the resulting
> transformation, not the java class itself. Can this be done?
>
> Thanks anyway, cya.
>
>
>
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04690 seconds