Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paul Greefhorst on July 19, 2010, 10:40:46 pm

Title: Listing requirements on code
Post by: Paul Greefhorst on July 19, 2010, 10:40:46 pm
I have found several post about modifying te code generatin template so it will list the requirements that are implemented by a class. I even managed to change the template and list the requirements in the class.

At first, I listed te reqs afters the class notes, but on synchronising it with the code, the requirements were added to the class notes, at at every synchronisation the notes were expanded with the req's.

I changed the place were the requirements are listed to the class declaration, like this (in C#):
  class MyClas
  //list of reqs
  {
   ....

The class notes are now treatedproperly, but at evere synchronisation the req-list is expanded.
Is there a way to update such a list without duplicating it?

Paul