|
|||||||||
| 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.DeleteResourceElementsOperation
public class DeleteResourceElementsOperation
This operation deletes a collection of resources and all of their children. It does not delete resources which do not belong to the Java Model (eg GIF files).
| 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.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 |
| Constructor Summary | |
|---|---|
protected |
DeleteResourceElementsOperation(IJavaElement[] elementsToProcess,
boolean force)
When executed, this operation will delete the given elements. |
| Method Summary | |
|---|---|
protected java.lang.String |
getMainTaskName()
Returns the name to be used by the progress monitor. |
protected void |
processElement(IJavaElement element)
Subclasses must implement this method to process a given IJavaElement. |
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.MultiOperation |
|---|
error, executeOperation, getDestinationParent, getNewNameFor, isMove, isRename, processElements, 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 |
|---|
protected DeleteResourceElementsOperation(IJavaElement[] elementsToProcess,
boolean force)
null or empty, and must have a corresponding
resource.
| Method Detail |
|---|
protected java.lang.String getMainTaskName()
MultiOperation
getMainTaskName in class MultiOperationMultiOperation
protected void processElement(IJavaElement element)
throws JavaModelException
MultiOperationIJavaElement.
processElement in class MultiOperationJavaModelExceptionThis method delegate to deleteResource or
deletePackageFragment depending on the type of element.
protected void verify(IJavaElement element)
throws JavaModelException
MultiOperationIJavaElement before
processElement. It should check that this element
can be processed.
verify in class MultiOperationJavaModelExceptionMultiOperation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||