Package org.eclipse.core.filebuffers
Interface IDocumentSetupParticipantExtension
-
public interface IDocumentSetupParticipantExtension
Extension interface forIDocumentSetupParticipant
.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:
IDocumentSetupParticipant
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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 uplocation
- a path of the resource backing the new documentlocationKind
- the kind of the given location
-
-