blob: 712a099c921eda7a87f75871dc51cd2e937d90eb [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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.75 [en] (Windows NT 5.0; U) [Netscape]">
<meta name="Author" content="Adam Kiezun">
<title>
Conducting a Java search using the Search dialog
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>
Conducting a Java search using the Search dialog
</h1>
<p>
Java search allows you to quickly find references to and declarations of Java elements.
</p>
<ul>
<li>
Open the Search dialog by either:
<ul>
<li>
Clicking the <strong>Search</strong> button in the toolbar or
</li>
<li>
Pressing <strong>Ctrl+H</strong> or
</li>
<li>
Selecting
<a class="command-link" href='javascript:executeCommand("org.eclipse.search.ui.openSearchDialog")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>Search &gt; Search...</strong></a> from the menu bar.
</li>
</ul>
</li>
<li>
Select the <strong>Java Search</strong> tab.
</li>
<li>
In the <strong>Search string</strong> field, type the string for which you want to search, using wildcards as needed.
</li>
<li>
You can also choose a previous search expression from the drop-down list. Selecting a previous search expression restores all values associated with that previous search
in the dialog.
</li>
<li>
Select the Java element type in the <strong>Search For</strong> area.
</li>
<li>
Narrow your search in the <strong>Limit To</strong> area, or select <strong>All occurrences</strong> to search for references
and declarations to a Java element.
</li>
<li>
Optionally, select the <strong>Search the JRE system libraries</strong> checkbox to include the JRE in your search.
</li>
<li>
Optionally, use the <strong>Scope</strong> area to narrow the scope of your search.
</li>
<li>
Click <strong>Search</strong>, and the search is carried out. The results are displayed in the Search view in the workbench window.
</li>
<li>
Optionally, use the Search view's view menu to switch between flat and hierarchical result presentation, or to configure filters.
</li>
</ul>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
<p>
<a href="../concepts/concepts-8.htm">Java search</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-104.htm">Conducting a Java search using pop-up menus</a>
</p>
<p>
<br>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-131.htm">Java search tab</a><br>
<a href="../reference/ref-menu-search.htm">Search menu</a>
</p>
</body>
</html>