Eclipse Platform
2.1

org.eclipse.jface.text.information
Interface IInformationProviderExtension


public interface IInformationProviderExtension

Extension interface for IInformationProvider 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().

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
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.