IBM
Contents Index Previous Next



DP Editor Specific Information


Line Details Window

The Line Details window is opened when you select Line Details from the Edit menu. It is used to inspect, and edit the properties of the currently selected line. In particular, most of the line attribute objects that are available for the different line types can only be created from the Line Details window1.

Some line attribute objects contain editable text, and clearing that text, whether by editing in the Line Details window or directly in the diagram, will remove the attribute.

Changes made in the Line Details window will take immediate effect and will be shown in the drawing area. These changes can be undone with the Undo menu command.

The Line Details window is modeless and can remain open while you continue to work with the diagrams. The contents of the window will be updated to reflect the current selection.

The DP Editor supports two different types of lines and the contents of the Line Details window depends on the type of the currently selected line:

Figure 306 : The Line Details window when an association line is selected

Figure 307 : The Line Details window when an aggregation line is selected

The Name Field

The Name field is an editable text field that contains the name of the selected association.

This field is only available when an association line is selected.

The Direction Option Menu

By selecting one of the predefined values in the direction option menu the direction attribute of the currently selected association can be set. If any other value than None is selected an arrow will appear at one of the ends of the association line.

This option menu is only available when an association line is selected.

The Protocol Field

The Protocol field is an editable text field that allows you to create and edit the protocol attribute of an association.

The protocol field is only available when an association line is selected.

For an association line the line attribute object defined by the protocol field is permanent and is not destroyed even if the protocol field is cleared. In this respect it differs from most of the other text fields in the Line Details window.

The Encoding Field

The Encoding field is an editable text field that allows you to create and edit the encoding attribute of an association.

The encoding field is only available when an association line is selected.

The Multiplicity Field

The Multiplicity field is an editable text field that allows you to create and edit the multiplicity attribute of an aggregation.

The multiplicity field is only available when an aggregation line is selected.

For an aggregation line the line attribute object defined by the multiplicity field is permanent and is not destroyed even if the multiplicity field is cleared. In this respect it differs from most of the other text fields in the Line Details window.

The Composite aggregate Button

The Composite aggregate button is a toggle option that indicates that the selected aggregation is a composite aggregation, i.e. the diamond shape of the aggregation line is filled.

This button is set automatically depending on the current selection and is therefore never available.

The Close Button

The Close button closes the Line Details window.

Symbol Details Window

The Symbol Details window is opened when you select Symbol Details from the Edit menu. It is used to inspect, and edit the stereotype and properties fields of the currently selected node, component, thread or object symbol. For the component symbol the integration model can be selected. For the thread symbol you can edit thread priority, stack size, queue size and max signal size. For the object symbol you can enter a qualifier. These symbol attribute types can only be created from the Symbol Details window. However, when created the stereotype and properties texts can be edited directly in the diagram. All other settings can only be inspected and edited in the Symbol Details window.

Figure 308 : The Symbol Details dialog

Changes made in the Symbol Details window will take immediate effect and will be shown in the drawing area. These changes can be undone with the Undo menu command.

The Symbol Details window is modeless and can remain open while you continue to work with the diagrams. The contents of the window will be updated to reflect the current selection. If multiple symbols or a line is selected the Symbol Details window will be dimmed.

Generating a Partitioning Diagram Model

The Partitioning Diagram Model is used by the Targeting Expert as an hierarchical overview of the entities that are to be built. Partitioning Diagram Models can be generated from Deployment Diagrams. More information about this can be found in The Deployment Editor. That chapter contains guidelines for modeling Deployment Diagrams that can be used for targeting, as well as information on the available integration models.

You generate Partitioning Diagram Models from the Organizer by selecting a Deployment diagram and then selecting "Targeting Expert" in the pop-up menu. You can also select "Targeting Expert" from the Generate menu. If the generation is successful the Targeting Expert is launched with the Partitioning Diagram Model as input.

Mapping Rules

Associations are ignored in Partitioning Diagram Model generation.

The stereotype "external" on a component or node symbol means that the symbol and its sub-tree are not included when the Partitioning Diagram Model is generated. This makes it possible to model the environment that surrounds an SDL system in a deployment diagram.

Graphical Syntax Rules

In order to generate a valid Partitioning Diagram Model that can be used by the Targeting Expert the rules listed below have to be followed:

Object symbols

For object symbols several text attributes have to be correct in order to result in valid Partitioning Diagram Models.

The name of each object symbol in the diagram should be the name of the corresponding SDL entity. Whether it is a system, block or process should be specified by the stereotype and the qualifier text should describe how the SDL entity fits into the tree structure of the SDL system.

Figure 309 : The tree structure of the system Demongame

Figure 309 shows the system Demongame. An object representing the process Main in a deployment diagram should have the following text attributes:

In the same way an object representing the system Demongame should have Demongame as qualifier text, the stereotype system and the name Demongame.

1

Once created, however, all editable textual line attribute objects can be selected and edited directly in the diagram, without the use of the Line Details window.


http://www.ibm.com/rational
Contents Index Previous Next