Graphic editors The Rational Rhapsody graphic editors for the different UML diagrams provide the tools needed to create different views of a software model. Each graphic editor is described in detail in subsequent sections of this guide. This section describes the menus and features that are common to all the graphic editor. Create new diagrams You can use the Diagrams toolbar, Edit menu, Tools menu, or right-click menu commands in the browser to create a new UML diagram. Creating new statecharts Statecharts describe the behavior of a particular class. They can be added only at the class level. A class can have either a statechart or an activity diagram, but not both.
To create a new statechart, right-click a class in the Rational Rhapsody browser and select Add New > Diagrams > Statechart . A new (blank) diagram is displayed in the drawing area. Note Add New > Diagrams is the default menu command structure in Rational Rhapsody. It can be changed by users. This topic assumes that all defaults are in place. Creating new activity diagrams Activity diagrams describe the behavior of a particular class. They can be added only at the class level. A class can have either a statechart or an activity diagram, but not both. To create a new activity diagram, right-click a class in the Rational Rhapsody browser and select Add New > Diagrams > Activity .
A new (blank) diagram is displayed in the drawing area. Note Add New > Diagrams is the default menu command structure in Rational Rhapsody. It can be changed by users. This topic assumes that all defaults are in place. Rational Rhapsody 409