Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Add New Sections
These sections can be added to existing features in the source code, as new sections:
- Class Notes
- Attribute Notes
- Operation Notes
- Operation Notes Impl
- Operation Body
- Operation Body Impl
Assume that, in this example, Class A had no note when you originally generated the code:
(asm) class A: public B, public C
If you now specify a note in the model for Class A, Enterprise Architect attempts to add the new note from the model during synchronization, 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.