Class ScalableRootEditPart

All Implemented Interfaces:
IAdaptable, EditPart, LayerManager, GraphicalEditPart, LayerConstants, RequestConstants, RootEditPart

public class ScalableRootEditPart extends SimpleRootEditPart implements LayerConstants, LayerManager
A graphical root composed of regular Layers. The layers are added to LayeredPane or ScalableLayeredPane. All layers are positioned by StackLayouts, which means that the diagrams preferred size is the union of the preferred size of each layer, and all layers will be positioned to fill the entire diagram.

IMPORTANTScalableRootEditPart uses a Viewport as its primary figure. It must be used with a ScrollingGraphicalViewer. The viewport gets installed into that viewer's FigureCanvas, which provides native scrollbars for scrolling the viewport.

The layer structure (top-to-bottom) for this root is:

Root Layered Pane
 Guide Layer
 Feedback Layer
 Handle Layer
 Scalable Layers (ScalableLayeredPane)
   Scaled Feedback Layer
   Printable Layers
    ├ Connection Layer
    └ Primary Layer  
   Grid Layer
Since:
2.1.1