public interface IDocumentSetupParticipantExtension
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.
IDocumentSetupParticipant
Modifier and Type | Method and Description |
---|---|
void |
setup(IDocument document,
IPath location,
LocationKind locationKind)
Sets up the document to be ready for use by a text file buffer.
|
void setup(IDocument document, IPath location, LocationKind locationKind)
document
- the document to be set uplocation
- a path of the resource backing the new documentlocationKind
- the kind of the given location
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.