Eclipse Platform
Release 3.1

org.eclipse.jface.text.information
Interface IInformationProviderExtension


public interface IInformationProviderExtension

Extends IInformationProvider with the ability to provide the element for a given subject.

Since:
2.1
See Also:
IInformationProvider

Method Summary
 Object getInformation2(ITextViewer textViewer, IRegion subject)
          Returns the element for the given subject or null if no element is available.
 

Method Detail

getInformation2

public Object getInformation2(ITextViewer textViewer,
                              IRegion subject)
Returns the element for the given subject or null if no element is available.

Implementers should ignore the text returned by IInformationProvider.getInformation(ITextViewer, IRegion).

Parameters:
textViewer - the viewer in whose document the subject is contained
subject - the text region constituting the information subject
Returns:
the element for the subject
See Also:
IInformationProvider.getInformation(ITextViewer, IRegion), ITextViewer

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.