Class DeletePackageFragmentRootOperation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelOperation
org.aspectj.org.eclipse.jdt.internal.core.DeletePackageFragmentRootOperation
- 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, TRUEFields inherited from interface org.eclipse.core.runtime.IProgressMonitor
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDeletePackageFragmentRootOperation(IPackageFragmentRoot root, int updateResourceFlags, int updateModelFlags) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleteResource(IPackageFragmentRoot root, IClasspathEntry rootEntry) protected voidPerforms the operation specific behavior.protected voidupdateProjectClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project, Map oldRoots) protected voidupdateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot, Map oldRoots) protected IJavaModelStatusverify()Returns a status indicating if there is any known reason this operation will fail.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, workedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IProgressMonitor
clearBlocked, setBlocked, slice
-
Constructor Details
-
DeletePackageFragmentRootOperation
public DeletePackageFragmentRootOperation(IPackageFragmentRoot root, int updateResourceFlags, int updateModelFlags)
-
-
Method Details
-
executeOperation
Description copied from class:JavaModelOperationPerforms the operation specific behavior. Subclasses must override.- Specified by:
executeOperationin classJavaModelOperation- Throws:
JavaModelException
-
deleteResource
protected void deleteResource(IPackageFragmentRoot root, IClasspathEntry rootEntry) throws JavaModelException - Throws:
JavaModelException
-
updateReferringProjectClasspaths
protected void updateReferringProjectClasspaths(org.eclipse.core.runtime.IPath rootPath, IJavaProject projectOfRoot, Map oldRoots) throws JavaModelException - Throws:
JavaModelException
-
updateProjectClasspath
protected void updateProjectClasspath(org.eclipse.core.runtime.IPath rootPath, IJavaProject project, Map oldRoots) throws JavaModelException - Throws:
JavaModelException
-
verify
Description copied from class:JavaModelOperationReturns a status indicating if there is any known reason this operation will fail. Operations are verified before they are run. Subclasses must override if they have any conditions to verify before this operation executes.- Overrides:
verifyin classJavaModelOperation- See Also:
-