|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.MultiOperation
org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation
org.aspectj.org.eclipse.jdt.internal.core.MoveResourceElementsOperation
org.aspectj.org.eclipse.jdt.internal.core.RenameResourceElementsOperation
public class RenameResourceElementsOperation
This operation renames resources (Package fragments and compilation units).
Notes:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation |
|---|
JavaModelOperation.IPostAction |
| Field Summary |
|---|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation |
|---|
createdElements, deltasPerProject, parser |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.MultiOperation |
|---|
insertBeforeElements, newParents, renamings, renamingsList |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation |
|---|
actions, actionsEnd, actionsStart, APPEND, attributes, elementsToProcess, force, HAS_MODIFIED_RESOURCE_ATTR, isNested, KEEP_EXISTING, NO_ELEMENTS, OPERATION_STACKS, parentElements, POST_ACTION_VERBOSE, progressMonitor, REMOVEALL_APPEND, resultElements, TRUE |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants |
|---|
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA |
| Constructor Summary | |
|---|---|
RenameResourceElementsOperation(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 | |
|---|---|
protected java.lang.String |
getMainTaskName()
Returns the name to be used by the progress monitor. |
protected boolean |
isRename()
Returns true if this operation represents a rename, false
if this operation represents a copy or move. |
protected void |
verify(IJavaElement element)
This method is called for each IJavaElement before
processElement. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.MoveResourceElementsOperation |
|---|
isMove |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.CopyResourceElementsOperation |
|---|
getSchedulingRule, prepareDeltas, processDeltas, processElement, processElements, verify |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.MultiOperation |
|---|
error, executeOperation, getDestinationParent, getNewNameFor, setInsertBefore, setRenamings, verifyDestination, verifyRenaming, verifySibling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenameResourceElementsOperation(IJavaElement[] elements,
IJavaElement[] destinations,
java.lang.String[] newNames,
boolean force)
| Method Detail |
|---|
protected java.lang.String getMainTaskName()
MultiOperation
getMainTaskName in class MoveResourceElementsOperationMultiOperationprotected boolean isRename()
MultiOperationtrue if this operation represents a rename, false
if this operation represents a copy or move.
isRename in class MultiOperationMultiOperation.isRename()
protected void verify(IJavaElement element)
throws JavaModelException
MultiOperationIJavaElement before
processElement. It should check that this element
can be processed.
verify in class CopyResourceElementsOperationJavaModelExceptionMultiOperation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||