Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to scroll to a position in Viewpart
How to scroll to a position in Viewpart [message #1058473] Tue, 14 May 2013 09:49 Go to next message
chai maa is currently offline chai maaFriend
Messages: 8
Registered: February 2012
Junior Member
Hello Everyone,

I am implementing a view wherein I want to scroll to a particular location in the view (Horizontal and vertical position) on a particular event.
ScrolledComposite is not working.

How do I do that.
Re: How to scroll to a position in Viewpart [message #1060117 is a reply to message #1058473] Thu, 23 May 2013 07:47 Go to previous messageGo to next message
Yannic Noller is currently offline Yannic NollerFriend
Messages: 5
Registered: May 2013
Junior Member
Did you find something? I need the same information.
Re: How to scroll to a position in Viewpart [message #1060335 is a reply to message #1060117] Fri, 24 May 2013 08:09 Go to previous messageGo to next message
chai maa is currently offline chai maaFriend
Messages: 8
Registered: February 2012
Junior Member
Not yet
Re: How to scroll to a position in Viewpart [message #1060572 is a reply to message #1060335] Mon, 27 May 2013 06:50 Go to previous message
Yannic Noller is currently offline Yannic NollerFriend
Messages: 5
Registered: May 2013
Junior Member
I found a solution for me. I'm using a
org.eclipse.gef4.zest.core.viewers.GraphViewer
to display a graph and there's the method
void org.eclipse.gef4.zest.core.viewers.GraphViewer.reveal(Object element)
which ensures that the given element is visible, scrolling the viewer if necessary.

I don't know whether this also works for you. Do you work with JFace or what exactly is your problem?

Previous Topic:Questions re. some basic RCP concepts
Next Topic:Issue with icons displayed the Next Editor Dialog (CTRL + F6)
Goto Forum:
  


Current Time: Fri Apr 19 11:29:41 GMT 2024

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

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

Back to the top