MDG Technology Language Options

If you have loaded an MDG Technology that specifies a code module into your Sparx Systems > EA > MDG Technologies folder, the language is included in the Source Code Engineering list on the Options dialog. The language is only listed on the Options dialog if an MDG Technology file actually uses it in your model.

The options for each language are based on what is defined in the technology code module, but are limited to the following:

  • Default Extension
  • Default extension for generated source files
  • Shown if the option is in the technology
  • Saved per project.
  • Import File Extensions
  • Default folder to import source files from
  • Shown if there is a grammar set in the technology
  • Saved once for all projects.
  • Generate Namespaces
  • Option to generate namespaces or not
  • Shown if the technology supports namespaces
  • Saved once for all projects.
  • Default Source Directory
  • The default directory to save generated source files
  • Always shown
  • Saved once for all projects.
  • Editor
  • The editor that is loaded to edit the source files
  • Always shown
  • Saved once for all projects.
  • Att Type
  • Default type for attributes
  • Always shown
  • Saved once for all projects.

 

These options are set in the technology inside the <CodeOptions> tag of a code module, as follows:

<CodeOption name="DefaultExtension">.rb</CodeOption>

 

MDGTech