Package | Description |
---|---|
org.eclipse.gef4.mvc.policies |
This package contains the
IPolicy (and
AbstractPolicy ) abstraction and
concrete implementations for the manipulation of the
ContentModel :
ContentPolicy ,
CreationPolicy , and
DeletionPolicy . |
Modifier and Type | Method and Description |
---|---|
static Dimension |
AbstractTransformPolicy.getSnapToGridOffset(GridModel gridModel,
double localX,
double localY,
double gridCellWidthFraction,
double gridCellHeightFraction)
Computes the offset which needs to be added to the given local
coordinates in order to stay on the grid/snap to the grid.
|
Copyright (c) 2014 itemis AG and others. All rights reserved.