Searching the current XOM

You can limit the search to the current XOM.

About this task

If you do not want to search for all the XOM classes and packages in the workspace, you can search only the current XOM.

Procedure

  1. Highlight the rule project in the Rule Explorer.
  2. Open the XOM Search page in the Search dialog and set up the search.
  3. Select the scope in the Scope area:
    • To search on all XOMs in the workspace, select Workspace.

    • To search on XOMs for specific rule projects, select Selected Rule Projects.

  4. Click Search.

    The results display in the Search view.

    For every match, the Search view shows the fully qualified name, the rule project, and the JAR file or class folder where the match was found.

  5. To open the source file of a match for a class, double-click the match item in the Search view.

    If the source is attached to the corresponding XOM reference, the source file is opened. Otherwise, an editor opens for you to set the source.

    Editing Book.java