Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Programable templates
Programable templates [message #150681] Thu, 25 March 2004 20:24
Eclipse UserFriend
Originally posted by: jeevan.sunkersett.com

Hi,

I am use Hibernate and XDoclet.

To add the XDoclet/ hibernate "java-doc" tags I use the Eclipse template
mechanism a lot.

For eg. one of my template is:

@MyTag name="${enclosing_method}" column="${enclosing_method}"
type="${return_type}" not-null="false" unique="false"

But it does not give "fully" correct stuff.
For instance..... type="${return_type}"
wil put in type="String" or type="Integer"

but I wish to be all lower case not mixed case. The 'S' of String should
be as 'string'.

Any clues to this automatically...such as
the template be:
@MyTag type="lowerCase(${return_type})"

thks
Previous Topic:Local Variables unavailable
Next Topic:CVS, Synchronise with repository does not show new files...
Goto Forum:
  


Current Time: Wed Dec 04 08:47:58 GMT 2024

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

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

Back to the top