Book a Demo

Author Topic: Class Diagram  (Read 3588 times)

jai

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Class Diagram
« on: March 28, 2005, 02:37:44 pm »
When i create a class diagrams, i segregate classes based on packages and define classe relationships across packages using the create link.

Does EA provide a mechanism where in i can view all classes in one sheet and i can just connect and define relationships?

Any help in acheiving this will be great?
Since i am novice do excuse me if there is something very implict and i could not figure out in EA.

Thanks
-Jai


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Class Diagram
« Reply #1 on: March 28, 2005, 03:36:56 pm »
Try looking at View | Relationship Matrix.

Set both the source and target packages to the root of your structure and set the type either to <All> or Class.

Simon

jai

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Class Diagram
« Reply #2 on: March 29, 2005, 06:16:06 am »
Thanks. This do not solves my mystery. I am looking at a class diagram that has all the classes across packages listed in the same manner as it for any class diagram.
Is it possible to constrcut such a view.

-Jai

thomaskilian

  • Guest
Re: Class Diagram
« Reply #3 on: March 29, 2005, 06:22:14 am »
Place the desired class on the diagram. Open the relations window (View/Other/Relations; I have it docked somewhere). You can see the relations in the window when you select the class. Now you can right click each relation and place the related object in the diagram.

And no: doing this programmatically can only be done using the automation interface - not by means of any menu.

jai

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Class Diagram
« Reply #4 on: March 29, 2005, 09:28:29 am »
I guess i am still not able to put it across. Rephrasing my view.

Assume that below is the sample class hierrachy that i have. All in different package.

com/xyz/Class1.java
com/xyz/da/Class2.java
com/xyz/da/exception/Class3.java
com/xyz/da/util/Class4.java


Now I need a single "Class Diagram - A diagram that shows the class, its attributes, operation, realtionships pictorially"  for all of them similar to the view that one can see under "class diagram" for classes that are within same package.

I do not have a way to upload pictorially my views. so need to write them out.

What you have told me is a textual representation of the relationships.

Thanks for being patient with me.

-Jai

thomaskilian

  • Guest
Re: Class Diagram
« Reply #5 on: March 29, 2005, 01:33:31 pm »
Sorry for being so slow ;) Maybe your question is more simple than I thought. You can put any class in any diagram. So it is possible to create a diagram with each an every class. You can also send me a picture of what you desire if this is still not what you need (I can send you my mail address via private message).

jai

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Class Diagram
« Reply #6 on: March 29, 2005, 01:42:22 pm »
I guess i need to send the picture and explain. let me know where can i send it.

U can send me mail on my Gmail account [email protected]. Will revert back.

-Jai