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 int
DIRECTION_EAST
Eaststatic int
DIRECTION_NORTH
Northstatic int
DIRECTION_NORTH_EAST
North-East: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_EAST
static int
DIRECTION_NORTH_WEST
North-West: a bit-wise OR ofDIRECTION_NORTH
andDIRECTION_WEST
static int
DIRECTION_SOUTH
Southstatic int
DIRECTION_SOUTH_EAST
South-East: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_EAST
static int
DIRECTION_SOUTH_WEST
South-West: a bit-wise OR ofDIRECTION_SOUTH
andDIRECTION_WEST
static int
DIRECTION_UNSPECIFIED
Unspecified directionstatic int
DIRECTION_WEST
West
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDirection()
Returns the specified direction.Shape
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 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_NORTH
andDIRECTION_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_NORTH
andDIRECTION_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_SOUTH
andDIRECTION_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_SOUTH
andDIRECTION_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
-
-