Klasse DefaultWorkingCopyOwner

java.lang.Object
org.aspectj.org.eclipse.jdt.core.WorkingCopyOwner
org.aspectj.org.eclipse.jdt.internal.core.DefaultWorkingCopyOwner

public class DefaultWorkingCopyOwner extends WorkingCopyOwner
A working copy owner that creates internal buffers. It also defines the PRIMARY working copy owner that is used by JDT/Core.
  • Felddetails

  • Methodendetails

    • createBuffer

      public IBuffer createBuffer(ICompilationUnit workingCopy)
      Beschreibung aus Klasse kopiert: WorkingCopyOwner
      Creates a buffer for the given working copy. The new buffer will be initialized with the contents of the underlying file if and only if it was not already initialized by the compilation owner (a buffer is uninitialized if its content is null).

      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.

      Setzt außer Kraft:
      createBuffer in Klasse WorkingCopyOwner
      Parameter:
      workingCopy - the working copy of the buffer
      Gibt zurück:
      IBuffer the created buffer for the given working copy
      Siehe auch:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object