Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Text editor control decoration
Text editor control decoration [message #926106] Fri, 28 September 2012 09:58 Go to next message
dhruba kumar is currently offline dhruba kumarFriend
Messages: 51
Registered: September 2012
Hi ,
In Section "Text editor control decoration" of documentation 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 18:16 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
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!

Previous Topic:NatTable 0.9.0 Release
Next Topic:Division by Zero bug in AbstractTextPainter.modifyTextToDisplay(
Goto Forum:

Current Time: Mon Sep 28 22:36:43 GMT 2020

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

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

Back to the top