|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.MoveContext
org.eclipse.graphiti.features.context.impl.MoveShapeContext
public class MoveShapeContext
The Class MoveShapeContext.
| Field Summary | |
|---|---|
private int |
deltaX
|
private int |
deltaY
|
private Shape |
shape
|
private ContainerShape |
sourceContainer
|
private Connection |
targetConnection
|
private ContainerShape |
targetContainer
|
| Constructor Summary | |
|---|---|
MoveShapeContext(Shape shape)
Creates a new MoveShapeContext. |
|
| Method Summary | |
|---|---|
int |
getDeltaX()
Gets the delta x. |
int |
getDeltaY()
Gets the delta y. |
PictogramElement |
getPictogramElement()
Gets the pictogram element. |
Shape |
getShape()
Gets the shape. |
ContainerShape |
getSourceContainer()
Gets the source container. |
Connection |
getTargetConnection()
Gets the target connection. |
ContainerShape |
getTargetContainer()
Gets the target container. |
void |
setDeltaX(int deltaX)
Sets the delta x. |
void |
setDeltaY(int deltaY)
Sets the delta y. |
private void |
setShape(Shape shape)
|
void |
setSourceContainer(ContainerShape sourceContainer)
Sets the source container. |
void |
setTargetConnection(Connection targetConnection)
Sets the target connection. |
void |
setTargetContainer(ContainerShape targetContainer)
Sets the target container. |
String |
toString()
|
| Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext |
|---|
getX, getY, setLocation, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.features.context.ILocationContext |
|---|
getX, getY |
| Methods inherited from interface org.eclipse.graphiti.IPropertyBag |
|---|
getProperty, getPropertyKeys, putProperty |
| Field Detail |
|---|
private int deltaX
private int deltaY
private Shape shape
private ContainerShape sourceContainer
private ContainerShape targetContainer
private Connection targetConnection
| Constructor Detail |
|---|
public MoveShapeContext(Shape shape)
MoveShapeContext.
shape - the shape| Method Detail |
|---|
public int getDeltaX()
IMoveShapeContext
getDeltaX in interface IMoveShapeContextpublic int getDeltaY()
IMoveShapeContext
getDeltaY in interface IMoveShapeContextpublic PictogramElement getPictogramElement()
IPictogramElementContext
getPictogramElement in interface IPictogramElementContextpublic Shape getShape()
getShape in interface IMoveShapeContextpublic ContainerShape getSourceContainer()
IMoveShapeContext
getSourceContainer in interface IMoveShapeContextpublic Connection getTargetConnection()
ITargetConnectionContext
getTargetConnection in interface ITargetConnectionContextpublic ContainerShape getTargetContainer()
ITargetContext
getTargetContainer in interface ITargetContextpublic void setDeltaX(int deltaX)
deltaX - the new delta xpublic void setDeltaY(int deltaY)
deltaY - the new delta yprivate void setShape(Shape shape)
shape - The shape to set.public void setSourceContainer(ContainerShape sourceContainer)
sourceContainer - The sourceContainer to set.public void setTargetConnection(Connection targetConnection)
targetConnection - The target connection to set.public void setTargetContainer(ContainerShape targetContainer)
targetContainer - The targetContainer to set.public String toString()
toString in class LocationContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||