Add Property Slots to Instance

A classifier element can have a range of characteristics that are automatically applied to an instance based on that classifier. You can also, optionally, add any Property elements (Ports, Parts and Expose Interfaces) on the classifier to the instance, as 'slots' for the definition of each Property. This provides some flexibility in creating variations of the design defined in the classifier. For example, models of car might have doors of the same specification, but in a two-door or four-door configuration.

Add classifier Property elements to an instance

Step

Action

See also

1

Create and save the classifier element with the configuration of Property elements you need.

Part

Port

Expose Interface

 

2

Create or assign an instance of the classifier on your work diagram.

Classifiers and Instances

 

3

Right-click on the instance and select the Structural Elements context menu option.

The Structural Elements dialog displays, listing the Property elements defined for the classifier.

 

Manage Structural Elements

4

Select the check box against each Property to reproduce in the instance element, and click on the Close button.

Each Property element is shown in the top left of the instance; drag the elements into the arrangement you want. The Property element name within the instance is prefixed with a / character.