Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: marcelloh on December 28, 2009, 09:54:30 pm

Title: How to report an diagram with actors
Post by: marcelloh on December 28, 2009, 09:54:30 pm
I want this as a model document, but I can't figure out how.

Within a package I've got an Use Case Diagram, with use cases and actors drawn on it.

What I want, is the image and then below, which actors (with their notes) play a role in this package.

I can put this in EA, but it is unclear how to get this out.
(And I want them only mentioned once btw!)
Title: Re: How to report an diagram with actors
Post by: Geert Bellekens on December 28, 2009, 10:48:28 pm
Marcel,

Do you mean a report with the RTF generator, or in general using the API?

Geert
Title: Re: How to report an diagram with actors
Post by: marcelloh on December 28, 2009, 11:39:01 pm
Sorry on a RTF generated report
Title: Re: How to report an diagram with actors
Post by: Geert Bellekens on December 29, 2009, 01:47:46 am
Too bad, can't help in that case.

Geert
Title: Re: How to report an diagram with actors
Post by: Michael Proske on January 05, 2010, 03:48:03 am
I'm not really sure but do you know how to create an RTF Template ? If not just read the White Paper for it. In my eyes the template is very simple.
If you have problems with the template i can send you a very simple one.
Title: Re: How to report an diagram with actors
Post by: Dermot on January 05, 2010, 11:16:51 am
Marcel, I assume you are stating that the Use Cases are contained in the package to be reoprted - the Actors are in an external package - Is that correct?
If so, use the Connectors.source.Element & Connectors.Target.Element to report the related Actors - the filter in the template Document Options can be set by connector to filter to a specific type and direction, but not the destination element type.  (i.e. set up filtering to source->Target & UseCase connector Type).
PLease feel free to  put in a Feature Request to have an Actors section (same as External Requirements section).
Title: Re: How to report an diagram with actors
Post by: marcelloh on January 06, 2010, 02:37:47 am
@michael :
I'm working with EA for more then 2 years now. I know how to ....

@Dermot :
You are right, it is about external Actors.
and I have done it with Connectors.source.Element
However, I get too much info. This UC is linked to 1 process as well, and strangly enough I get 5 times this link and one time my Actor.
Title: Re: How to report an diagram with actors
Post by: marcelloh on January 06, 2010, 02:44:38 am
I'm looking at document options > element filters

So what is it that I should filter?
It is an Element, but I suppose that if I say show me "Actors" somewhere, my report will only report me Actors.

I looked at the dropdown in the field "search on", and can't find anythis suitable for this filter. I also looked at "Other filters" and can't find it there either.

Some more help on this would be nice.

Title: Re: How to report an diagram with actors
Post by: Dermot on January 06, 2010, 11:42:30 am
In the RTF editor: File | Document Options | Document Options Tab:
 - Connector Direction: (set the direction)
 - Exclude Connector Type:
 (Exclude all but the UseCase connector)

I hope this clarifies things.