Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Change Mouse Pointer on AbstractTable
Change Mouse Pointer on AbstractTable [message #904907] Wed, 29 August 2012 11:11 Go to next message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
I have an instance of AbstractTable and I would like to change the default mouse pointer (cursor) on certain cells. Any suggestions?
Re: Change Mouse Pointer on AbstractTable [message #908008 is a reply to message #904907] Tue, 04 September 2012 14:40 Go to previous messageGo to next message
Ken Lee is currently offline Ken LeeFriend
Messages: 97
Registered: March 2012
Member
Hi Adrian,

As discussed, since you need to provide a download URL inside a table in your Use Case,
you can create an AbstractStringColumn and emit your download location by encapsulating it between
<html>...</html>

The mouse cursor will change from an arrow to a hand. Between the HTML tag, you can simply write standard HTML code like
<a href="..."</a>

The parsing is done in RwtScoutTable in the method initializeUiColumns().

However, if you need a different mouse cursor for different table columns, it's currently not possible without changing the Scout code.

Cheers,

Ken
Re: Change Mouse Pointer on AbstractTable [message #918806 is a reply to message #908008] Fri, 21 September 2012 11:10 Go to previous message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
Thanks, Ken, that is exactly what I need.

The clicked URL can be further processed by implementing
AbstractTableField.execHyperlinkAction
Previous Topic:Activator in org.eclipse.scout.rt.server
Next Topic:Problem with Scout Tutorials
Goto Forum:
  


Current Time: Thu Mar 28 15:24:53 GMT 2024

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

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

Back to the top