public class DefaultWorkingCopyOwner extends WorkingCopyOwner
| Modifier and Type | Field and Description |
|---|---|
static DefaultWorkingCopyOwner |
PRIMARY |
WorkingCopyOwner |
primaryBufferProvider |
| Modifier and Type | Method and Description |
|---|---|
IBuffer |
createBuffer(ICompilationUnit workingCopy)
Creates a buffer for the given working copy.
|
java.lang.String |
toString() |
findSource, getProblemRequestor, isPackage, newWorkingCopy, newWorkingCopy, setPrimaryBufferProviderpublic WorkingCopyOwner primaryBufferProvider
public static final DefaultWorkingCopyOwner PRIMARY
public IBuffer createBuffer(ICompilationUnit workingCopy)
WorkingCopyOwnernull).
Note: This buffer will be associated to the working copy for its entire life-cycle. Another working copy on same unit but owned by a different owner would not share the same buffer unless its owner decided to implement such a sharing behaviour.
createBuffer in class WorkingCopyOwnerworkingCopy - the working copy of the bufferIBufferpublic java.lang.String toString()
toString in class java.lang.Object