Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » hover help for dialog page does not wrap
hover help for dialog page does not wrap [message #460977] Tue, 13 September 2005 14:39
Edgar Weitzel is currently offline Edgar WeitzelFriend
Messages: 1
Registered: July 2009
Junior Member
I have a wizard page with a two line long description. But this description
doesn't get displayed complete on the screen because it is just to long.
It doesn't fit onto the screen. To have it displayed complete it should
wrap the one line into two lines.

The class org.eclipse.jface.dialogs.DialogPage suggests to overwrite the
following depricated method:

* Returns the tool tip text for the widget with the given id.
* <p>
* The default implementation of this framework method does nothing and
* returns <code>null</code>. Subclasses may override.
* </p>
* @param widgetId
* the id of the widget for which hover help is requested
* @return the tool tip text, or <code>null</code> if none
* @deprecated
protected final String getToolTipText(int widgetId) {
// return nothing by default
return null;

I thought I could overwrite this method but it is defined as final.

Does anybody have an idea how to wrap hover help texts?
Previous Topic:Transparent "Image" objects in SWT
Next Topic:Problem with DefaultUndoManager in Eclipse 3.1
Goto Forum:

Current Time: Sat Sep 21 00:28:15 GMT 2019

Powered by FUDForum. Page generated in 0.01395 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top