blob: 14f4ee55ac30d94caaa404b4888ec445c3334355 [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." >
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Sorting elements in Java views</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>Sorting elements in Java views</h1>
<p>Members and Outline views can present members sorted
or in the order of declaration in the compilation unit.</p>
<p>To sort members:</p>
<ul>
<li>Toggle on the <span class="control">Sort</span> toolbar button in the Java view</li>
<li>The sorting order can be configured on the on the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.MembersOrderPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<span class="control">Java &gt; Appearance &gt; Members Sort Order</span></a>
preference page.</li>
<li>After the above sorting is performed, members in each group are sorted alphabetically</li>
</ul>
To present members in the order of declaration in the compilation unit.
<ul>
<li>Toggle off the <span class="control">Sort</span> toolbar button in the Java view</li>
</ul>
<img src="../images/ngrelr.png" alt="Related reference" border="0" > <br>
<a href="../reference/ref-3.htm">Java Toolbar actions</a><a href="../reference/ref-3.htm"></a>
</body>
</html>