Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zest "Zoom"
Zest "Zoom" [message #243985] Tue, 01 July 2008 17:41
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
I am trying to implement a style of zoom for my zest viewer.

In actual fact, I am merely expanding the graph so that the nodes are not
so close to each other.

I cannot manage to ever retain the view location after my zoom (the zoom
is actually a layout).

I tried getting the preffered size of the graph control: preferredSize =

and then either setting the view location:



playing with the bars directly:

getGraphControl().getVerticalBar().setSelection((preferredSi ze.y));

but nothing works.

Does anyone know what I might be doing wrong?

Previous Topic:Getting Started
Next Topic:Serveral questions
Goto Forum:

Current Time: Sat Mar 17 20:25:43 GMT 2018

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

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