TreeViewer : how to set focus on a particular cell [message #1016478] |
Wed, 06 March 2013 10:33  |
Eclipse User |
|
|
|
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 02:26   |
Eclipse User |
|
|
|
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/
|
|
|
|
Powered by
FUDForum. Page generated in 0.04487 seconds