About this task
Three
properties (under SequenceDiagram::General)
to support the sequence diagram operation modes:
- ClassCentricMode specifies whether
classes are realized when you draw instance lines. The possible values
are as follows:
- Checked means
instance names of
the form <xxx> are treated
as class names, not instance names. For example, if you create an
instance line named c, IBM® Rational® Rhapsody® creates
a class named c and displays it in the sequence diagram
as :c.
- Cleared means
when you create
an instance line, it is named role_n by default,
which represents an anonymous instance. This is the default value.
- RealizeMessages specifies
whether
messages are realized when you create them. The possible values are
as follows:
- Checked where
in Design mode,
when you type in a message name, Rational Rhapsody asks
if you want to realize the message. If you answer no, the message
is unspecified. For example, you could use an unrealized message to
describe a message that is part of the framework (such as takeEvent()),
without actually adding it to the model. (In analysis mode, the confirmation
is controlled by the SequenceDiagram::General::ConfirmCreation property.)
- Cleared where you
can draw message
lines freely, without messages from the product about realization.
This is the default value.
- CleanupRealized specifies
whether
to delete messages in the sequence diagram if the corresponding operation
is deleted. The possible values are as follows:
- Checked means
to delete the messages
when the operation is deleted.
- Cleared means
to not delete the
messages when the operation is deleted. This is the default value.
For sequence diagrams produced in
version 4.0
or earlier of the product, all three of these properties are Cleared.