| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2006, 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"> |
| <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> |
| <title>Sorting Elements in Java Views</title> |
| </head> |
| |
| <body> |
| <h1>Sorting in Java views</h1> |
| |
| <p>The <strong>Members</strong> and <strong>Outline</strong> 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 view toolbar.</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" alt="Opens the Members Sort Order preference page"> |
| <span class="control">Java > Appearance > 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 view toolbar.</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> |
| |