blob: fa7bed9de6036d8be9cd0786bbd683651e4ff42a [file] [log] [blame]
<!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:02 CDT 2008 -->
<TITLE>
MoveDescriptor
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.refactoring.descriptors.MoveDescriptor class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="MoveDescriptor";
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MoveDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveMethodDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MoveDescriptor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.eclipse.wst.jsdt.core.refactoring.descriptors.JavaScriptRefactoringDescriptor">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.core.refactoring.descriptors</FONT>
<BR>
Class MoveDescriptor</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by ">RefactoringDescriptor
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">org.eclipse.wst.jsdt.core.refactoring.descriptors.JavaScriptRefactoringDescriptor</A>
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.refactoring.descriptors.MoveDescriptor</B>
</PRE>
<HR>
<DL>
<DT><PRE>public final class <B>MoveDescriptor</B><DT>extends <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">JavaScriptRefactoringDescriptor</A></DL>
</PRE>
<P>
Refactoring descriptor for the move refactoring.
<p>
An instance of this refactoring descriptor may be obtained by calling
<CODE>org.eclipse.ltk.core.refactoring.RefactoringContribution#createDescriptor()</CODE> on a refactoring
contribution requested by invoking
<CODE>org.eclipse.ltk.core.refactoring.RefactoringCore#getRefactoringContribution(String)</CODE> with the
appropriate refactoring id.
</p>
<p>
Note: this class is not intended to be instantiated by clients.
</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>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.refactoring.descriptors.JavaScriptRefactoringDescriptor"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.eclipse.wst.jsdt.core.refactoring.descriptors.<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">JavaScriptRefactoringDescriptor</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#JAR_MIGRATION">JAR_MIGRATION</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#JAR_REFACTORING">JAR_REFACTORING</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#JAR_SOURCE_ATTACHMENT">JAR_SOURCE_ATTACHMENT</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#MoveDescriptor()">MoveDescriptor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new refactoring descriptor.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setDestination(org.eclipse.wst.jsdt.core.IJavaScriptElement)">setDestination</A></B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>&nbsp;element)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the destination of the move.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setFileNamePatterns(java.lang.String)">setFileNamePatterns</A></B>(java.lang.String&nbsp;patterns)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the file name patterns to use during qualified name updating.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setMoveMembers(org.eclipse.wst.jsdt.core.IMember[])">setMoveMembers</A></B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IMember.html" title="interface in org.eclipse.wst.jsdt.core">IMember</A>[]&nbsp;members)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the members to move.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setMovePackageFragmentRoots(org.eclipse.wst.jsdt.core.IPackageFragmentRoot[])">setMovePackageFragmentRoots</A></B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A>[]&nbsp;roots)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the package fragment roots to move.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setMovePackages(org.eclipse.wst.jsdt.core.IPackageFragment[])">setMovePackages</A></B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A>[]&nbsp;fragments)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the package fragments to move.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setMoveResources(IFile[], IFolder[], org.eclipse.wst.jsdt.core.IJavaScriptUnit[])">setMoveResources</A></B>(IFile[]&nbsp;files,
IFolder[]&nbsp;folders,
<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[]&nbsp;units)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the resources and compilation units to move.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setUpdateQualifiedNames(boolean)">setUpdateQualifiedNames</A></B>(boolean&nbsp;update)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether qualified names of the Java element should be renamed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setUpdateReferences(boolean)">setUpdateReferences</A></B>(boolean&nbsp;update)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether references to the Java element should be renamed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;RefactoringStatus</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#validateDescriptor()">validateDescriptor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validates the refactoring descriptor with respect to the constraints
imposed by the represented refactoring.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.refactoring.descriptors.JavaScriptRefactoringDescriptor"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.wst.jsdt.core.refactoring.descriptors.<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">JavaScriptRefactoringDescriptor</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#createRefactoring(RefactoringStatus)">createRefactoring</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#setComment(java.lang.String)">setComment</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#setFlags(int)">setFlags</A>, <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#setProject(java.lang.String)">setProject</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_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>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="MoveDescriptor()"><!-- --></A><H3>
MoveDescriptor</H3>
<PRE>
public <B>MoveDescriptor</B>()</PRE>
<DL>
<DD>Creates a new refactoring descriptor.
<P>
</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="setDestination(org.eclipse.wst.jsdt.core.IJavaScriptElement)"><!-- --></A><H3>
setDestination</H3>
<PRE>
public void <B>setDestination</B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>&nbsp;element)</PRE>
<DL>
<DD>Sets the destination of the move.
<p>
Note: Clients may call only one of the <code>setDestination</code>
methods.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>element</CODE> - the java element</DL>
</DD>
</DL>
<HR>
<A NAME="setFileNamePatterns(java.lang.String)"><!-- --></A><H3>
setFileNamePatterns</H3>
<PRE>
public void <B>setFileNamePatterns</B>(java.lang.String&nbsp;patterns)</PRE>
<DL>
<DD>Sets the file name patterns to use during qualified name updating.
<p>
The syntax of the file name patterns is a sequence of individual name
patterns, separated by comma. Additionally, wildcard characters '*' (any
string) and '?' (any character) may be used.
</p>
<p>
Note: If file name patterns are set, qualified name updating must be
enabled by calling <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setUpdateQualifiedNames(boolean)"><CODE>setUpdateQualifiedNames(boolean)</CODE></A>.
</p>
<p>
Note: Qualified name updating is currently applicable to files, folders
and compilation units. The default is to not update qualified names.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>patterns</CODE> - the non-empty file name patterns string</DL>
</DD>
</DL>
<HR>
<A NAME="setMoveMembers(org.eclipse.wst.jsdt.core.IMember[])"><!-- --></A><H3>
setMoveMembers</H3>
<PRE>
public void <B>setMoveMembers</B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IMember.html" title="interface in org.eclipse.wst.jsdt.core">IMember</A>[]&nbsp;members)</PRE>
<DL>
<DD>Sets the members to move.
<p>
Note: Clients must only call one of the <code>setMoveXXX</code>
methods.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>members</CODE> - the members to move</DL>
</DD>
</DL>
<HR>
<A NAME="setMovePackageFragmentRoots(org.eclipse.wst.jsdt.core.IPackageFragmentRoot[])"><!-- --></A><H3>
setMovePackageFragmentRoots</H3>
<PRE>
public void <B>setMovePackageFragmentRoots</B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A>[]&nbsp;roots)</PRE>
<DL>
<DD>Sets the package fragment roots to move.
<p>
Note: Clients must only call one of the <code>setMoveXXX</code>
methods.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>roots</CODE> - the package fragment roots to move</DL>
</DD>
</DL>
<HR>
<A NAME="setMovePackages(org.eclipse.wst.jsdt.core.IPackageFragment[])"><!-- --></A><H3>
setMovePackages</H3>
<PRE>
public void <B>setMovePackages</B>(<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A>[]&nbsp;fragments)</PRE>
<DL>
<DD>Sets the package fragments to move.
<p>
Note: Clients must only call one of the <code>setMoveXXX</code>
methods.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fragments</CODE> - the package fragments to move</DL>
</DD>
</DL>
<HR>
<A NAME="setMoveResources(IFile[], IFolder[], org.eclipse.wst.jsdt.core.IJavaScriptUnit[])"><!-- --></A><H3>
setMoveResources</H3>
<PRE>
public void <B>setMoveResources</B>(IFile[]&nbsp;files,
IFolder[]&nbsp;folders,
<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[]&nbsp;units)</PRE>
<DL>
<DD>Sets the resources and compilation units to move.
<p>
Note: Clients must only call one of the <code>setMoveXXX</code>
methods.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>files</CODE> - the files to move<DD><CODE>folders</CODE> - the folders to move<DD><CODE>units</CODE> - the compilation units to move</DL>
</DD>
</DL>
<HR>
<A NAME="setUpdateQualifiedNames(boolean)"><!-- --></A><H3>
setUpdateQualifiedNames</H3>
<PRE>
public void <B>setUpdateQualifiedNames</B>(boolean&nbsp;update)</PRE>
<DL>
<DD>Determines whether qualified names of the Java element should be renamed.
<p>
Qualified name updating adapts fully qualified names of the Java element
to be renamed in non-Java text files. Clients may specify file name
patterns by calling <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html#setFileNamePatterns(java.lang.String)"><CODE>setFileNamePatterns(String)</CODE></A> to constrain the
set of text files to be processed.
</p>
<p>
Note: Qualified name updating is currently applicable to files, folders
and compilation units. The default is to use no file name patterns
(meaning that all files are processed).
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>update</CODE> - <code>true</code> to update qualified names,
<code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="setUpdateReferences(boolean)"><!-- --></A><H3>
setUpdateReferences</H3>
<PRE>
public void <B>setUpdateReferences</B>(boolean&nbsp;update)</PRE>
<DL>
<DD>Determines whether references to the Java element should be renamed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>update</CODE> - <code>true</code> to update references, <code>false</code>
otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="validateDescriptor()"><!-- --></A><H3>
validateDescriptor</H3>
<PRE>
public RefactoringStatus <B>validateDescriptor</B>()</PRE>
<DL>
<DD>Validates the refactoring descriptor with respect to the constraints
imposed by the represented refactoring.
<p>
Clients must call this method to verify that all arguments have been
correctly set and that they satisfy the constraints imposed by specific
refactorings. Returning a refactoring status of severity
<CODE>RefactoringStatus#FATAL</CODE> indicates that the refactoring descriptor
cannot be used to create a refactoring instance.
</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html#validateDescriptor()">validateDescriptor</A></CODE> in class <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors">JavaScriptRefactoringDescriptor</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a refactoring status describing the outcome of the validation</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MoveDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/JavaScriptRefactoringDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveMethodDescriptor.html" title="class in org.eclipse.wst.jsdt.core.refactoring.descriptors"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/jsdt/core/refactoring/descriptors/MoveDescriptor.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MoveDescriptor.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.eclipse.wst.jsdt.core.refactoring.descriptors.JavaScriptRefactoringDescriptor">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>