UC IRVINE - ICS 121 Software Tools and Methods
Homework 2: ARGO/UML and Class Diagrams (5%)
|
Due in class Tuesday, May 18, 1999
Instructions
Describe the objects and relationships of interest for an e-mail system that you are familiar with. Keep in
mind that an "e-mail system" is not just the e-mail reader program that you normally use on your computer,
it also includes the server and tools used by other people. Don't think about implementing the system yet, instead
identify objects based on your understanding of the e-mail domain. Here, "domain" refers to a area of
knowledge. Expect to define 6-8 classes, 4-8 relationships, and some attributes and operations.
- Draw one class diagram in Argo/UML.
- On a separate page, write a one-sentence description of each class, association, attribute, and operation.
- Hand in a print out of the use case diagram and a sheet with your descriptions.
Using Argo/UML
You can launch Argo/UML on a Sun workstation with the following commands:
- module load java
- /home/jrobbins/argo
To start working:
- "class diagram 1" is displayed by default.
- Use the toolbar buttons for classes, associations, generalizations, attributes, and operations.
- To save, use the "Save Project As..." item on the "File" menu. Your file names will automatically
end in ".argo". For example, "hw2.argo".
- To print, use the "Print..." item on the "File" menu. When you see the print dialog box,
click on the "Write to File:" option and then type a Postscipt file name. For example, "hw2.ps".
Then at the unix command line, print the file with the lpr command. For example, lpr -Psomeprinter hw2.ps.
- If you save your file and want to work on it later: launch Argo/UML as describe above, then choose "Open
Project..." from the "File" menu. After a while you will see a blink and most of the items in the
tree pane will disappear. Click on "untitlepackage" to expand the tree again. Click on "class diagram
1" to see your class diagram.
Note: You can use Argo/UML on a PC by downloading it and
installing it yourself. However, you will have to know how to set up a java program to do this (e.g., download
some libraries, set your classpath, etc.). So I expect it will be easier to use the suns.
Note: The Ultra-1 suns run much faster than the SparcStation-4 suns.
ICS121
SQ99
David F. Redmiles
Home Page
Department of Information and Computer
Science
University of California, Irvine CA 92697-3425