blob: 4c15f041640a92bf1411369027dcb3c13adaabff [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">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Renaming a package
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Renaming a package
</h1>
<p>
To rename a package:
</p>
<ol>
<li>
In the Package Explorer or the Packages view select the package that you want to rename.
</li>
<li>
From the view's pop-up menu, select <strong>Refactor</strong> &gt; <strong>Rename</strong>.
</li>
</ol>
<p>
This updates all import statements of any affected compilation units and all fully qualified references to types declared in the renamed package.
</p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" >
<p>
<a href="../concepts/concepts-3.htm">Java projects</a><br>
<a href="../concepts/concepts-9.htm">Refactoring support</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-77.htm">Opening a package</a><br>
<a href="tasks-51.htm">Moving folders, packages, and files</a><br>
<a href="tasks-15.htm">Creating a new Java package</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-view-package-explorer.htm">Package Explorer</a><br>
<a href="../reference/ref-menu-refactor.htm">Refactoring actions</a><br>
<a href="../reference/ref-117.htm">Refactoring dialog</a><br>
<a href="../reference/ref-13.htm">Java preferences</a>
</p>
</body>
</html>