Introduction to Using Rational Rose
CIS 671, October 2001

Based on Notes from CIS 694E, Summer 2001

How to work with Rational Rose:

  1. To start Rational Rose, type rose on the command prompt in your terminal.
  2. Window for Rational Rose will open. It might take some time.
  3. If you are working on a new assignment,
  4. If you are continuing a previous assignment,
  5. Follow the following guidelines to draw class diagram.

Changing Model Properties:

  1. One of the folders in the browser is called Model Properties. Double click on it.
  2. An Options window will appear. Click on the General tab.
  3. There are two font settings you will want to change;
  4. Under the Diagram tab, you can select global properties for your diagrams. For example, you can choose whether to show on the class diagram: attributes, visibility or operations.

Drawing the Class Diagram:

You will be working in Logical view model. Thsi view shows what classes of objects are required without showing how the objects might be implemented or how the user might interact with them.
  1. The Logical View Class Diagram window may already be open. If so, skip to step 3.
  2. Open the Logical View Folder. Double click on the icon next to Main. (Alternately, right click on Main and select Open).
  3. To draw a class, click on the class icon on the toolbar. Move the cross bar to the class diagram window and click.
  4. Name the class. Note that you do not want to use the same name as an Actor in your Use Case diagram. For example, if you have a Student actor, the class should be named StudentProxy.
  5. Now right click on the class to add attributes and methods to your class.
  6. Create all the classes you require for your class model. Using the connection symbols from the toolbar, connect the classes to show the relationship between those two classes (association, generalization/specialization or aggregation). Do the same for all the classes.
  7. You can name associations using text box in the tool bar.
  8. To add multiplicity information, right click on the association line and select the desired value.

For printing/saving diagrams:

  1. To print/save your class/use case diagram select Print on the File menu. A window will open.
  2. If you want to save the diagram to a file rather than print, look to the right of the Print window. On the right there is a small check box for this option. Click on this box.
  3. To fit a large class diagram on one page, click on the layout option of the Print window and check the box for Fit to page.
  4. If you save the file, it will be in .prn form. You can change this file to .gif file (or any other format) by the following command in unix terminal: "convert filename.prn filename.gif". [convert uses the extensions of the input and output files you specify to convert from the given input format to the desired output format.]
  5. You can use the xv command in UNIX to manipulate your image (Cropping, rotating, etc.) Use "xv filename.gif".

Customizing a Diagram Toolbar:

If you want to change the toolbar for drawing a diagram:
  1. From the Tools menu, select Options
  2. Select the Toolbars tab
  3. Select the toolbar you want to change:
  4. A Customize Toolbar window will appear, allowing you to add or remove icons.