Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: jhsachs on October 31, 2009, 11:17:52 am
-
I'm evaluating EA as a documentation tool. Right now I'm trying to create a diagram that shows the dependencies among a group of Java classes and interfaces.
I'm getting a diagram that shows all of the types I've imported, but no dependencies at all.
Here's what I've done:
1. Create a new project with technology <default> and name Class.
2. Delete the default elements Class Model, System, and Frameworks.
3. Create a new diagram of type UML Structural / Class.
4. Use Project / Source Code Engineering / Import Source Directory to import all of the source files. (They are in two directory trees, so I must use the command twice.)
5. Expand the source tree in the Project Browser and drag each directory's group of types into the diagram pane.
Now I have a diagram that shows all of my types, but none of the dependencies.
I found an option setting that looked like the key to the problem: "Create dependencies for operation returns and parameter types" in the Options box's Source Code Engineering tab. When I checked it and built the project again, though, the diagram came out just the same.
One of my co-workers is a licensed user of EA, and has been helping me; when he tries to build a class diagram this way it works. But we can't figure out what he's doing different from me.
At his suggestion I double-clicked a class that should have dependencies and displayed the Object Instance Properties box's Links tab. In his case it displays the dependencies; in mine, it's empty. EA does not appear to be collecting information about the dependencies at all.