Interface IResizeShapeContext
-
- All Superinterfaces:
IAreaContext,IContext,ILocationContext,IPictogramElementContext,IPropertyBag,IResizeContext
- All Known Implementing Classes:
ResizeShapeContext
public interface IResizeShapeContext extends IResizeContext, IPictogramElementContext
The Interface IResizeShapeContext.
-
-
Field Summary
Fields Modifier and Type Field Description static intDIRECTION_EASTEaststatic intDIRECTION_NORTHNorthstatic intDIRECTION_NORTH_EASTNorth-East: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_EASTstatic intDIRECTION_NORTH_WESTNorth-West: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_WESTstatic intDIRECTION_SOUTHSouthstatic intDIRECTION_SOUTH_EASTSouth-East: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_EASTstatic intDIRECTION_SOUTH_WESTSouth-West: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_WESTstatic intDIRECTION_UNSPECIFIEDUnspecified directionstatic intDIRECTION_WESTWest
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDirection()Returns the specified direction.ShapegetShape()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 Detail
-
DIRECTION_NORTH
static final int DIRECTION_NORTH
North- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_SOUTH
static final int DIRECTION_SOUTH
South- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_WEST
static final int DIRECTION_WEST
West- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_EAST
static final int DIRECTION_EAST
East- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_NORTH_EAST
static final int DIRECTION_NORTH_EAST
North-East: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_EAST- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_NORTH_WEST
static final int DIRECTION_NORTH_WEST
North-West: a bit-wise OR ofDIRECTION_NORTHandDIRECTION_WEST- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_SOUTH_EAST
static final int DIRECTION_SOUTH_EAST
South-East: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_EAST- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_SOUTH_WEST
static final int DIRECTION_SOUTH_WEST
South-West: a bit-wise OR ofDIRECTION_SOUTHandDIRECTION_WEST- Since:
- 0.9
- See Also:
- Constant Field Values
-
DIRECTION_UNSPECIFIED
static final int DIRECTION_UNSPECIFIED
Unspecified direction- Since:
- 0.9
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-