|
||||||||||
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.AddBendpointContext
public class AddBendpointContext
The Class AddBendpointContext.
Field Summary | |
---|---|
private int |
bendpointIndex
|
private FreeFormConnection |
freeFormConnection
|
Constructor Summary | |
---|---|
AddBendpointContext(FreeFormConnection connection,
int x,
int y,
int index)
Creates a new AddBendpointContext . |
Method Summary | |
---|---|
Point |
getBendpoint()
Gets the bendpoint. |
int |
getBendpointIndex()
Gets the bendpoint index. |
FreeFormConnection |
getConnection()
Gets the connection. |
void |
setBendpointIndex(int index)
Sets the bendpoint index. |
void |
setConnection(FreeFormConnection freeFormConnection)
Sets the connection. |
java.lang.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, putProperty |
Field Detail |
---|
private FreeFormConnection freeFormConnection
private int bendpointIndex
Constructor Detail |
---|
public AddBendpointContext(FreeFormConnection connection, int x, int y, int index)
AddBendpointContext
.
connection
- the connectionx
- the xy
- the yindex
- the indexMethod Detail |
---|
public FreeFormConnection getConnection()
IBendpointContext
getConnection
in interface IBendpointContext
public void setConnection(FreeFormConnection freeFormConnection)
freeFormConnection
- the new connectionpublic int getBendpointIndex()
IBendpointContext
getBendpointIndex
in interface IBendpointContext
public void setBendpointIndex(int index)
index
- the new bendpoint indexpublic Point getBendpoint()
IBendpointContext
getBendpoint
in interface IBendpointContext
public java.lang.String toString()
toString
in class LocationContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |