Eclipse Platform
Release 3.4

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:
IDocumentSetupParticipant

Method Summary
 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

public 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

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.