org.eclipse.jdt.internal.core
Class RenameElementsOperation

java.lang.Object
  extended by org.eclipse.jdt.internal.core.JavaModelOperation
      extended by org.eclipse.jdt.internal.core.MultiOperation
          extended by org.eclipse.jdt.internal.core.CopyElementsOperation
              extended by org.eclipse.jdt.internal.core.MoveElementsOperation
                  extended by org.eclipse.jdt.internal.core.RenameElementsOperation
All Implemented Interfaces:
IWorkspaceRunnable, org.eclipse.core.runtime.IProgressMonitor, SuffixConstants

public class RenameElementsOperation
extends MoveElementsOperation

This operation renames elements.

Notes:


Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.core.JavaModelOperation
HAS_MODIFIED_RESOURCE_ATTR, progressMonitor, TRUE
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA
 
Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor
UNKNOWN
 
Constructor Summary
RenameElementsOperation(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] newNames, boolean force)
          When executed, this operation will rename the specified elements with the given names in the corresponding destinations.
 
Method Summary
 
Methods inherited from class org.eclipse.jdt.internal.core.MultiOperation
setInsertBefore, setRenamings
 
Methods inherited from class org.eclipse.jdt.internal.core.JavaModelOperation
beginTask, done, executeNestedOperation, getJavaModel, getResultElements, hasModifiedResource, internalWorked, isCanceled, isReadOnly, newJavaElementDelta, run, runOperation, setCanceled, setTaskName, subTask, worked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameElementsOperation

public RenameElementsOperation(IJavaElement[] elements,
                               IJavaElement[] destinations,
                               java.lang.String[] newNames,
                               boolean force)
When executed, this operation will rename the specified elements with the given names in the corresponding destinations.