Skip to main content


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 DesfourneauxFriend
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 FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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 DesfourneauxFriend
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:Table selection issue
Next Topic:Image Map
Goto Forum:
  


Current Time: Fri Apr 19 22:12:07 GMT 2024

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

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

Back to the top