The Modeling Toolbox contains a development kit to simplify
your systems engineering tasks. Each function on the Modeling Toolbox
window has an associated function button that is enabled only when
appropriate.
Procedure
- Open the Modeling Toolbox. Select .
- Set the source element. On the browser in Rational® Rhapsody®,
select an element or group of elements and then click the Set
Source button on the Modeling Toolbox window.
- If you selected one source element, its name appears below the
button.
- If you selected a group of source elements, your choices appear
on the Source tab.
- Select the destination. On the browser, select one or more
destinations for the selected source elements, and then click the Set
Destination button.
- If you selected one destination, its name appears below the button.
- If you selected a group of destination, your choices appear on
the Dest tab.
- Use the General, Dependencies, Other,
and Generate SDs tabs to select the area of
interest for the task.
- On the General tab, the following
functions are available:
- Hyperlinks - Create one-to-many or many-to-one
hyperlinks
- Anchors - Create one-to-many or many-to-one
anchors
- SD Ref(s) - Add multiple sequence diagrams
as referenced sequence diagrams to a target use case
- Event Reception(s) - Add event receptions
to interfaces by targeting the events
- Value Type - Create mapping between units
and value types
- Conveys - Add multiple model elements to
flows
- Merge Blocks - Copy attributes, operations,
and event receptions from multiple blocks to a target block
- On the Dependencies tab, the
following functions are available:
- Create Basic Dependency - Create one-to-many
or many-to-one dependencies
- Create Dependency with Stereotype - Create
one-to-many or many-to-one dependencies with stereotypes
- On the Other tab, the following
functions are available:
- Populate Activity Diagram - Add missing
actions to an activity diagram
- Allocate Operations from Swimlanes - Copy
operations from one block to others based on analysis of actions in
swimlanes on an activity diagram
- On the Generate SDs tab, use Create
New Scenario From Activity Diagram to create a sequence
diagram through dynamic analysis of an activity diagram. You decide
which flow to generate.
Use the Live Help function for more information about the
functions on the General and Other tabs
by placing your mouse pointer over the small buttons to the left of
the function names, as shown in the following figure.
Results
If a function does not become enabled, then the following
errors are possible. When there are errors, see the
Errors tab.
- The incorrect source or destination or both have been selected.
- The source and destination are correct, but the element exists.
For example, if a hyperlink already exists between a selected single
source and a single destination, then the hyperlink function is not
enabled.
Other tabs can appear on the Modeling Toolbox window when
appropriate, for example, the Errors tab.