You can display a hierarchical view of the EGL parts that are referenced
in a program, library, PageHandler, service, or report handler part; and you
can access those parts:
- Open the Parts Reference view in one of the following ways:
- In the Project Explorer view or the EGL Parts List view, right-click on
an EGL file that contains a program, library, PageHandler, service, or report
handler part. Select Open in Parts Reference.
- Alternatively, open an EGL file in the EGL editor:
- If the Outline view is not displayed, open that view by selecting Show
View > Outline from the Window menu.
- In the Outline view, right-click on a file, then click Open in Parts
Reference.
- The program, library, PageHandler, service, or report handler part is
at the top level of the hierarchy; each referenced part is a sub-item in that
hierarchy; and for each part, the view displays parameters, data declarations,
use declarations, and functions, as appropriate.
- Double-click on a part. The related source file opens in the EGL editor,
and the part name is highlighted.
You can search for related EGL code by right-clicking on the part, clicking References or Declarations and then choosing a scope for the search.
You can also search for parts or text strings among the parts in the view:
- Right-click on 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 myForm?Group to locate parts named myForm1Group
and myForm2Group, but not myForm10Group. Type myForm*Group to locate
parts named myForm1Group, myForm2Group, and myForm10Group.
- Choose a search type. Part search searches for
EGL parts and Text search searches for text within
the
- Select the options for the 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 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 make a text search case-sensitive (so that myFormGroup is different
from MYFORMGROUP), click the Case sensitive 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.
Related concepts
EGL projects, packages, and files
Parts