Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Contents
Prev Next

Add Code Modules

When creating an MDG Technology file, you can include code modules for which you have set up code templates and data types. The modules can be for modifications to the system default languages, or for languages you have defined yourself using the code templates and the Code Template Editor. Before you can set up a code template for a new language in the editor, you must define at least one data type for the language. You can also specify code options for the language, which are additional settings that are not addressed by the data types or code templates; they are held in an XML document that you include in the MDG Technology file with the module.

Access

Ribbon

Publish > Technology > Publish > Generate MDG Technology

Add Code Modules to the MDG Technology File

Step

Description

See also

1

Follow the steps in the Create MDG Technologies topic up to and including Step 6, where you select the 'Code Modules' checkbox.

The 'MDG Technology Wizard - Code Modules' page displays, listing the code modules defined in your current project.

Create MDG Technologies, Step 6

2

Click on the checkboxes ('Product', 'Data Types', 'Code Grammar', and 'Code Templates') for each of the code modules you want to include in the technology.

Developing Programming Languages

3

If you have created a code options XML document for a selected module, click on the button in the 'Code Options' column for that module. A browser displays, through which you locate and select the XML document.

Define Code Options

4

Click on the Next button to proceed.