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 05:49 Go to next message
chai maa is currently offline chai maa
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 03:47 Go to previous messageGo to next message
Yannic Noller is currently offline Yannic Noller
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 04:09 Go to previous messageGo to next message
chai maa is currently offline chai maa
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 02:50 Go to previous message
Yannic Noller is currently offline Yannic Noller
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: Tue Jul 29 16:55:03 EDT 2014

Powered by FUDForum. Page generated in 0.05152 seconds