ibm Rational Rhapsody 7.5 — Modify the features of an action

Activity diagram elements Drawing an action To draw an action for your activity diagram: 1. Click the Action button on Diagram Tools . 2. Click or click-and-drag in the activity diagram to place the action at the intended location. An action appears on an activity diagram as a rectangle with curved edges. 3. Type a name for the action. 4. Press Ctrl + Enter or click the Select arrow in the toolbar to terminate editing. By default, the action expression, which does not need to be unique within the diagram, is displayed inside the action symbol. For information on modifying the display, see Displaying an action .

Modify the features of an action Use the Features window for an action to change its features, including its name and action. An action has the following features: Љ Name specifies the name of the action. The description of the action can be entered into the text area on the Description tab. This description can include a hyperlink. For more information, see Hyperlinks . Љ L specifies the label for the element, if any. For information on creating labels, see Descriptive labels for elements . Љ Stereotype specifies the stereotype of the element, if any. They are enclosed in guillemets, for example «s1» and enable you to tag classes for documentation purposes.

For information on creating stereotypes, see Stereotypes . – To select from a list of current stereotypes in the project, click the folder with binoculars button. – To sort the order of the stereotypes, click the up and down arrows button. Note: The COM stereotypes are constructive; that is, they affect code generation. Љ Action specifies an action in an activity diagram. This is the text you typed into the diagram when you created the action. Rational Rhapsody 625