Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TreeViewer Scrolling
TreeViewer Scrolling [message #142769] Sun, 12 October 2003 17:06 Go to next message
Eclipse UserFriend
Originally posted by: lfu.site.uottawa.ca

If a treeviewer is refreshed(some nodes added or removed), how to scroll
back to the last position? If this can be done, the user may not be
disoriented.

Thanks

Eric
Re: TreeViewer Scrolling [message #143096 is a reply to message #142769] Mon, 13 October 2003 16:02 Go to previous message
Balaji  is currently offline Balaji Friend
Messages: 101
Registered: July 2009
Senior Member
You can set the selection to the previous value (structured selection) and
reveal the selection (setSelection(StructuredSelection, boolean reveal))

Balaji

"Eric Fu" <lfu@site.uottawa.ca> wrote in message
news:bmc1le$45o$1@eclipse.org...
> If a treeviewer is refreshed(some nodes added or removed), how to scroll
> back to the last position? If this can be done, the user may not be
> disoriented.
>
> Thanks
>
> Eric
>
>
Previous Topic:Feature Update with external jars?
Next Topic:wizard and wizardpages passing objects
Goto Forum:
  


Current Time: Sun May 05 16:53:31 GMT 2024

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

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

Back to the top