UML Designer User's Guide
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:
- Select
Class on the tool bar to add a second class figure to the
diagram.
- Select Attach from the pop-up menu of the new figure.
- Attach the new figure to a new class design called
Library. Specify that you want to generate a real Smalltalk
class.
- Use the same procedure to add another class figure attached to a class
design (and Smalltalk class) called CatalogEntry.
- Now select
Protocol on the tool bar to add a second protocol figure to the
diagram.
- Select Attach from the pop-up menu of the new figure.
- Attach the new figure to the <CatalogEntry> protocol.
You should now have five design elements represented on the diagram:
- Catalog class
- <Catalog> protocol
- CatalogEntry class
- <CatalogEntry> protocol
- Library class
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]