public class CreateConnectionContext extends DefaultContext implements ICreateConnectionContext
| Constructor and Description |
|---|
CreateConnectionContext()
Creates a new
CreateConnectionContext. |
| Modifier and Type | Method and Description |
|---|---|
Anchor |
getSourceAnchor()
Gets the source anchor.
|
ILocation |
getSourceLocation() |
PictogramElement |
getSourcePictogramElement()
Gets the source pictogram element.
|
Anchor |
getTargetAnchor()
Gets the target anchor.
|
ILocation |
getTargetLocation() |
PictogramElement |
getTargetPictogramElement()
Gets the target pictogram element.
|
void |
setSourceAnchor(Anchor sourceAnchor)
Sets the source anchor.
|
void |
setSourceLocation(ILocation sourceLocation) |
void |
setSourcePictogramElement(PictogramElement sourcePictogramElement)
Sets the source pictogram element.
|
void |
setTargetAnchor(Anchor targetAnchor)
Sets the target anchor.
|
void |
setTargetLocation(ILocation targetLocation) |
void |
setTargetPictogramElement(PictogramElement targetPictogramElement)
Sets the target pictogram element.
|
java.lang.String |
toString() |
getProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProperty, getPropertyKeys, putPropertypublic CreateConnectionContext()
CreateConnectionContext.public Anchor getSourceAnchor()
IConnectionContextgetSourceAnchor in interface IConnectionContextpublic Anchor getTargetAnchor()
IConnectionContextgetTargetAnchor in interface IConnectionContextpublic void setSourceAnchor(Anchor sourceAnchor)
sourceAnchor - The sourceAnchor to set.public void setTargetAnchor(Anchor targetAnchor)
targetAnchor - The targetAnchor to set.public PictogramElement getSourcePictogramElement()
ICreateConnectionContextgetSourcePictogramElement in interface ICreateConnectionContextpublic PictogramElement getTargetPictogramElement()
ICreateConnectionContextgetTargetPictogramElement in interface ICreateConnectionContextpublic void setSourcePictogramElement(PictogramElement sourcePictogramElement)
sourcePictogramElement - the new source pictogram elementpublic void setTargetPictogramElement(PictogramElement targetPictogramElement)
targetPictogramElement - the new target pictogram elementpublic java.lang.String toString()
toString in class DefaultContextpublic ILocation getSourceLocation()
getSourceLocation in interface ICreateConnectionContextpublic void setSourceLocation(ILocation sourceLocation)
sourceLocation - the sourceLocation to setpublic ILocation getTargetLocation()
getTargetLocation in interface ICreateConnectionContextpublic void setTargetLocation(ILocation targetLocation)
targetLocation - the targetLocation to set