hover help for dialog page does not wrap [message #460977] |
Tue, 13 September 2005 14:39 |
Edgar Weitzel 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?
|
|
|
Powered by
FUDForum. Page generated in 0.02049 seconds