Show where a definition is used (Professional Edition only)

In this section, you will learn how to use a feature to show where a definition is used within the OCLWorkshop2009Demo project.
This feature shows on demand all places where a definition is used and allows user to navigate to this elements

  1. Make sure that all libraries are parsed. For this step you can use Project > Clean... and select the appropriate projects.
  2. Clean a project

  3. If the problems view is not visible, select the menu item Window > Show View > Problems.
  4. In the Outline, select a definition.
  5. Right click on the selected definition and select the menu item Show use of definition.

    Right click on definition

  6. The places where a definition is used are shown as warnings in the problems view.

    Project Statistics in the editor

  7. On double click on a warning you can navigate to the place where the definition is used.