Zest
1.5.0.201305060205

org.eclipse.zest.core.viewers
Class AbstractZoomableViewer

java.lang.Object
  extended by StructuredViewer
      extended by org.eclipse.zest.core.viewers.AbstractZoomableViewer
Direct Known Subclasses:
org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer

public abstract class AbstractZoomableViewer
extends StructuredViewer

A simple interface that provides zooming capabilites. Not intended to be subclassed by clients.


Constructor Summary
AbstractZoomableViewer()
           
 
Method Summary
protected abstract  org.eclipse.zest.core.viewers.internal.ZoomManager getZoomManager()
          Returns a ZoomManager that zooming can be done on.
 void zoomTo(int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractZoomableViewer

public AbstractZoomableViewer()
Method Detail

getZoomManager

protected abstract org.eclipse.zest.core.viewers.internal.ZoomManager getZoomManager()
Returns a ZoomManager that zooming can be done on. May return null if none is available.

Returns:
a ZoomManager that zooming can be done on.

zoomTo

public void zoomTo(int x,
                   int y,
                   int width,
                   int height)

Zest
1.5.0.201305060205

Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.