ibm Rational Rhapsody 7.5 — Drawing boxes

Graphic editors Repetitive drawing mode By default, each time you want to add an element to a diagram, you must first click the appropriate icon in the Diagram Tools . In some cases, however, you might want to add a number of elements of the same type. To facilitate this, Rational Rhapsody includes a repetitive drawing mode . To enter repetitive drawing mode, click the “stamp” icon in the Layout toolbar. Now, after choosing a tool in the Diagram Tools , you will be able to continue drawing elements of that type without selecting the tool again each time.

If you choose a different tool from the toolbar, then Rational Rhapsody will allow you to draw multiple elements of the newly selected type. After you click the icon, Rational Rhapsody remains in repetitive drawing mode until you turn it off. To turn off the repetitive mode, just click the "stamp" icon a second time. Drawing boxes Each editor contains tools to draw boxes. The following table lists the box elements available with each editor. To draw a box: 1. Select a box tool. 2. Move the cursor to the drawing area, and do one of the following actions: a. Quick-Draw where you can click once to draw a box with the default size, shape, and name.

418 User Guide Diagram Editor Box Elements Object model Classes, packages, composite classes, objects, files, actors, and annotations Use case Use cases, actors, systems boundary boxes, packages, and annotations Component Components, files, folders, and annotations Deployment Nodes, components, and annotations Collaboration Objects, multi-objects, actors, and annotations Statechart States and annotations Activity Actions, subactivities, action blocks, object nodes, swimlane frames, connectors, and annotations Structure Composite classes, objects, and annotations