Generating EO Java Classes

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

WOLips encapsulates the functionality of 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.

Install and Configure

Before you can generate Java classes you will need to download and install EOGenerator and then tell Eclipse where it is in preferences:

EOGeneratorPreferences.jpg

Configure for a Model

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:

EOGenerator1.jpg

EOGenerator2.jpg

EOGenerator3.jpg