Wiki source code of Generating EO Java Classes

Version 48.1 by chuckhill on 2006/11/01 19:29

Show last authors
1 WOLips encapsulates the functionality of [[EOGenerator>>http://www.rubicode.com/Software/EOGenerator/]] so that the Java classes can be generated from within Eclipse. WOLips can create an **.eogen** definition for you when the model is created or you can create one after the model has been created by going to **File** - **New** - **Other...** and selecting **EOGenerator**.
2
3 === Install and Configure ===
4
5 Before you can generate Java classes you will need to download and install EOGenerator and then tell Eclipse where it is in preferences:
6
7 [[image:EOGeneratorPreferences.jpg]]
8
9 === Configure for a Model ===
10
11 The next step is to fill in the .eogen configuration for your model. If you have multiple models that you need to generate Java classes for, each of these will need its own .eogen configuration. Double click on the <ModelName>.eogen icon in the Package Explorer or Navigator. The top section of the editor looks like this:
12
13 [[image:EOGenerator1.jpg]]
14
15 [[image:EOGenerator2.jpg]]
16
17 [[image:EOGenerator3.jpg]]