| Setting scroll position programmatically seems to fail [message #646150] |
Wed, 22 December 2010 06:45  |
John Bradley Messages: 14 Registered: July 2009 |
Junior Member |
|
|
I want to click on an item in one editor and have it open a different GEF editor associated with the clicked-on item and position (by scolling) the GEF editor so that the editPart's figure that corresponds to the clicked item is visible: sometimes the code needs to scroll the GEF editor Viewport so that the selected item is visible. I can figure out where to scroll to, but when I invoke scrollVerticalTo() on the ScrollPane to try to do the scroll nothing happens.
Is there a different/better/correct way to do this?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01677 seconds