Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Treeviewer scrollbar misbehaves under windows?
Treeviewer scrollbar misbehaves under windows? [message #333193] Fri, 28 November 2008 11:55 Go to next message
Eclipse UserFriend
Hi all

I would like to systematically to scroll a treeviewer, the value to scroll
is calculated outside and is passed onto the Treeviewer scrollbar

simplifying it is something like:
getViewer().getTree().getVerticalBar().setSelection(value)

The piece of code above under Linux scrolls my treeviewer to the wished
position, under winXP does nothing.

How could I workaround this problem?
Can I find an alternative solution to scroll my treeviewer (I do not know
the treeitem that will be shown)

many thanks for your help
Salvatore
Re: Treeviewer scrollbar misbehaves under windows? [message #333206 is a reply to message #333193] Mon, 01 December 2008 04:04 Go to previous messageGo to next message
Eclipse UserFriend
Looks like an SWT-Issue. Redirecting to SWT-Newsgroup. Could you try
with an SWT only snippet [1]?

Tom

[1]http://www.eclipse.org/swt/snippets/

Salvatore schrieb:
> Hi all
>
> I would like to systematically to scroll a treeviewer, the value to scroll
> is calculated outside and is passed onto the Treeviewer scrollbar
>
> simplifying it is something like:
> getViewer().getTree().getVerticalBar().setSelection(value)
>
> The piece of code above under Linux scrolls my treeviewer to the wished
> position, under winXP does nothing.
>
> How could I workaround this problem?
> Can I find an alternative solution to scroll my treeviewer (I do not
> know the treeitem that will be shown)
>
> many thanks for your help
> Salvatore
>
Re: Treeviewer scrollbar misbehaves under windows? [message #876368 is a reply to message #333193] Thu, 24 May 2012 09:17 Go to previous message
Eclipse UserFriend
Hi Tom,

Even I am facing this issue. Is there any workaround now?
Previous Topic:Product Export: Unable to locate companion shared library
Next Topic:Exception occurred while saving project preferences
Goto Forum:
  


Current Time: Sat Mar 15 01:33:52 EDT 2025

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

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

Back to the top