An information presenter shows information available at the text viewer's current document position. An
IInformationPresenter
is a {@link org.eclipse.jface.text.ITextViewer} add-on.
An information presenters has a list of {@link org.eclipse.jface.text.information.IInformationProvider} objectseach of which is registered for a particular document content type. The presenter uses the strategy objects to retrieve the information to present.
In order to provide backward compatibility for clients of IInformationPresenter
, extension interfaces are used to provide a means of evolution. The following extension interfaces exist:
- {@link IInformationPresenterExtension} since version 3.0 introducingthe ability to handle documents with multiple partitions
The interface can be implemented by clients. By default, clients use {@link org.eclipse.jface.text.information.InformationPresenter} as the standard implementer of this interface.
@see org.eclipse.jface.text.information.IInformationPresenterExtension
@see org.eclipse.jface.text.ITextViewer
@see org.eclipse.jface.text.information.IInformationProvider
@since 2.0