Previous: Dependency Browser, Up: Source Browsing


10.4 Entity Browser

The entity browser displays static information about any source entity.

The exact content of the items depend on the type of the item. For instance:

Ada record / C struct
The list of fields, each as an hyper link, is displayed. Clicking on one of the fields will open a new item for the type.
Ada tagged type / C++ class
The list of attributes and methods is displayed. They are also click-able hyper-links.
Subprograms
The list of parameters is displayed
Packages
The list of all the entities declared in that package is displayed
and more...

entity-browser.jpg

This browser is accessible through the contextual menu in the project view and source editor, when clicking on an entity:

Browsers/Examine entity entity
Open a new item in the entity browser that displays information for the selected entity.

Most information in the items are click-able (by default, they appear as underlined blue text). Clicking on one of these hyper links will open a new item in the entity browser for the selected entity.

This browser can display the parent entities for an item. For instance, for a C++ class or Ada tagged type, this would be the types it derives from. This is accessible by clicking on the up arrow in the title bar of the item.

Likewise, children entities (for instance types that derive from the item) can be displayed by clicking on the down arrow in the title bar.

An extra button appear in the title bar for the C++ class or Ada tagged types, which toggles whether the inherited methods (or primitive operations in Ada) should be displayed. By default, only the new methods, or the ones that override an inherited one, are displayed. The parent's methods are not shown, unless you click on this title bar button.