UML Designer User's Guide

Creating instances

To add an instance figure to a sequence diagram, follow these steps:

  1. Select Object figure icon Object from the tool bar.
  2. Use mouse button 1 to place the new figure in an empty area of the diagram. The object figure automatically appears at the top of the diagram, so only the horizontal position is important.
  3. Select Attach from the pop-up menu of the new object figure. A window appears listing the available class designs.

  4. Select the class of the object. and then select OK.

It is important to remember that objects in a sequence diagram are instances, not classes. Therefore, when you select a class design to attach, UML Designer automatically creates a new anonymous instance of the selected class and attaches the figure to the new instance.

If you want to use a named instance rather than an anonymous instance, deselect Is Anonymous on the instance figure's pop-up menu. You can then select Rename to change the name of the instance. (If you rename an anonymous instance, Is Anonymous is automatically deselected.


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