Class ScrollingGraphicalViewer

All Implemented Interfaces:
EditPartViewer, GraphicalViewer, ISelectionProvider
Direct Known Subclasses:
PaletteViewer

public class ScrollingGraphicalViewer extends GraphicalViewerImpl
A Graphical Viewer implementation which uses a FigureCanvas for native scrolling. Because the scrolling is handled natively, the root editpart should not contain a ScrollPane figure. Do not use root editparts which provide scrollpane figures, such as GraphicalRootEditPart.

The RootEditPart for a ScrollingGraphicalViewer may contain a Viewport. If it does, that viewport will be set as the FigureCanvas' viewport. FigureCanvas has certain requirements on the viewport figure, see FigureCanvas.setViewport(Viewport).