blob: 5553563b5e93784c4434d0cd79729ebb41adabdb [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Showing an element in the Package Explorer view
</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>
Showing an element in the Package Explorer view
</h1>
<p>
You can reveal an element's location in the Package Explorer view
</p>
<ul>
<li>
<ol>
<li>
Select a Java element or activate a Java editor.
</li>
<li>
From the menu bar, select <strong>Navigate</strong> &gt; <strong>Show In</strong> &gt; <strong>Package Explorer</strong>.
If the Package Explorer is not already open, then it opens in the
current perspective. The workbench navigates to the selected element (or the edited compilation unit).
</li>
</ol>
</li>
<li>
From the Java editor's pop-up menu, select
<strong>Show In &gt; Package Explorer</strong>. The currently edited compilation unit will be revealed.
</li>
</ul>
<p>
<strong>Note:</strong> The element might not be revealed if Package Explorer filters are active or the
<strong>Show Members in Package Explorer</strong> preference is cleared on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.AppearancePreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="Opens the Appearance preference page">
<strong>Java &gt; Appearance</strong></a> preference page.
</p>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
</p>
<p>
<a href="../concepts/cjavaviews.htm">Java views</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-executionArgs.htm">Setting execution arguments</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-13.htm">Java Base preference page</a><br>
<a href="../reference/ref-view-package-explorer.htm">Package Explorer</a>
</p>
</body>
</html>