public static interface DefaultInformationControl.IInformationPresenterExtension
Modifier and Type | Method and Description |
---|---|
String |
updatePresentation(Drawable drawable,
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.
|
String updatePresentation(Drawable drawable, String hoverInfo, TextPresentation presentation, int maxWidth, int maxHeight)
Replaces DefaultInformationControl.IInformationPresenter.updatePresentation(Display, String, TextPresentation, int, int)
Implementations should use the font of the given drawable
to calculate
the size of the text to be presented.
drawable
- the drawable of the information controlhoverInfo
- the information to be presentedpresentation
- the presentation to be updatedmaxWidth
- the maximal width in pixelsmaxHeight
- the maximal height in pixels
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.