The EGL Parts Reference view lists, in a tree format, the
data declarations and functions that are in a main part. A primary
use of the view is to navigate quickly to a part that is the basis
of a data declaration.
To display the EGL Parts Reference view for a main part, do as
follows in the Project Explorer, Outline view, or EGL Parts List view:
- Right-click the file that contains the part
- Click Open in Parts Reference
To view the data declarations and functions that are in the main
part, expand sections of the tree in the EGL Parts Reference view,
as needed:
- To expand or contract a section of a subtree, click the + or -
icon at the side of the tree node
- To expand all sections in a subtree, right click on the node that
defines the subtree and click Expand branch to end
- To expand all sections in the view, right click on any node and
click Expand all branches to end
The next table lists other options that are available in the EGL
Parts Reference view.
| Task |
Keystrokes |
| Open a part or widget-type definition that is
referenced in the view |
Double-click the part or widget-type definition,
or a function included in the part. Alternatively, right-click a node
and click Open Part. |
| List the parts that are referenced in a selected
part |
Right-click the part or widget-type definition,
or a function included in the part; and then, click Open
in Parts List. |
| View one section in the tree so that you can
focus on one aspect of the part |
Right-click a tree node (for example, Data
Declarations or a specific record declaration), right-click Go
into, and, if necessary, expand the tree that is now displayed.
To return to the previous display, click the left arrow in the EGL
Reference view. |
| Generate a part |
Right-click the part and click Generate (to
generate with the default build descriptor) or Generate
with Wizard (to work through a set of screens where you
can select a different build descriptor). |
| Rename a part |
Right-click the part, click Refactor > Rename,
and follow the directions in “Renaming parts." |
| Move a part |
Right-click the part, click Refactor > Move,
and follow the directions in “Moving parts." |
| Search for parts, data declarations, or functions |
As described in the next section. |
Other options vary by part type.
Search for parts, data declarations,
and functions
To identify the project and file location of a definition that
is referenced in the view, do as follows:
- Right- click the part or widget type
- Click Declarations
- Select the scope of your search
- Inspect the Search view, where you can open the file by double-clicking
the file name
To find references to a given part, widget type, or function, do
as follows:
- Right-click the part, widget type, or function
- Click References
- Select the scope of your search
- Inspect the Search view, where you can open a file by double-clicking
the file name
To search for items in the EGL Reference view itself, do as follows:
- Right-click the EGL Parts Reference view and then click Find
in tree.
The EGL Parts Reference Find window opens.
- Type a search string into the Search string field.
- A question mark (?) represents any one character
- An asterisk (*) represents a series of any characters
For example, type my?Part to locate parts
named "my1Part" and "my2Part", but not "my10Part". Type my*Part to
locate parts named "my1Part", "my2Part", and "my10Part".
- Select one of two search types. Part search searches
for EGL parts and Text search searches for
text in the tree
- Select the options for the search.
- If you selected Part search, you can select
a type of part to search for by clicking a radio button under Search
For.
- Under Direction, choose to search Forward or Backward from
the currently selected part.
- To make a text search case-sensitive, select the Case
sensitive check box.
- To continue searching from the other end if the search reaches
the bottom or the top of the tree, select the Wrap search check
box.
- To search for only a complete part name or text string, select
the Whole word check box.
- When you are finished setting the criteria for the search, click Find.
The first result of the search is highlighted in the EGL Parts Reference
view.
- To move to the next result, click Find.
- When you are finished, click Close.