Add New Features and Elements
The following features and elements can be added to the source code during synchronization:
- Inner Classes
These are added by executing the relevant templates for each new element or feature in the model. Enterprise Architect attempts to preserve the appropriate indenting of new features in the code, by finding the indents specified in list macros of the Class. For languages that make use of namespaces, the synchNamespaceBodyIndent macro is available. Classes defined within a (non-global) namespace are indented according to the value set for this macro, during synchronization. This value is ignored for Classes defined within a package setup as a root namespace, or if the Generate Namespace option is set to False in the appropriate language page (C#, C++ or VB.Net) on the Options dialog (Tools | Options | Source Code Engineering | <language>).