Changes for page EOGenerator
Last modified by David Avendasora on 2011/08/25 00:02
From version 67.1
edited by Johan Henselmans
on 2008/01/17 15:21
on 2008/01/17 15:21
Change comment:
There is no comment for this version
To version 69.1
edited by Johan Henselmans
on 2008/01/17 15:23
on 2008/01/17 15:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -35,7 +35,7 @@ 35 35 36 36 {{panel bgColor="#d8e4f1"}} 37 37 38 -! 1.VEOGeneratorSettingsEclipse.png|align=center!38 +!VEOGeneratorSettingsEclipse.png|align=center! 39 39 40 40 {{/panel}} 41 41 ... ... @@ -43,12 +43,30 @@ 43 43 44 44 4. Right click and choose WOLips Tools > Create EOGenerator File from the contextual menu, (it's a submenu) 45 45 46 +{{panel bgColor="#d8e4f1"}} 47 + 48 +!CreateEOGenContextualMenu.png|align=center! 49 + 50 +{{/panel}} 51 + 46 46 Now a eogen file is created which has the name of the EOModel and an .eogen extension. 47 47 If there is already an eogen file, then another one will be created, with a number between the EOModel name and the extension. 48 48 The one with the highest number will be the newest (unless you decided to throw earlier ones away, then the numbering starts all over again). 49 49 56 +{{panel bgColor="#d8e4f1"}} 57 + 58 +!MoreEogenfiles.png|align=center! 59 + 60 +{{/panel}} 61 + 50 50 5. Go to the eogen file, right click and choose EOGenerate... from the contextual menu. 51 51 64 +{{panel bgColor="#d8e4f1"}} 65 + 66 +!EOGenerateContextualMenu.png|align=center! 67 + 68 +{{/panel}} 69 + 52 52 If you have some definitions in your EOModel that have a Class Name that is not an EOGenericRecord, then the appropriate java class and subclass will be generated. 53 53 54 54 For instance: a Person class name in EOModel will result in a //Person.java file (which will be overwritten the next time EOGeneration will take place) and a Person.java file. The java file without the underscore is the file that will not be overwritten the next time. This file is the file that you would add your own methods. The next time the model changes, the //underscore.java file will be overwritten, but your methods are safe.