ibm Rational Rhapsody 7.5 — Graphic editors

Rational Rhapsody tools Graphic editors You can use the graphic editors to analyze, design, and construct the system using UML diagrams. Diagrams enable you to observe the model from several different perspectives, like turning a cube in your hand to view its different sides. Depending on its focus, a diagram might show only a subset of the total number of classes, objects, relationships, or behaviors in the model. Together, the diagrams represent a complete design. Rational Rhapsody adds the objects created in diagrams to the Rational Rhapsody project, if they do not already exist. Conversely, Rational Rhapsody removes elements from the project when they are deleted from a diagram.

However, you can also add existing elements to diagrams that do not need to be added to the project, and remove elements from a diagram without deleting them from the model repository. Љ Use case diagram editor provides tools for creating use case diagrams, which show the use cases of the system and the actors that interact with them. See Use case diagrams . Љ Object model diagram editor provides tools for creating object model diagrams, which are logical views showing the static structure of the classes and objects in an object- oriented software system and the relationships between them. See Object model diagrams .

Љ Sequence diagram editor provides tools for creating sequence diagrams, which show interactions between objects in the form of messages passed between the objects over time. If you run animated code with the Animator, you can watch messages being passed between objects as the model runs. See Sequence diagrams . Љ Collaboration diagram editor provides tools for creating collaboration diagrams, which describe how different kinds of objects and associations are used to accomplish a particular task. Collaboration diagrams and sequence diagrams are both interaction diagrams that show sequences. Sequence diagrams have a time component, whereas collaboration diagrams do not.

Like sequence diagrams, collaboration diagrams show the message flow between different classes. However, collaboration diagrams emphasize object relationships whereas sequence diagrams emphasize the order of the message flow. For a particular task or interaction, a collaboration diagram can also show the individual objects that are created, destroyed, or exist continuously for the duration of the task. See Collaboration diagrams . Љ Statechart editor provides tools for creating statecharts, which define the behaviors of individual classes in the system.

Statecharts show the states of a class in a given context, events that can cause transitions from one state to another, and actions that result from state transitions. Rhapsody generates function bodies from information entered into statecharts. If you run animated code with the animator, you can watch an object change states as it reacts to various messages, events, and triggered operations that you generate. See Statecharts Rational Rhapsody 13