blob: 705a5f9c80b4d155a9071d1e2d376c6892ed0bf5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>
Refactoring without preview
</title>
</head>
<body>
<h1>
Refactoring without preview
</h1>
<ol>
<li> Activate a refactoring command. For example, rename a type by selecting
it in the Outline view and choosing <strong>Refactor</strong> &gt; <strong>Rename</strong>
from its pop-up menu. </li>
<li> The Refactoring Parameters page prompts you for information necessary for
the action. For example, the Rename Type Refactoring dialog asks you for a
new name for the selected type. </li>
<li> Provide the necessary data on the parameters page, and click <strong>OK</strong>.
</li>
<li> If no problems are anticipated,
then the refactoring is carried out.<br>
Otherwise, the problems page comes to the front to display the
errors. </li>
<li> If a fatal problem was anticipated, then only the <strong>Back</strong>
and <strong>Cancel</strong> buttons are enabled, and you are prevented from
carrying out the refactoring. If the problems are related to data provided
on the parameters page, click <strong>Back</strong> and attempt to remedy
the problem. Otherwise, click <strong>Cancel</strong> to close the dialog.
</li>
<li> If other kinds of problems were anticipated, you can click <strong>Continue</strong>
to acknowledge the problems. The refactoring is carried out, and the dialog
closes. </li>
</ol>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0">
</p>
<p>
<a href="../concepts/concepts-9.htm">Refactoring support</a>
</p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks">
</p>
<p>
<a href="tasks-83.htm">Refactoring with preview</a><br>
<a href="tasks-100.htm">Undoing a refactoring operation</a><br>
<a href="tasks-101.htm">Redoing a refactoring operation</a>
</p>
<p>
<img border="0" src="../images/ngrelr.png" alt="Related reference">
</p>
<p>
<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>