Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Treeviewer scrollbar misbehaves under windows?
Treeviewer scrollbar misbehaves under windows? [message #333193] Fri, 28 November 2008 16:55 Go to next message
Salvatore Culcasi is currently offline Salvatore CulcasiFriend
Messages: 6
Registered: July 2009
Junior Member
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 09:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 13:17 Go to previous message
kavitha Mising name is currently offline kavitha Mising nameFriend
Messages: 9
Registered: March 2011
Junior Member
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: Fri Apr 19 12:47:10 GMT 2024

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

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

Back to the top