Using the Mouse in Model Trees
Navigating and executing commands in the model trees with the mouse.
You can use the mouse in model trees in the following ways:
-
Left-click on a node selects this single node.
-
Left-click with the [Shift] button pressed extends the selection from the node last selected to where the mouse is now as one area.
-
Left-click with the [Ctrl] button pressed inverts the node's selection.
-
Left-click on the expander to open/close the subtree.
-
Right-click on a node to open the context menu. The commands in it are executed with the left mouse button.
-
Double-click is interpreted in the following order:
-
If a node is expandable (Expand icon before the item), then double-clicking opens/closes the sub tree
-
If a node is not expandable but can be edited in an editor (bold text), then double-clicking opens the element in its editor (diagram or table)
Note
An exception is the components in the model tree of the Model Structure tool window view. Double-clicking does not open the associated table editor, because the model tree is used primarily for navigation.
You can open components in this model tree using the command in the ribbon or context menu or with the [Enter] key.
-
If a node is neither expandable nor editable in an editor, then double-clicking has the same effect as a single-click
-
-
[Shift]+double-click jumps to the default reference; if there are multiple default references, a selection dialog appears.
-
[Ctrl]+double-click jumps to the instance in a diagram; if multiple instances exist, a selection dialog appears.
-
Left-click, hold and drag to start drag-and-drop.
If you get a node which was not previously selected, this is the only node to get the selection and all other nodes are deselected. If you select multiple nodes and drag one of them, they are all dragged.
If you reach the top or bottom edge of the tree when you are dragging the nodes, your dragging is stopped for a second and the diagram is automatically scrolled to show more elements.
If the mouse hovers over a collapsed node when dragging, the node is expanded and the contents is shown.
-
The vertical scroll bar can be moved by pulling the scroll bar on the screen up and down or by using the mouse wheel; it does not matter what position the mouse is in.