org.eclipse.zest.core.viewers
Class AbstractZoomableViewer
java.lang.Object
StructuredViewer
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.
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 |
AbstractZoomableViewer
public AbstractZoomableViewer()
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)
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.