org.eclipse.jface.text
Interface DefaultInformationControl.IInformationPresenter
- Enclosing class:
- DefaultInformationControl
- public static interface DefaultInformationControl.IInformationPresenter
An information presenter determines the style presentation
of information displayed in the default information control.
The interface can be implemented by clients.
updatePresentation
public String updatePresentation(Display display,
String hoverInfo,
TextPresentation presentation,
int maxWidth,
int maxHeight)
- Updates the given presentation of the given information and
thereby may manipulate the information to be displayed. The manipulation
could be the extraction of textual encoded style information etc. Returns the
manipulated information.
- Parameters:
display
- the display of the information controlhoverInfo
- the information to be presentedpresentation
- the presentation to be updatedmaxWidth
- the maximal width in pixelsmaxHeight
- the maximal height in pixels- Returns:
- the manipulated information
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.