Book a Demo

Author Topic: Object API library style documentation  (Read 3843 times)

joyce

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Object API library style documentation
« on: June 07, 2004, 01:14:06 pm »
Hello, been wracking our brains to no avail:
We have a large business object library.  We want to generate documentation for end programmers who will use our library as an "api".

Problem is that we want to generate docs showing PUBLIC scoped methods and attributes only, EA doesn't seem to allow this as an option, or allow an option for selecting specific stereotypes only for classes to document.

Is there a recommended method of approaching this situation?

(Note that we are coding in C# and will be using NDOC to make programmers API reference anyway, this is just about using EA to make a visual diagram showing classes and their relationships and public properties.)

Kind of thinking of those nice big charts Microsoft gives you with visual studio showing the API class relationships in a nice clean graphical manner.


Any thoughts would be greatly appreciated.
« Last Edit: June 07, 2004, 01:14:51 pm by JCardinal »

thomaskilian

  • Guest
Re: Object API library style documentation
« Reply #1 on: June 08, 2004, 01:06:23 am »
Hi ,
there is a nice automation example distributed by Sparx (http://www.sparxsystems.com.au/AutIntVB.htm). I think you should be able to adopt this one for your needs when you create a dll out of it. Still a bit of work though.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Object API library style documentation
« Reply #2 on: June 08, 2004, 04:37:05 pm »
Hi ,

I'm a bit confused here.

If you are trying to show only public features in the graphic, then this is available in the diagram options - right click on blank space in the diagram - select diagram properties - on the RHS you should see a group box title "Visible Class Members" where you can set the overriding feature visibility for the diagram.

If you are talking about the textual part of the generated documents, then Thomas' is the way to go.

Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.