Interface IResizeShapeContext
- All Superinterfaces:
IAreaContext,IContext,ILocationContext,IPictogramElementContext,IPropertyBag,IResizeContext
- All Known Implementing Classes:
ResizeShapeContext
The Interface IResizeShapeContext.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEaststatic final intNorthstatic final intNorth-East: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_EASTstatic final intNorth-West: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_WESTstatic final intSouthstatic final intSouth-East: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_EASTstatic final intSouth-West: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_WESTstatic final intUnspecified directionstatic final intWest -
Method Summary
Modifier and TypeMethodDescriptionintReturns the specified direction.getShape()Gets the shape.Methods inherited from interface org.eclipse.graphiti.features.context.IAreaContext
getHeight, getWidthMethods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getYMethods inherited from interface org.eclipse.graphiti.features.context.IPictogramElementContext
getPictogramElementMethods 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_NORTHandDIRECTION_EAST- Since:
- 0.9
- See Also:
-
DIRECTION_NORTH_WEST
static final int DIRECTION_NORTH_WESTNorth-West: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_WEST- Since:
- 0.9
- See Also:
-
DIRECTION_SOUTH_EAST
static final int DIRECTION_SOUTH_EASTSouth-East: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_EAST- Since:
- 0.9
- See Also:
-
DIRECTION_SOUTH_WEST
static final int DIRECTION_SOUTH_WESTSouth-West: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_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
-