Advanced Operations on Elements

You can perform a wide range of more specialized functions on an element, specific to the element type and relationship to other modeling objects.

Access     Right-click on element | Advanced

Advanced Options

Option

Action

Shortcut

See also

Parent

(For a classifier element that can be generalized) Set the element parent.

 

Ctrl+I

Set Element Parent

Instance Classifier

(For an instance or Object element) Set the instance classifier for the element, on the Select <Item> dialog.

 

Ctrl+L

Select <Item> Dialog

Classifier Properties

(For an instance or Object element) Open the Properties dialog for the classifier of the selected element.

 

Ctrl+Alt+Enter

Properties Dialog

Change to State (Value) Lifeline

(For a State Lifeline or Value Lifeline element) Switch one type of Lifeline element to the other.

 

Value Lifeline

State Lifeline

 

Set Property Type

(For a Part element) Browse for and select the element that defines the Part type, using the Select <Item> dialog.

 

 

Part

Multiplicity

Define the multiplicity for the element, using the format defined on the Cardinality Values tab of the UML Types dialog (Settings | UML Types).

This is the number of instances of the element that can exist in a set; the value displays on the element in a diagram, in the Name compartment.

 

 

Cardinality

Port Size Customizable

(For a Port element) Allow the Port to be re-sized from the default size. If the option is not set, the element size cannot be changed.

 

 

Port

Show Element Type

(For a Port or Part element) Toggles between displaying and hiding the element type, as set using the Set Property Type option (above) or on the Property page of the element's Properties dialog.

 

Part

Port

The Property Page

 

Set Property Values

(For a Part element) Set the property value for the Part, using the Set Property Values dialog.

 

Ctrl+Shift+R

Add Property Values

Edit Extension Points

(For a Use Case element) Display the Use Case Extension Points dialog, which you use to insert the point at which the behavior should be inserted.

 

 

Use Case Extension Points

Association Class

(For a Class element) Connect the Class to a new Association.

 

Connect New Class to Association

 

Use Rectangle (Circle, Actor) Notation

 

(For an element that uses non-rectangular notation) Apply rectangle notation to the element (and switch back again).

 

Rectangle Notation

Partition Activity

(For an Activity element) Define an Activity Partition in the element.

 

 

Activity Partition

Set Run State

(For an Object or State element) Add a new instance variable to the element using the Define Run State dialog.

 

Ctrl+Shift+R

Define A Run-Time Variable

Set Object State

(For an Object or instance element) Set the state of the element based on the child states of its classifier.

 

Ctrl+Shift+S

Object State

Override Attribute Initializers

(For a Class element with attributes) Pre-define initial values for attributes that can be used to override existing defaults.

 

Ctrl+Shift+R

Display Inherited Attributes

Convert to Instance (Property/Invocation)

Convert this classifier to an instance, property or invocation, depending on the type of classifier selected (for example, SysML classifiers are always converted to properties).

 

 

Classifiers and Instances

Convert Linked Element To Local Copy

Convert the occurrence of the element on this diagram from a link to the original element to a local copy of the element. A copy of the element is also added to the diagram's parent package in the Project Browser.

 

 

 

Make Sender/Receiver

(For Send and Receive Event elements) Toggle the element from a sender to a receiver and vice versa.

 

 

Receive

Send

Accept Time Event

(For a Receive element) Change the notation from an Accept Event action to an Accept Time Event action.

 

 

Receive

Define Concurrent Substates

(For a State element) Define a set of substates that can be held simultaneously within that composite State.

 

 

Regions

Use State Label Notation

Display State Label Notation for a State object (the element name is displayed on a box on top of the element rather than inside it).

 

 

 

Deep History

(For a History pseudo-State) Change the type of a shallow History pseudo-state to a deep History pseudo-state.

 

 

History

Set Attached Links

(For a Note element) Attach the element to a connector, or several connectors.

 

 

Add a Note to a Connector

Link to Diagram Note

(For a Note element) Display the diagram notes as the text of the Note element.

The option simply deletes any current text and blocks the Note from being edited other than through the Notes field in the diagram Properties dialog.

 

 

Link Note to Internal Documentation

Link to Connector Tagged Value

(For a Note element) Display the Tagged Values assigned to the connector as the Note text, or hide the text.

 

 

 

Vertical Partition

(For an Activity Partition element) Switch a horizontal Partition to a vertical Partition.

 

 

Partition

Tagged Value

Add a Tagged Value to the selected element.

 

Quick Start - Add Tagged Value To Elements

 

Notes

Context menus vary between element types, and few of the menu options shown here are present on all element context menus; Tagged Value is often the only option available
If an element appearance is overridden by a Shape Script, several of the appearance options are disabled; for example, Use Rectangle (Circle) Notation

Learn more