| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <meta name="GENERATOR" content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]"> |
| <title> |
| Search actions |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Search actions |
| </h1> |
| <p> |
| Search menu commands: |
| </p> |
| <table border="1" cellspacing="0" cellpadding="5" width="100%"> |
| <tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Function |
| </p> |
| </th> |
| <td> |
| <strong>Keyboard Shortcut</strong> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" valign="top"> |
| <p> |
| Search... |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Opens the search dialog |
| </p> |
| </td> |
| <td> |
| Ctrl + H |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| File... |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Opens the search dialog on the File search page |
| </p> |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Help... |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Opens the search dialog on the Help search page |
| </p> |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Java... |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Opens the search dialog on the Java search page |
| </p> |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| References |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Finds all references to the selected Java element |
| </p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Declarations |
| </td> |
| <td> |
| Finds all declarations of the selected Java element |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Implementors |
| </td> |
| <td> |
| Finds all implementors of the selected interface. |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Read Access |
| </td> |
| <td> |
| Finds all read accesses to the selected field |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Write Access |
| </td> |
| <td> |
| Finds all write accesses to the selected field |
| </td> |
| <td> |
| </td> |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| <p>Occurrences in File</p> |
| </td> |
| |
| <td valign="top"> |
| <p>Finds all occurrences of the selected Java element in its file</p> |
| </td> |
| <td> |
| Ctrl + Shift + U |
| </td> |
| |
| </tr> |
| |
| <tr> |
| <td valign="top"> |
| <p>Referring Tests</p> |
| </td> |
| <td valign="top"> |
| <p>Finds all JUnit tests that refer to the currently selected type</p> |
| </td> |
| <td> |
| </td> |
| </tr> |
| |
| </table> |
| |
| <p> |
| Search Scopes Submenu: |
| </p> |
| <table border="1" cellspacing="0" cellpadding="5"> |
| <tr> |
| <th> |
| <p> |
| Scope |
| </p> |
| </th> |
| <td> |
| <strong>Availability</strong> |
| </td> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Workspace |
| </p> |
| </td> |
| <td> |
| all elements |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Searches in the full workspace |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Project |
| </p> |
| </td> |
| <td> |
| all elements |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Searches in the project enclosing the selected element |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Hierarchy |
| </p> |
| </td> |
| <td> |
| types and members |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Searches in the type's hierarchy |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Workings Set |
| </p> |
| </td> |
| <td> |
| all elements |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Searches in a working set |
| </p> |
| </td> |
| </tr> |
| </table> |
| <p> |
| Scopes can be saved and names in the working set dialog. Existing instances of working sets |
| are also available in the Search Scope submenu |
| </p> |
| <p> |
| A Java search can also be conducted via the context menu of selected resources and elements in the following views: |
| </p> |
| <ul> |
| <li> |
| Package Explorer |
| </li> |
| <li> |
| Outline view |
| </li> |
| <li> |
| Search result view |
| </li> |
| <li> |
| Hierarchy view |
| </li> |
| <li> |
| Browsing views |
| </li> |
| </ul> |
| <p> |
| The search context menu is also available in the Java editor. The search is only performed if the currently selected text can be resolved to a Java element. |
| </p> |
| <p> |
| The type of the selected Java element defines which search context menus are available. The Java editor does not constrain the list of available Java searches based on the |
| selection. |
| </p> |
| <p> |
| <img src="../images/ngrelc.png" alt="Related concepts" border="0" > |
| </p> |
| <p> |
| <a href="../concepts/concepts-8.htm">Java search</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelr.png" alt="Related reference"> |
| </p> |
| <p> |
| <a href="../reference/ref-131.htm">Java Search tab</a> |
| </p> |
| |
| </body> |
| </html> |
| |