blob: 6e9635b82c8a9135ff6dd7fb660e55986aa7c544 [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">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Showing and hiding members</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>Showing and hiding members</h1>
<p>Several Java views (e.g. Outline, Package Explorer, Members) offer filtering of members (fields, types and methods). The filters are available as toolbar
buttons or as view menu items, depending on the view. There are
3 member filters:</p>
<ul>
<li><span class="control">Hide Fields</span>: when activated, this filter causes all fields to be removed from the view.</li>
<li><span class="control">Hide Static Members</span>: when activated, this filter causes all static members to be removed from the view.</li>
<li><span class="control">Hide Non-Public Members</span>: when activated, this filter causes all non-public members to be removed from the view.</li>
</ul>
Additionally, the Package Explorer can display or hide all elements inside compilation units.
<p>To show members in the Package Explorer:</p>
<ul>
<li>Select the <span class="control"> Show members in Package Explorer</span> checkbox in 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">
<span class="control">Java &gt; Appearance</span></a> preference page.</li>
</ul>
To hide members in the Package Explorer:
<ul>
<li>Clear the <span class="control"> Show members in Package Explorer</span> checkbox in 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">
<span class="control">Java &gt; Appearance</span></a> preference page.</li>
</ul>
<p><img src="../images/ngrelt.png" alt="Related tasks" border="0" ><br>
<a href="tasks-2.htm">Showing and hiding elements</a><br>
<a href="tasks-47.htm">Filtering elements</a></p>
<p><img src="../images/ngrelr.png" alt="Related reference" border="0" ><br>
<a href="../reference/ref-preferences-appearance.htm">Appearance preference page</a><br>
<a href="../reference/ref-view-package-explorer.htm">Package Explorer</a></p>
</body>
</html>