|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An information presenter determines the style presentation of information displayed in the default information control. The interface can be implemented by clients.
Method Summary | |
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. |
Method Detail |
public 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
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.