public interface IInformationProviderExtension
IInformationProvider
with
the ability to provide the element for a given subject.IInformationProvider
Modifier and Type | Method and Description |
---|---|
Object |
getInformation2(ITextViewer textViewer,
IRegion subject)
Returns the element for the given subject or
null if
no element is available. |
Object getInformation2(ITextViewer textViewer, IRegion subject)
null
if
no element is available.
Implementers should ignore the text returned by IInformationProvider.getInformation(ITextViewer, IRegion)
.
textViewer
- the viewer in whose document the subject is containedsubject
- the text region constituting the information subjectIInformationProvider.getInformation(ITextViewer, IRegion)
,
ITextViewer
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.