public abstract class WorkingCopyCallback extends java.lang.Object implements IWorkingCopyCallback
IWorkingCopyCallback
, which clients may
opt to extend instead of implementing the interface directly.Constructor and Description |
---|
WorkingCopyCallback() |
Modifier and Type | Method and Description |
---|---|
protected IWorkingCopyInfo |
getWorkingCopyInfo()
Returns the working copy info.
|
void |
onDispose()
Informs this callback that the working copy has been disposed.
|
void |
onInit(IWorkingCopyInfo info)
Informs this callback about the working copy it will work on.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
needsReconciling, reconcile
public void onInit(IWorkingCopyInfo info) throws org.eclipse.core.runtime.CoreException
Clients should not call this method (the model implementation calls it at appropriate times).
This implementation remembers the given working copy info. Clients may extend this method.
onInit
in interface IWorkingCopyCallback
info
- the working copy info (never null
)org.eclipse.core.runtime.CoreException
- if this callback was not initialized successfullypublic void onDispose()
Clients should not call this method (the model implementation calls it at appropriate times).
This implementation nullifies the remembered working copy info. Clients may extend this method.
onDispose
in interface IWorkingCopyCallback
protected final IWorkingCopyInfo getWorkingCopyInfo()
null