Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Interface DefaultInformationControl.IInformationPresenterExtension

Enclosing class:
DefaultInformationControl

public static interface DefaultInformationControl.IInformationPresenterExtension

An information presenter determines the style presentation of information displayed in the default information control. The interface can be implemented by clients.

Since:
3.2

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

updatePresentation


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. The manipulation could be the extraction of textual encoded style information etc. Returns the manipulated information.

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.

Parameters:
drawable - the drawable of the information control
hoverInfo - the information to be presented
presentation - the presentation to be updated
maxWidth - the maximal width in pixels
maxHeight - the maximal height in pixels
Returns:
the manipulated information

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire