public interface IWorkingCopyManagerExtension
IWorkingCopyManager
.
Introduces API to set and remove the working copy for a given editor input.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Modifier and Type | Method and Description |
---|---|
void |
removeWorkingCopy(IEditorInput input)
Removes the working copy set for the given editor input.
|
void |
setWorkingCopy(IEditorInput input,
IJavaScriptUnit workingCopy)
Sets the given working copy for the given editor input.
|
void setWorkingCopy(IEditorInput input, IJavaScriptUnit workingCopy)
This working copy manager does not assume the ownership of this working copy, i.e., the given working copy is not automatically be freed when this manager is shut down.
input
- the editor inputworkingCopy
- the working copyvoid removeWorkingCopy(IEditorInput input)
input
- the editor inputCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.