Package org.eclipse.core.filebuffers
Interface IDocumentSetupParticipant
-
public interface IDocumentSetupParticipantParticipates in the setup of a text file buffer document.This interface is the expected interface for extensions provided for the
"org.eclipse.core.filebuffers.documentSetup"extension point.Participants have to be aware of the existence of other participants. I.e. they should always setup a document in a way that does not interfere with others. E.g., when a participant wants to install partitioning on the document, it must use the
IDocumentExtension3API and choose a unique partitioning id.In order to provide backward compatibility for clients of
IDocumentSetupParticipant, extension interfaces are used to provide a means of evolution. The following extension interfaces exist:-
IDocumentSetupParticipantExtensionsince version 3.4 introducing the concept of rewrite sessions. .
- Since:
- 3.0
- See Also:
IDocumentExtension3,IDocumentSetupParticipantExtension
-
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetup(IDocument document)Sets up the document to be ready for use by a text file buffer.
-
-
-
Method Detail
-
setup
void setup(IDocument document)
Sets up the document to be ready for use by a text file buffer.- Parameters:
document- the document to be set up
-
-