blob: b9cc1b5dff45717d5ed09cad3524910268a22342 [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, 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">
<title>
Applying refactoring scripts
</title>
</head>
<body>
<h1>
Applying refactoring scripts
</h1>
<ol>
<li>
Select <strong>Refactor</strong> &gt; <strong>Apply Script...</strong> from the refactoring menu to show the apply refactoring script wizard.
</li>
<li>
On the first page of the Apply Script wizard, specify the refactoring script that you would like to apply to your workspace. You can use the clipboard as input or click on
<strong>Browse...</strong> to browse for the location where the refactoring script is stored.
</li>
<li>
Once you have entered a valid refactoring script, click <strong>Next</strong> to continue.
</li>
<li>
On the second page of the Apply Script wizard, the wizard displays a preview of the refactorings to be replayed.
Drill down to an individual refactoring and select
it to see more details about the performed refactoring in the details view below.
</li>
<li> Click <strong>OK</strong> to replay the refactorings and close the dialog.
</li>
<li> Click <strong>Next</strong> to replay the refactorings and preview each refactoring before applying it to the workspace.
</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-240.htm">Creating a refactoring script</a><br>
<a href="tasks-242.htm">Browsing the refactoring history</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>