Interface IInformationProviderExtension
-
public interface IInformationProviderExtension
ExtendsIInformationProvider
with the ability to provide the element for a given subject.- Since:
- 2.1
- See Also:
IInformationProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getInformation2(ITextViewer textViewer, IRegion subject)
Returns the element for the given subject ornull
if no element is available.
-
-
-
Method Detail
-
getInformation2
Object getInformation2(ITextViewer textViewer, IRegion subject)
Returns the element for the given subject ornull
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 containedsubject
- the text region constituting the information subject- Returns:
- the element for the subject
- See Also:
IInformationProvider.getInformation(ITextViewer, IRegion)
,ITextViewer
-
-