Instant Generator Customization

Would like to be able to generate model code for a language not listed.

Appears the limitation would be the default template to start with and the setting the filename. Maybe the instant generator could provide the default vm template to start with. Java language defaults to JavaClass.vm I think so being able to declare the root velocity template could solve the issue.

I’m unsure where to plugin the filename. Currently I’m generating as Java with a customized template and then changing the extension on all the .java classes.

Hi user,

Thank you for your post. Would you consider writing a plug-in instead? It may be easier when compare with working with the templates. For more details, please read:

Plug-in User’s guide:
http://www.visual-paradigm.com/support/documents/pluginuserguide.jsp

Plug-in Sample:
http://www.visual-paradigm.com/support/documents/pluginsample.jsp

Best regards,
Jick Yeung