| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:16:04 CDT 2008 --> |
| <TITLE> |
| RenameSupport |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.ui.refactoring.RenameSupport class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="RenameSupport"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RenameSupport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/IRefactoringProcessorIds.html" title="interface in org.eclipse.wst.jsdt.ui.refactoring"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RenameSupport.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.eclipse.wst.jsdt.ui.refactoring</FONT> |
| <BR> |
| Class RenameSupport</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.ui.refactoring.RenameSupport</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>RenameSupport</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Central access point to execute rename refactorings. |
| <p> |
| Note: this class is not intended to be subclassed. |
| </p> |
| |
| Provisional API: This class/interface is part of an interim API that is still under development and expected to |
| change significantly before reaching stability. It is being made available at this early stage to solicit feedback |
| from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken |
| (repeatedly) as the API evolves. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#NONE">NONE</A></B></CODE> |
| |
| <BR> |
| Flag indication that no additional update is to be performed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#UPDATE_GETTER_METHOD">UPDATE_GETTER_METHOD</A></B></CODE> |
| |
| <BR> |
| Flag indicating that the getter method is to be updated as well.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#UPDATE_REFERENCES">UPDATE_REFERENCES</A></B></CODE> |
| |
| <BR> |
| Flag indicating that references are to be updated as well.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#UPDATE_SETTER_METHOD">UPDATE_SETTER_METHOD</A></B></CODE> |
| |
| <BR> |
| Flag indicating that the setter method is to be updated as well.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#UPDATE_TEXTUAL_MATCHES">UPDATE_TEXTUAL_MATCHES</A></B></CODE> |
| |
| <BR> |
| Flag indicating that textual matches in comments and in string literals |
| are to be updated as well.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IField, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A> field, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IField</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IFunction, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> method, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IFunction</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptProject</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IJavaScriptUnit, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A> unit, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptUnit</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.ILocalVariable, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/ILocalVariable.html" title="interface in org.eclipse.wst.jsdt.core">ILocalVariable</A> variable, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ILocalVariable.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ILocalVariable</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IPackageFragmentRoot, java.lang.String)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root, |
| java.lang.String newName)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragmentRoot</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IPackageFragment, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A> fragment, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragment</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.ITypeParameter, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A> parameter, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ITypeParameter</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.IType, java.lang.String, int)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type, |
| java.lang.String newName, |
| int flags)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IType</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#create(org.eclipse.wst.jsdt.core.refactoring.descriptors.RenameJavaScriptElementDescriptor)">create</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">RenameJavaScriptElementDescriptor</A> descriptor)</CODE> |
| |
| <BR> |
| Creates a new rename support for the given |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><CODE>RenameJavaScriptElementDescriptor</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell)">openDialog</A></B>(Shell parent)</CODE> |
| |
| <BR> |
| Opens the refactoring dialog for this rename support.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell, boolean)">openDialog</A></B>(Shell parent, |
| boolean showPreviewOnly)</CODE> |
| |
| <BR> |
| Opens the refactoring dialog for this rename support.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#perform(Shell, IRunnableContext)">perform</A></B>(Shell parent, |
| IRunnableContext context)</CODE> |
| |
| <BR> |
| Executes the rename refactoring without showing a dialog to gather |
| additional user input (for example the new name of the <tt>IJavaScriptElement</tt>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IStatus</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#preCheck()">preCheck</A></B>()</CODE> |
| |
| <BR> |
| Executes some light weight precondition checking.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="NONE"><!-- --></A><H3> |
| NONE</H3> |
| <PRE> |
| public static final int <B>NONE</B></PRE> |
| <DL> |
| <DD>Flag indication that no additional update is to be performed. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.refactoring.RenameSupport.NONE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="UPDATE_REFERENCES"><!-- --></A><H3> |
| UPDATE_REFERENCES</H3> |
| <PRE> |
| public static final int <B>UPDATE_REFERENCES</B></PRE> |
| <DL> |
| <DD>Flag indicating that references are to be updated as well. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.refactoring.RenameSupport.UPDATE_REFERENCES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="UPDATE_TEXTUAL_MATCHES"><!-- --></A><H3> |
| UPDATE_TEXTUAL_MATCHES</H3> |
| <PRE> |
| public static final int <B>UPDATE_TEXTUAL_MATCHES</B></PRE> |
| <DL> |
| <DD>Flag indicating that textual matches in comments and in string literals |
| are to be updated as well. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.refactoring.RenameSupport.UPDATE_TEXTUAL_MATCHES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="UPDATE_GETTER_METHOD"><!-- --></A><H3> |
| UPDATE_GETTER_METHOD</H3> |
| <PRE> |
| public static final int <B>UPDATE_GETTER_METHOD</B></PRE> |
| <DL> |
| <DD>Flag indicating that the getter method is to be updated as well. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.refactoring.RenameSupport.UPDATE_GETTER_METHOD">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="UPDATE_SETTER_METHOD"><!-- --></A><H3> |
| UPDATE_SETTER_METHOD</H3> |
| <PRE> |
| public static final int <B>UPDATE_SETTER_METHOD</B></PRE> |
| <DL> |
| <DD>Flag indicating that the setter method is to be updated as well. |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.refactoring.RenameSupport.UPDATE_SETTER_METHOD">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="preCheck()"><!-- --></A><H3> |
| preCheck</H3> |
| <PRE> |
| public IStatus <B>preCheck</B>() |
| throws CoreException</PRE> |
| <DL> |
| <DD>Executes some light weight precondition checking. If the returned status |
| is an error then the refactoring can't be executed at all. However, |
| returning an OK status doesn't guarantee that the refactoring can be |
| executed. It may still fail while performing the exhaustive precondition |
| checking done inside the methods <code>openDialog</code> or |
| <code>perform</code>. |
| |
| The method is mainly used to determine enable/disablement of actions. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the result of the light weight precondition checking. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected exception occurs while performing the checking.<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell)"><CODE>openDialog(Shell)</CODE></A>, |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#perform(Shell, IRunnableContext)"><CODE>perform(Shell, IRunnableContext)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="openDialog(Shell)"><!-- --></A><H3> |
| openDialog</H3> |
| <PRE> |
| public void <B>openDialog</B>(Shell parent) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Opens the refactoring dialog for this rename support. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - a shell used as a parent for the refactoring dialog. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected exception occurs while opening the |
| dialog.<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell, boolean)"><CODE>openDialog(Shell, boolean)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="openDialog(Shell, boolean)"><!-- --></A><H3> |
| openDialog</H3> |
| <PRE> |
| public boolean <B>openDialog</B>(Shell parent, |
| boolean showPreviewOnly) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Opens the refactoring dialog for this rename support. |
| |
| <p> |
| This method has to be called from within the UI thread. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - a shell used as a parent for the refactoring, preview, or error dialog<DD><CODE>showPreviewOnly</CODE> - if <code>true</code>, the dialog skips all user input pages and |
| directly shows the preview or error page. Otherwise, shows all pages. |
| <DT><B>Returns:</B><DD><code>true</code> if the refactoring has been executed successfully, |
| <code>false</code> if it has been canceled or if an error has happened during |
| initial conditions checking. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an error occurred while executing the |
| operation.<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell)"><CODE>openDialog(Shell)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="perform(Shell, IRunnableContext)"><!-- --></A><H3> |
| perform</H3> |
| <PRE> |
| public void <B>perform</B>(Shell parent, |
| IRunnableContext context) |
| throws java.lang.InterruptedException, |
| java.lang.reflect.InvocationTargetException</PRE> |
| <DL> |
| <DD>Executes the rename refactoring without showing a dialog to gather |
| additional user input (for example the new name of the <tt>IJavaScriptElement</tt>). |
| Only an error dialog is shown (if necessary) to present the result |
| of the refactoring's full precondition checking. |
| <p> |
| The method has to be called from within the UI thread. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - a shell used as a parent for the error dialog.<DD><CODE>context</CODE> - a <CODE>IRunnableContext</CODE> to execute the operation. |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.InterruptedException</CODE> - if the operation has been canceled by the |
| user. |
| <DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if an error occurred while executing the |
| operation.<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html#openDialog(Shell)"><CODE>openDialog(Shell)</CODE></A>, |
| <CODE>IRunnableContext#run(boolean, boolean, org.eclipse.jface.operation.IRunnableWithProgress)</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.refactoring.descriptors.RenameJavaScriptElementDescriptor)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">RenameJavaScriptElementDescriptor</A> descriptor) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><CODE>RenameJavaScriptElementDescriptor</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/RenameJavaScriptElementDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><CODE>RenameJavaScriptElementDescriptor</CODE></A> to create a |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A> for. The caller is responsible for |
| configuring the descriptor before it is passed. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating the |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptProject</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptProject</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the project's new name. <code>null</code> is a valid |
| value indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code> or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IPackageFragmentRoot, java.lang.String)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root, |
| java.lang.String newName) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragmentRoot</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>root</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragmentRoot</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the package fragment root's new name. <code>null</code> is |
| a valid value indicating that no new name is provided. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IPackageFragment, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A> fragment, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragment</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fragment</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IPackageFragment</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the package fragment's new name. <code>null</code> is a |
| valid value indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, and <code>UPDATE_TEXTUAL_MATCHES</code>, |
| or their bitwise OR, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IJavaScriptUnit, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A> unit, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptUnit</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>unit</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IJavaScriptUnit</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the compilation unit's new name. <code>null</code> is a |
| valid value indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, and <code>UPDATE_TEXTUAL_MATCHES</code>, |
| or their bitwise OR, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IType, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> type, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IType</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IType</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the type's new name. <code>null</code> is a valid value |
| indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, and <code>UPDATE_TEXTUAL_MATCHES</code>, |
| or their bitwise OR, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IFunction, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> method, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IFunction</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>method</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IFunction</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the method's new name. <code>null</code> is a valid value |
| indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code> or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.IField, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A> field, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IField</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>field</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>IField</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the field's new name. <code>null</code> is a valid value |
| indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, <code>UPDATE_TEXTUAL_MATCHES</code>, |
| <code>UPDATE_GETTER_METHOD</code>, and <code>UPDATE_SETTER_METHOD</code>, |
| or their bitwise OR, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.ITypeParameter, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A> parameter, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ITypeParameter</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parameter</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ITypeParameter</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the parameter's new name. <code>null</code> is a valid value |
| indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="create(org.eclipse.wst.jsdt.core.ILocalVariable, java.lang.String, int)"><!-- --></A><H3> |
| create</H3> |
| <PRE> |
| public static <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring">RenameSupport</A> <B>create</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/ILocalVariable.html" title="interface in org.eclipse.wst.jsdt.core">ILocalVariable</A> variable, |
| java.lang.String newName, |
| int flags) |
| throws CoreException</PRE> |
| <DL> |
| <DD>Creates a new rename support for the given <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ILocalVariable.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ILocalVariable</CODE></A>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>variable</CODE> - the <A HREF="../../../../../../org/eclipse/wst/jsdt/core/ILocalVariable.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ILocalVariable</CODE></A> to be renamed.<DD><CODE>newName</CODE> - the variable's new name. <code>null</code> is a valid value |
| indicating that no new name is provided.<DD><CODE>flags</CODE> - flags controlling additional parameters. Valid flags are |
| <code>UPDATE_REFERENCES</code>, or <code>NONE</code>. |
| <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>. |
| <DT><B>Throws:</B> |
| <DD><CODE>CoreException</CODE> - if an unexpected error occurred while creating |
| the <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" title="class in org.eclipse.wst.jsdt.ui.refactoring"><CODE>RenameSupport</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RenameSupport.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/refactoring/IRefactoringProcessorIds.html" title="interface in org.eclipse.wst.jsdt.ui.refactoring"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/ui/refactoring/RenameSupport.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RenameSupport.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |