Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to display tooltips for its content in the tableviewer
How to display tooltips for its content in the tableviewer [message #639586] Wed, 17 November 2010 03:54 Go to next message
roy  is currently offline roy Friend
Messages: 13
Registered: July 2010
Junior Member
Hi all:

Who can tell me how to display tooltips for its content in the
tableviewer? I can't achieve this functional only depends the "RAP 1.3
- New and Noteworthy"
Thanks!

Best Regards!
Roy
Re: How to display tooltips for its content in the tableviewer [message #639599 is a reply to message #639586] Wed, 17 November 2010 06:40 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hy Roy,
enabling the cell tooltips is the same like in RCP - call:
ColumnViewerToolTipSupport.enableFor( viewer );
than the text for the tooltips is taken from
CellLabelProvider#getToolTipText().
You can see an example in the RAP Controls Demo -> TableViewer
(org.eclipse.rap.demo).
HTH,
Ivan

On 17.11.2010 5:54 AM, Roy Xiao wrote:
> Hi all:
>
> Who can tell me how to display tooltips for its content in the
> tableviewer? I can't achieve this functional only depends the "RAP 1.3
> - New and Noteworthy"
> Thanks!
>
> Best Regards!
> Roy
Re: How to display tooltips for its content in the tableviewer [message #640118 is a reply to message #639599] Fri, 19 November 2010 07:51 Go to previous message
roy  is currently offline roy Friend
Messages: 13
Registered: July 2010
Junior Member
Hi Ivan:

Thanks!


于 2010年11月17日 14:40, Ivan Furnadjiev 写道:
> Hy Roy,
> enabling the cell tooltips is the same like in RCP - call:
> ColumnViewerToolTipSupport.enableFor( viewer );
> than the text for the tooltips is taken from
> CellLabelProvider#getToolTipText().
> You can see an example in the RAP Controls Demo -> TableViewer
> (org.eclipse.rap.demo).
> HTH,
> Ivan
>
> On 17.11.2010 5:54 AM, Roy Xiao wrote:
>> Hi all:
>>
>> Who can tell me how to display tooltips for its content in the
>> tableviewer? I can't achieve this functional only depends the "RAP 1.3
>> - New and Noteworthy"
>> Thanks!
>>
>> Best Regards!
>> Roy
Previous Topic:Using Display.syncExec to access UI thread from an IServiceHandler instance leads to a deadlock
Next Topic:Widget's border theming
Goto Forum:
  


Current Time: Fri Apr 19 19:56:46 GMT 2024

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

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

Back to the top