public class ZoomManagerWithAnimation
extends org.eclipse.gef.editparts.ZoomManager
Constructor and Description |
---|
ZoomManagerWithAnimation(org.eclipse.draw2d.ScalableFigure pane,
org.eclipse.draw2d.Viewport viewport,
org.eclipse.gef.ui.parts.ScrollingGraphicalViewer viewer)
Creates a new ZoomManagerWithAnimation.
|
Modifier and Type | Method and Description |
---|---|
int |
getTotalSteps()
Returns the total number of steps.
|
void |
stepPerformed()
Is called after each performed step.
|
addZoomListener, canZoomIn, canZoomOut, getMaxZoom, getMinZoom, getNextZoomLevel, getPane, getPreviousZoomLevel, getScalableFigure, getUIMultiplier, getViewport, getZoom, getZoomAsText, getZoomLevelContributions, getZoomLevels, getZoomLevelsAsText, removeZoomListener, setUIMultiplier, setViewLocation, setZoom, setZoomAnimationStyle, setZoomAsText, setZoomLevelContributions, setZoomLevels, zoomIn, zoomOut, zoomTo
public ZoomManagerWithAnimation(org.eclipse.draw2d.ScalableFigure pane, org.eclipse.draw2d.Viewport viewport, org.eclipse.gef.ui.parts.ScrollingGraphicalViewer viewer)
public void stepPerformed()
By default it dispatches all pending events of the current Display. This is important, because typically the steps do something which shall be visible to the user. By dispatching the events all updates to the UI will be performed.
public int getTotalSteps()