Code Generation Options
When generating program code into a UModel project, you may want to set or change the options listed below. These options are available when you run the menu command Project | Project Settings and are saved together with the project.
The options are grouped into tabs as follows.
Tab | Options |
---|---|
Java | Select the check box Write Documentation as JavaDocs to convert the documentation of UModel elements to equivalent JavaDocs-style documentation in generated code. |
C# | Select the check box Write Documentation as DocComments to convert the documentation of UModel elements to comments in generated C# code. |
VB | Select the check box Write Documentation as DocComments to convert the documentation of UModel elements to comments in generated VB.NET code. |
SPL Templates | If you want to force UModel to read SPL templates from a custom path other than the default one, the custom path must be entered here. See also SPL Templates. |
Scripting | Options in this tab are only applicable if you developed UModel scripting projects to handle various events or customize the behaviour of your UModel projects. For more information, see Scripting Editor. |
In addition to the settings above, there are a few other settings which affect code generation. To access them, run the menu command Tools | Options, and then click the Code Engineering tab. The settings applicable to generating code from a model are grouped under Update Program Code from UModel Project. Note that these settings are local (they will only affect the current installation of UModel and will not be saved with the project).