Add New Features and Elements

Return to Introduction  Previous page  Next page

The following features and elements can be added to the source code during synchronization:

· Attributes
· Inner Classes
· Operations.

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 turned off in the .