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)
Make sure that you do not pass in a Display
until
https://bugs.eclipse.org/bugs/show_bug.cgi?id=38528 is fixed.
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 pixelsGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.