![]() |
![]() |
![]() |
![]() |
Toolbar Toolbar
The standard toolbar is displayed directly under the menu bar, along the top of the application window. This toolbar is independent of the open diagram window.
The following icons are available for use on the standard toolbar.
Figure 2 Standard Toolbar
New Model
Clicking the New Model icon creates a new model.
Open Model
Clicking the Open Model icon opens the Load Model dialog box. You can open a model from anywhere within the design.
New and Open icons: If you have a model open when you click either the New or Open icon, you are prompted to save your current model. Clicking No discards all changes since your last save. Clicking Yes saves your changes and either opens a new model or displays the Load Model dialog box.
Save Model or Log
Clicking the Save Model icon opens the Save Model to dialog box. Enter a new file name. After the model is named and saved, clicking this icon automatically saves your changes to the current model without displaying the dialog box. This will also save the log if the log window is open.
Cut
Clicking the Cut icon removes icons from your model. Element(s) must be selected to activate the icon. Cutting an element will also cut associated relationships. You can cut multiple selected items.
Copy
Clicking the Copy icon copies an element to a new location on the same model, or to a new model, without affecting the original model.
Paste
Clicking the Paste icon pastes a previously cut or copied element on the Clipboard onto another location.
Print Diagrams
Clicking the Print icon prints diagrams to the default printer.
Context Sensitive Help
Clicking the Context Sensitive Help icon makes all topics covered in the online Help available. Click this icon and then click the item with which you want help.
View Documentation
Clicking the View Documentation icon displays the documentation window on the diagram.
Browse Class Diagram
Clicking the Browse Class Diagram icon opens the Select Class Diagram dialog box.
Browse Interaction Diagram
Clicking the Browse Interaction Diagram icon opens the Select Interaction Diagram dialog box.
Browse Component Diagram
Clicking the Browse Component Diagram icon opens the Select Component Diagram dialog box.
Browse State Machine Diagram
Clicking the Browse State Machine Diagram icon opens the Select Statechart Diagram or Activity Diagram dialog box.
Browse Deployment Diagram
Clicking the Browse Deployment Diagram icon opens the Deployment Diagram dialog box.
Browse Use-Case Diagram
Clicking the Browse Use-Case Diagram icon opens the Selected Use Case Diagram dialog box.
Browse Parent
Clicking the Browse Parent icon displays the "parent" of the selected diagram or specification. If you have a specification selected, the specification for the parent of the "named" item is displayed.
Browse Previous Diagram
Clicking the Browse Previous Diagram icon displays the last displayed diagram.
Zoom In
Clicking the Zoom In icon magnifies the current diagram to view an area in detail.
Zoom Out
Clicking the Zoom Out icon minimizes the current diagram allowing you to view more information.
Fit in Window
Clicking the Fit in Window icon centers and displays a diagram within the limits of the window. This command changes the zoom factor so that the entire diagram appears.
Undo Fit in Window
Clicking the Undo Fit in Window icon undoes the actions performed on the previous Fit In Window command.
Help Topics
Clicking the Help Topics icon opens the online Help contents.
ToolboxThe diagram toolbox consists of tools that are appropriate for the current diagram. Changing diagrams automatically displays the appropriate toolbox.
When a modifiable diagram window is active, a toolbox with tools appropriate for the current diagram is displayed. If the current diagram is contained by a controlled unit or the model is write-protected, the toolbox is not displayed.
While each diagram has a set of tools applicable for the current diagram, all toolboxes have the Selector, Separator, and Lock icons.
Selector Icon
The selector icon is used to select icons on the diagram. This icon cannot be removed from the toolbox.
Separator Icon
The separator icon is used to put a small space between icons on the toolbox. You can have as many separators as you want, but you must have at least one.
Lock Icon
The lock icon can be set to locked or unlocked. In the locked mode, any tool icon stays in the selected state until the diagram loses focus or another tool button is selected. This option facilitates the rapid placement of several identical icons without repeatedly returning to the diagram toolbox.
This icon is usually not displayed, but you can add it to the toolbox. Refer to Customizing the Toolbox on page 11.
You can obtain the lock functionality without the icon through the shortcut menu or by pressing the SHIFT key while placing an element. Releasing the SHIFT deactivates the lock feature.
The toolbox for each diagram type is discussed in the appropriate chapter.
Note: You can also extend the toolbox. This allows you to view stereotype icons and additional tools if applicable. Refer to Adding Stereotypes to the Diagram Toolbox on page 187 for more details.
Rational Software Corporation
http://www.rational.com support@rational.com docs@us.ibm.com Copyright © 1993-2000, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |