Searching for a Program Element in the Repository

To find a program element in the repository, use the Go To tool in the Repository Explorer.  The Go To tool finds and selects a particular program element in a long list of elements.

To find a program element within the current page of the Repository Explorer:

  1. Open the Repository Explorer by selecting Repository Explorer from a Window menu.
  2. Start the Go To tool by selecting Go To from the Names menu.  In the submenu, select the program element type (for example, Project, Package, or Methods) you want to go to.  Only those program element types that the current page of the explorer can display are available.
  3. In the Go To dialog, all the program elements in the page are listed.  Select the one you want to go to from the list, or narrow down the list by typing in part of the name.  Use the following wildcard characters to help with the search:
    Wildcard Character Represents
    * any string of characters
    # any single character
  4. Click OK to go to the program element.  Remember, you will remain in the Repository Explorer page that you were in before, but the searched-for program element will be selected.  If you want to open a shadow browser for the element, double-click on it.

If you want to add the found element to the workspace:

  1. Select the element.
  2. Select the desired edition.
  3. Select Add from the edition's pop-up menu.

Note: You can add a class or method to the workspace only if its containing package is already added.

ngrelc.gif (533 bytes)
Workspace
Repository

ngrelt.gif (466 bytes)
Searching for a Program Element in the Workspace
Searching for Declarations of and References to a Program Element
Searching for Text in a Source Pane
Adding Projects and Packages from the Repository to the Workspace
Adding Classes and Methods from the Repository to the Workspace