Class WorkingCopyOwner

java.lang.Object
org.aspectj.org.eclipse.jdt.core.WorkingCopyOwner
Direct Known Subclasses:
BufferFactoryWrapper, DefaultWorkingCopyOwner

public abstract class WorkingCopyOwner extends Object
The owner of an ICompilationUnit handle in working copy mode. An owner is used to identify a working copy and to create its buffer.

Clients should subclass this class to instantiate a working copy owner that is specific to their need and that they can pass in to various APIs (e.g. IType.resolveType(String, WorkingCopyOwner). Clients can also override the default implementation of createBuffer(ICompilationUnit).

Note: even though this class has no abstract method, which means that it provides functional default behavior, it is still an abstract class, as clients are intended to own their owner implementation.

Since:
3.0
See Also: