|
|||||||||
| 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.DiscardWorkingCopyOperation
public class DiscardWorkingCopyOperation
Discards a working copy (decrement its use count and remove its working copy info if the use count is 0) and signal its removal through a delta.
| 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 |
| Constructor Summary | |
|---|---|
DiscardWorkingCopyOperation(IJavaElement workingCopy)
|
|
| Method Summary | |
|---|---|
protected void |
executeOperation()
Performs the operation specific behavior. |
protected CompilationUnit |
getWorkingCopy()
Returns the working copy this operation is working on. |
boolean |
isReadOnly()
Returns true if this operation performs no resource modifications,
otherwise false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscardWorkingCopyOperation(IJavaElement workingCopy)
| Method Detail |
|---|
protected void executeOperation()
throws JavaModelException
JavaModelOperation
executeOperation in class JavaModelOperationJavaModelExceptionprotected CompilationUnit getWorkingCopy()
public boolean isReadOnly()
JavaModelOperationtrue if this operation performs no resource modifications,
otherwise false. Subclasses must override.
isReadOnly in class JavaModelOperationJavaModelOperation.isReadOnly()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||