Interface IDocumentSetupParticipantExtension


public interface IDocumentSetupParticipantExtension
Extension interface for IDocumentSetupParticipant.

This interface is additionally implemented by IDocumentSetupParticipant's which would like to alter their behavior based on the location of the file being opened.

Note that when participants implement this interface, the original method from IDocumentSetupParticipant will never be called.

Since:
3.4
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setup(IDocument document, IPath location, LocationKind locationKind)
    Sets up the document to be ready for use by a text file buffer.
  • Method Details

    • setup

      void setup(IDocument document, IPath location, LocationKind locationKind)
      Sets up the document to be ready for use by a text file buffer.
      Parameters:
      document - the document to be set up
      location - a path of the resource backing the new document
      locationKind - the kind of the given location