Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TreeViewer : how to set focus on a particular cell
TreeViewer : how to set focus on a particular cell [message #1016478] Wed, 06 March 2013 15:33 Go to next message
Christophe Desfourneaux is currently offline Christophe Desfourneaux
Messages: 2
Registered: March 2013
Junior Member
Hi all,

I have a TreeViewer with 2 TreeViewerColumns. I want to set focus programmaticaly on a specific cell by providing a row and cell. Just as we can do for a TableViewer with a bit of reflection and a TableViewerFocusCellManager.

But for that, I think I need a TreeViewerFocusCellManager. The problem is that in RAP, unlike RCP, all the code is commented. Moreover, SWTFocusCellManager cannot be derived.

Does anybody know why the TreeViewerFocusCellManager is no longer used ?
Can I set focus on a particular cell by another way ?

Thanks a lot in advance.

Best regards,

Christophe
Re: TreeViewer : how to set focus on a particular cell [message #1016616 is a reply to message #1016478] Thu, 07 March 2013 07:26 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1817
Registered: July 2009
Senior Member
Hi Christoph,
for historical reasons the class TreeViewerFocusCellManager was never
enabled. Feel free to open an enhancement request about it. Highlighting
of Tree/Table cells in RAP is tricky due to missing paint support in
Tree/Table.
Best,
Ivan


On 3/7/2013 4:18 AM, Christophe Desfourneaux wrote:
> Hi all,
>
> I have a TreeViewer with 2 TreeViewerColumns. I want to set focus
> programmaticaly on a specific cell by providing a row and cell. Just
> as we can do for a TableViewer with a bit of reflection and a
> TableViewerFocusCellManager.
>
> But for that, I think I need a TreeViewerFocusCellManager. The problem
> is that in RAP, unlike RCP, all the code is commented. Moreover,
> SWTFocusCellManager cannot be derived.
>
> Does anybody know why the TreeViewerFocusCellManager is no longer used ?
> Can I set focus on a particular cell by another way ?
>
> Thanks a lot in advance.
>
> Best regards,
>
> Christophe
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: TreeViewer : how to set focus on a particular cell [message #1017291 is a reply to message #1016616] Mon, 11 March 2013 13:46 Go to previous message
Christophe Desfourneaux is currently offline Christophe Desfourneaux
Messages: 2
Registered: March 2013
Junior Member
Hi Ivan,

Thanks for your answer.

I've just opened an enhancement request :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402900

Meanwhile, I will write a fragment and see what I can do.


Best regards,

Christophe
Previous Topic:[Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets
Next Topic:SettingStore vs java.util.preferences
Goto Forum:
  


Current Time: Mon Sep 22 20:28:06 GMT 2014

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

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