Book a Demo

Author Topic: Where/How to create class diagrams.  (Read 4122 times)

Ken

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Where/How to create class diagrams.
« on: May 15, 2002, 08:41:55 am »
Using EA version 3.1.0 (build 487).
I'm new to EA and UML and am trying to create a domain model and/or class diagram.  Reading through the user guide pdf document on page 275, I can see there is such a thing as a class diagram but I haven't been able to figure out what view (Use Case,  Dynamic, Logical, etc) and model to create it in.  I thought that the Logical view -> Data Model would be the correct place but when I right click on either the view or packages and go to -> New Diagram -> Analysis Diagram (or Logical View Diagram), there isn't an option for a class diagram. What am I doing wrong?

Thanks in advance.

MattD

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Where/How to create class diagrams.
« Reply #1 on: May 15, 2002, 01:42:32 pm »
To start a class diagram, right click on any package -->New diagram-->Logical View Diagram. Select the Logical radio button, name it, and press enter. You'll notice how the modelling pane to the left exposes the components of a class diagram. Just drag and drop into your new diagram.

Don't worry too much about following the package view that is automatically created with each new project. I find it is best to create your own view (Rt click on very top icon in the project browser), then create your own structure with the packages that you want for your project.

Matt



ronnie

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: Where/How to create class diagrams.
« Reply #2 on: May 15, 2002, 11:32:52 pm »
The type of diagram you select changes the default tool selection.

There is also a Class Diagram radio option as well as the Logical radio option.

The menu options off the 'Create Diagram' are just guesses from EA of the type of diagram you might want to make - you can always override this in the dialog.

The package structure is EA's view of a useful set-up. This is something that tends to get customised - I suggest reading Steve Straley's tutorial at html://www.world-eit/ea/index.shtml.

Ronnie
Ronnie

Ken

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Where/How to create class diagrams.
« Reply #3 on: May 20, 2002, 05:56:07 am »
Matt & Ronnie,

Thanks for the tips. I read through the EA tutorial and understand more of how to use the tool now. Seems like the tutorial is incomplete though (only get 1st 3 chapters downloaded).

Ken