Package org.eclipse.core.filebuffers
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 TypeMethodDescriptionvoid
setup
(IDocument document, IPath location, LocationKind locationKind) Sets up the document to be ready for use by a text file buffer.
-
Method Details
-
setup
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
-