public interface IInformationPresenter
An information presenters has a list of
each 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
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IInformationPresenterExtensionsince version 3.0 introducing the ability to handle documents with multiple partitions
The interface can be implemented by clients. By default, clients use
InformationPresenter as the standard implementer of this interface.
|Modifier and Type||Method and Description|
Returns the information provider to be used for the given content type.
Installs the information presenter on the given text viewer.
Shows information related to the cursor position of the text viewer this information presenter is installed on.
Removes the information presenter from the text viewer it has previously been installed on.
void install(ITextViewer textViewer)
showInformation()can be called until
textViewer- the viewer on which the presenter is installed
IInformationProvider getInformationProvider(String contentType)
contentType- the type of the content for which information will be requested
nullif none exists for the specified content type
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.