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
set
for this callback. |
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).
Subclasses may override this method, but must make sure to call the super implementation.
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).
Subclasses may override this method, but must make sure to call the super implementation.
onDispose
in interface IWorkingCopyCallback
protected final IWorkingCopyInfo getWorkingCopyInfo()
set
for this callback.Copyright (c) 2014, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0