Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Kamal Hammoutene on January 11, 2013, 03:35:48 am

Title: How to  document reused elements?
Post by: Kamal Hammoutene on January 11, 2013, 03:35:48 am
IMHO, the following problem is a very serious one for using EA in a multi-projects - multi-products context.

I will take a very very simple example:

Create a Package called "Reusable actors" and create within this package, actors and document them in the notes section.

Now create a package called "Product A", a Use Case diagram in it and create actors and Use Cases in this Use Case diagram but also "drag and drop" actors from the "Reusable actors" package.

Now document Package A with a basic Use Case RTF template.

ONLY the actors defined in "Product A" package are listed and documented  :'(  :'(  :'(
The "reusable" actors are totally ignored.

This example appies to any element that is defined outside the documented package.

Can anybody explain to me how can I work with EA having a reuse strategy in mind?
Title: Re: How to  document reused elements?
Post by: RoyC on January 11, 2013, 09:04:03 am
In the Help, read the topic:

Reporting > RTF Documents > RTF Templates > Setting Sections for Reporting > Report Elements from External Packages

Does that help you?
Title: Re: How to  document reused elements?
Post by: Kamal Hammoutene on January 12, 2013, 02:31:22 am
Quote
In the Help, read the topic:

Reporting > RTF Documents > RTF Templates > Setting Sections for Reporting > Report Elements from External Packages

Does that help you?
That's exactly what I was looking for.

I didn't know that the elements that i was reusing where called "Diagram elements" in the RTF editor. I was looking for something like "External packages elements"

Also, may I suggest that the standard templates include these elements so the user can safely develop his templates on a complete report.

Again thanks for your prompt reply.