blob: d6ca7079e8a0b3cd5f236861269b36c6cef84d7b [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">
<title>
Pushing members down to subclasses
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1> Pushing members down to subclasses</h1>
To push down class members (fields and methods) to the class's subclasses:
<ul>
<li> In a Java view (e.g. Outline, Package Explorer, Members), select the members
that you want to push down. </li>
<li>
Do on of the following:
<ul>
<li> From the menu bar, select <strong>Refactor &gt; Push Down</strong>
or </li>
<li> From the pop-up menu, select <strong>Refactor &gt; Push Down</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.png" alt="Related reference" border="0" ><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-13.htm">Java preferences</a>
</p>
</body>
</html>