Class AddBendpointContext
java.lang.Object
org.eclipse.graphiti.PropertyBag
org.eclipse.graphiti.internal.features.context.impl.base.DefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.AddBendpointContext
- All Implemented Interfaces:
IAddBendpointContext,IBendpointContext,IContext,ILocationContext,IPropertyBag
The Class AddBendpointContext.
-
Constructor Summary
ConstructorsConstructorDescriptionAddBendpointContext(FreeFormConnection connection, int x, int y, int index) Creates a newAddBendpointContext. -
Method Summary
Modifier and TypeMethodDescriptionGets the bendpoint.intGets the bendpoint index.Gets the connection.voidsetBendpointIndex(int index) Sets the bendpoint index.voidsetConnection(FreeFormConnection freeFormConnection) Sets the connection.toString()Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext
getX, getY, setLocation, setX, setYMethods inherited from class org.eclipse.graphiti.PropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getYMethods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
Constructor Details
-
AddBendpointContext
Creates a newAddBendpointContext.- Parameters:
connection- the connectionx- the xy- the yindex- the index
-
-
Method Details
-
getConnection
Description copied from interface:IBendpointContextGets the connection.- Specified by:
getConnectionin interfaceIBendpointContext- Returns:
- the connection
-
setConnection
Sets the connection.- Parameters:
freeFormConnection- the new connection
-
getBendpointIndex
public int getBendpointIndex()Description copied from interface:IBendpointContextGets the bendpoint index.- Specified by:
getBendpointIndexin interfaceIBendpointContext- Returns:
- the bendpoint index
-
setBendpointIndex
public void setBendpointIndex(int index) Sets the bendpoint index.- Parameters:
index- the new bendpoint index
-
getBendpoint
Description copied from interface:IBendpointContextGets the bendpoint.- Specified by:
getBendpointin interfaceIBendpointContext- Returns:
- the bendpoint
-
toString
- Overrides:
toStringin classLocationContext
-