Class ScalableFreeformRootEditPart

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

public class ScalableFreeformRootEditPart extends FreeformGraphicalRootEditPart
Adds Zoom support to the standard FreeformGraphicalRootEditPart. This root is just like its superclass, except it inserts a new LayeredPane above the printable layers. This pane is identified with the LayerConstants.SCALABLE_LAYERS ID. This root also provides a ZoomManager, for optional use with the ZoomComboContributionItem

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

Root Freeform Layered Pane
 Guide Layer
 Feedback Layer
 Handle Layer
 Scalable Layers (ScalableFreeformLayeredPane)
   Scaled Feedback Layer
   Printable Layers
    ├ Connection Layer
    └ Primary Layer  
   Grid Layer
Since:
2.1
  • Constructor Details

    • ScalableFreeformRootEditPart

      public ScalableFreeformRootEditPart()
      Constructor for ScalableFreeformRootEditPart
    • ScalableFreeformRootEditPart

      public ScalableFreeformRootEditPart(boolean useScaledGraphics)
      Constructor which allows to configure if scaled graphics should be used.
      Since:
      3.14
  • Method Details