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 SummaryConstructorsConstructorDescriptionAddBendpointContext(FreeFormConnection connection, int x, int y, int index) Creates a newAddBendpointContext.
- 
Method SummaryModifier 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.LocationContextgetX, getY, setLocation, setX, setYMethods inherited from class org.eclipse.graphiti.PropertyBaggetProperty, getPropertyKeys, putPropertyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.features.context.ILocationContextgetX, getYMethods inherited from interface org.eclipse.graphiti.IPropertyBaggetProperty, getPropertyKeys, putProperty
- 
Constructor Details- 
AddBendpointContextCreates a newAddBendpointContext.- Parameters:
- connection- the connection
- x- the x
- y- the y
- index- the index
 
 
- 
- 
Method Details- 
getConnectionDescription copied from interface:IBendpointContextGets the connection.- Specified by:
- getConnectionin interface- IBendpointContext
- Returns:
- the connection
 
- 
setConnectionSets the connection.- Parameters:
- freeFormConnection- the new connection
 
- 
getBendpointIndexpublic int getBendpointIndex()Description copied from interface:IBendpointContextGets the bendpoint index.- Specified by:
- getBendpointIndexin interface- IBendpointContext
- Returns:
- the bendpoint index
 
- 
setBendpointIndexpublic void setBendpointIndex(int index) Sets the bendpoint index.- Parameters:
- index- the new bendpoint index
 
- 
getBendpointDescription copied from interface:IBendpointContextGets the bendpoint.- Specified by:
- getBendpointin interface- IBendpointContext
- Returns:
- the bendpoint
 
- 
toString- Overrides:
- toStringin class- LocationContext
 
 
-