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

Add New Sections

The following can be added as new sections, to existing features in the source code:

  • Class Notes
  • Attribute Notes
  • Operation Notes
  • Operation Notes Impl
  • Operation Body
  • Operation Body Impl

Assume Class A from the previous example had no note when you originally generated the code. Now assume that you specify a note in the model for Class A. Enterprise Architect attempts to add the new note from the model during synchronization. It does this by executing the Class Notes template.

To make room for the new section to be inserted, you can specify how much white space to append to the section via synchronization macros. These macros are described in the Control Macros topic.