blob: 23ed067175565840883010710325670e22d124e5 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>
Pulling members up to superclass
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Pulling members up to superclass
</h1>
To pull up class members (fields and methods) to the class's superclass:
<ul>
<li>
In a Java view (e.g. Outline, Package Explorer, Members), select the members that you want to pull up.
</li>
<li>
Do on of the following:
<ul>
<li> From the menu bar, select <strong>Refactor &gt; Pull Up</strong> or
</li>
<li> From the pop-up menu, select <strong>Refactor &gt; Pull Up</strong>
</li>
</ul>
</li>
</ul>
<strong>Note:</strong> the selected members must all have the same declaring type for this refactoring to be enabled.
<p>
<img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><br>
<a href="../reference/ref-menu-refactor.htm">Refactoring actions</a><br>
<a href="../reference/ref-117.htm">Refactoring dialogs</a><br>
<a href="../reference/ref-23.htm">Refactoring preferences</a>
</p>
<p>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a>
</p>
</body>
</html>