Skip to main content



      Home
Home » Eclipse Projects » NatTable » Text editor control decoration
Text editor control decoration [message #926106] Fri, 28 September 2012 05:58 Go to next message
Eclipse UserFriend
Hi ,
In Section "Text editor control decoration" of documentation http://www.eclipse.org/nattable/documentation.php?page=editing it is mentioned that "You can get further access for customization by calling TextCellEditor.getDecorationProvider() e.g. to force the hover text to be shown immediately rather than on hover. The returned ControlDecorationProvider can also be reused in your own custom editors" .Can u please tell which are the methods of ControlDecorationProvider
are required to overide force the hover text to be shown immediately .
Re: Text editor control decoration [message #926497 is a reply to message #926106] Fri, 28 September 2012 14:16 Go to previous message
Eclipse UserFriend
Hi there,

The method you need is:

public void showErrorDecorationHover(String errorText)

If you have the source you'll see that this calls errorDecoration.showHoverText(errorText) on the ControlDecoration instance. It's handy to have a look at ControlDecoration's API also Smile

That should do the trick for you!

Regards,
Justin
Previous Topic:NatTable 0.9.0 Release
Next Topic:Division by Zero bug in AbstractTextPainter.modifyTextToDisplay(AbstractTextPainter.java:325)
Goto Forum:
  


Current Time: Mon May 05 16:35:39 EDT 2025

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

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

Back to the top