| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| <head> |
| <meta name="copyright" content= |
| "Copyright (c) IBM Corporation and others 2000, 2011. 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=utf-8" /> |
| <meta http-equiv="Content-Style-Type" content="text/css" /> |
| <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" type="text/javascript"> |
| |
| </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>Select a Java element or activate a Java editor. |
| </li> |
| <li>From the menu bar, select <strong>Navigate</strong> > <strong>Show |
| In</strong> > <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> |
| <li>From the Java editor's pop-up menu, select <strong>Show In > |
| |
| 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.svg" alt= |
| "Opens the Appearance preference page" /> <strong>Java > |
| |
| Appearance</strong></a> preference page. |
| </p> |
| |
| <h3 class="related">Related concepts</h3> |
| <a href="../concepts/concept-java-views.htm">Java views</a> |
| |
| <h3 class="related">Related tasks</h3> |
| <a href="tasks-executionArgs.htm">Setting execution arguments</a> |
| |
| <h3 class="related">Related references</h3> |
| <a href="../reference/preferences/ref-preferences-java.htm">Java |
| preference page</a><br /> |
| <a href="../reference/views/ref-view-package-explorer.htm">Package |
| Explorer</a> |
| </body> |
| </html> |