UML Designer User's Guide


Adding more elements

We've now diagrammed the Catalog class and its conformance to the <Catalog> protocol. In order to completely diagram our design as it stands, we need to add the other classes and protocols we've come up with so we can show their relationships to one another.

To add the other classes and protocols, follow these steps:

  1. Select Class figure icon Class on the tool bar to add a second class figure to the diagram.
  2. Select Attach from the pop-up menu of the new figure.
  3. Attach the new figure to a new class design called Library. Specify that you want to generate a real Smalltalk class.
  4. Use the same procedure to add another class figure attached to a class design (and Smalltalk class) called CatalogEntry.
  5. Now select Protocol figure icon Protocol on the tool bar to add a second protocol figure to the diagram.
  6. Select Attach from the pop-up menu of the new figure.
  7. Attach the new figure to the <CatalogEntry> protocol.

You should now have five design elements represented on the diagram:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]