|
||||||||||
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.CreateConnectionContext
public class CreateConnectionContext
The Class CreateConnectionContext.
Field Summary | |
---|---|
private Anchor |
sourceAnchor
|
private ILocation |
sourceLocation
|
private PictogramElement |
sourcePictogramElement
|
private Anchor |
targetAnchor
|
private ILocation |
targetLocation
|
private PictogramElement |
targetPictogramElement
|
Constructor Summary | |
---|---|
CreateConnectionContext()
Creates a new CreateConnectionContext . |
Method Summary | |
---|---|
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Anchor sourceAnchor
private Anchor targetAnchor
private PictogramElement sourcePictogramElement
private PictogramElement targetPictogramElement
private ILocation sourceLocation
private ILocation targetLocation
Constructor Detail |
---|
public CreateConnectionContext()
CreateConnectionContext
.
Method Detail |
---|
public Anchor getSourceAnchor()
IConnectionContext
getSourceAnchor
in interface IConnectionContext
public Anchor getTargetAnchor()
IConnectionContext
getTargetAnchor
in interface IConnectionContext
public void setSourceAnchor(Anchor sourceAnchor)
sourceAnchor
- The sourceAnchor to set.public void setTargetAnchor(Anchor targetAnchor)
targetAnchor
- The targetAnchor to set.public PictogramElement getSourcePictogramElement()
ICreateConnectionContext
getSourcePictogramElement
in interface ICreateConnectionContext
public PictogramElement getTargetPictogramElement()
ICreateConnectionContext
getTargetPictogramElement
in interface ICreateConnectionContext
public void setSourcePictogramElement(PictogramElement sourcePictogramElement)
sourcePictogramElement
- the new source pictogram elementpublic void setTargetPictogramElement(PictogramElement targetPictogramElement)
targetPictogramElement
- the new target pictogram elementpublic String toString()
public ILocation getSourceLocation()
getSourceLocation
in interface ICreateConnectionContext
public void setSourceLocation(ILocation sourceLocation)
sourceLocation
- the sourceLocation to setpublic ILocation getTargetLocation()
getTargetLocation
in interface ICreateConnectionContext
public void setTargetLocation(ILocation targetLocation)
targetLocation
- the targetLocation to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |