Show: Delphi C++
Display Preferences

Navigating among the Model View, Diagram View, and Source Code

From RAD Studio
Jump to: navigation, search

Go Up to Locating Diagram Elements

You can navigate between the Model View, Diagram View, and source code.

To navigate from the Model View to a diagram in the Diagram View

  1. In the Model View, right-click the diagram node.
  2. On the context menu, choose Open Diagram.
Alternatively, in the Model View, double-click the diagram node.

To navigate from the Model View to an element in the Diagram View

  1. In the Model View, right-click a model element.
  2. On the context menu, choose Select on Diagram.
If this model element appears on several diagrams, then the Select on Diagram menu item contains the submenu. On this submenu, choose the required diagram.

To navigate from the Diagram View to the Model View

  1. In the Diagram View, right-click an element or the diagram background.
  2. On the context menu, choose Synchronize Model View.

To navigate from the source code to the Model View

  1. In the source code editor, right-click the line containing the desired element.
  2. On the context menu, choose Synchronize Model View.
The element becomes highlighted in the Model View.

To navigate from the Model View or Diagram View to the source code

  1. In the Model View or in the Diagram View, right-click a model element or a node member.
  2. On the context menu, choose Go to definition or Go to declaration.
The code editor opens with the source code of the element in question. The element definition (or declaration) is highlighted.
This command is available in implementation projects for elements generating some source code.
Tip: To open the source code of an entire class or an interface, double-click the element icon.

To navigate from a lifeline to its classifier in the Model View or a Class diagram

  1. In the Diagram View, right-click the selected lifeline on a UML 2.0 Sequence diagram.
  2. Choose Select > Type in Model View to navigate to the classifier in the Model View.
Or choose Select > Type on Diagram to navigate to the classifier on a Class diagram in the Diagram View.


See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance