Wiki source code of Using Custom EOGenerator Templates
Version 8.1 by David Avendasora on 2011/05/24 14:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | 1. Add your custom EOGenerator Templates to your project by creating a new Folder in the root of your project and putting your custom templates in it. Name it something descriptive like "EOGenerator" or "EOGenTemplates" | ||
2 | 1. Open the .eogen file you want to use the custom templates and in the section marked titled "Templates" change the values for: | ||
3 | 11. **Template Folder** - the folder you just created | ||
4 | 11. **Template** - the template file that will create the //EntityName.java file// | ||
5 | 11. **Subclass Template** - the template file that will create the EntityName.java file. | ||
6 | [[image:Picture 1.png]] | ||
7 | 1. Save and close the .eogen fileand right click your .eogen file and select eogenerate to get freshly generated classes if you are not using the automatic eogen option in Eclipse. | ||
8 | [[image:Picture 2.png]] |