Class MovePackageFragmentRootOperation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.CopyPackageFragmentRootOperation
org.aspectj.org.eclipse.jdt.internal.core.MovePackageFragmentRootOperation
- All Implemented Interfaces:
org.eclipse.core.resources.IWorkspaceRunnable
,org.eclipse.core.runtime.ICoreRunnable
,org.eclipse.core.runtime.IProgressMonitor
-
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.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.eclipse.core.runtime.IProgressMonitor
UNKNOWN
-
Constructor Summary
ConstructorDescriptionMovePackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Performs the operation specific behavior.protected void
moveResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot)
protected void
removeEntryFromClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project)
protected void
renameEntryInClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project)
protected void
updateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot)
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.CopyPackageFragmentRootOperation
addEntryToClasspath, copy, copyResource, verify
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
addAction, addDelta, addReconcileDelta, applyTextEdit, beginTask, canModifyRoots, checkCanceled, commonVerify, copyResources, createFile, createFolder, deleteEmptyPackageFragment, deleteResource, deleteResources, done, equalsOneOf, executeNestedOperation, firstActionWithID, getAttribute, getCompilationUnitFor, getCurrentOperationStack, getDocument, getElementToProcess, getJavaModel, getLatestASTLevel, getNestedFolders, getParentElement, getParentElements, getResultElements, getSchedulingRule, getSubProgressMonitor, hasModifiedResource, internalWorked, isCanceled, isReadOnly, isTopLevelOperation, moveResources, newJavaElementDelta, popOperation, postAction, prefixesOneOf, pushOperation, removeAllPostAction, removeReconcileDelta, run, runOperation, runPostActions, setAttribute, setCanceled, setNested, setTaskName, subTask, worked
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IProgressMonitor
clearBlocked, setBlocked, slice
-
Constructor Details
-
MovePackageFragmentRootOperation
public MovePackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling)
-
-
Method Details
-
renameEntryInClasspath
protected void renameEntryInClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project) throws JavaModelException- Throws:
JavaModelException
-
executeOperation
Description copied from class:JavaModelOperation
Performs the operation specific behavior. Subclasses must override.- Overrides:
executeOperation
in classCopyPackageFragmentRootOperation
- Throws:
JavaModelException
-
moveResource
protected void moveResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) throws JavaModelException- Throws:
JavaModelException
-
updateReferringProjectClasspaths
protected void updateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot) throws JavaModelException- Throws:
JavaModelException
-
removeEntryFromClasspath
protected void removeEntryFromClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project) throws JavaModelException- Throws:
JavaModelException
-