Interface IResizeShapeContext
- All Superinterfaces:
IAreaContext
,IContext
,ILocationContext
,IPictogramElementContext
,IPropertyBag
,IResizeContext
- All Known Implementing Classes:
ResizeShapeContext
The Interface IResizeShapeContext.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Eaststatic final int
Northstatic final int
North-East: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_EAST
static final int
North-West: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_WEST
static final int
Southstatic final int
South-East: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_EAST
static final int
South-West: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_WEST
static final int
Unspecified directionstatic final int
West -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the specified direction.getShape()
Gets the shape.Methods inherited from interface org.eclipse.graphiti.features.context.IAreaContext
getHeight, getWidth
Methods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getY
Methods inherited from interface org.eclipse.graphiti.features.context.IPictogramElementContext
getPictogramElement
Methods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
Field Details
-
DIRECTION_NORTH
static final int DIRECTION_NORTHNorth- Since:
- 0.9
- See Also:
-
DIRECTION_SOUTH
static final int DIRECTION_SOUTHSouth- Since:
- 0.9
- See Also:
-
DIRECTION_WEST
static final int DIRECTION_WESTWest- Since:
- 0.9
- See Also:
-
DIRECTION_EAST
static final int DIRECTION_EASTEast- Since:
- 0.9
- See Also:
-
DIRECTION_NORTH_EAST
static final int DIRECTION_NORTH_EASTNorth-East: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_EAST
- Since:
- 0.9
- See Also:
-
DIRECTION_NORTH_WEST
static final int DIRECTION_NORTH_WESTNorth-West: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_WEST
- Since:
- 0.9
- See Also:
-
DIRECTION_SOUTH_EAST
static final int DIRECTION_SOUTH_EASTSouth-East: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_EAST
- Since:
- 0.9
- See Also:
-
DIRECTION_SOUTH_WEST
static final int DIRECTION_SOUTH_WESTSouth-West: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_WEST
- Since:
- 0.9
- See Also:
-
DIRECTION_UNSPECIFIED
static final int DIRECTION_UNSPECIFIEDUnspecified direction- Since:
- 0.9
- See Also:
-
-
Method Details
-
getShape
Shape getShape()Gets the shape.- Returns:
- the shape
-
getDirection
int getDirection()Returns the specified direction. The direction is specified usingIResizeShapeContext#NORTH
,IResizeShapeContext#NORTH_EAST
, etc.- Returns:
- the direction
- Since:
- 0.9
-