Class RemoveBendpointContext
- java.lang.Object
-
- org.eclipse.graphiti.PropertyBag
-
- org.eclipse.graphiti.internal.features.context.impl.base.DefaultContext
-
- org.eclipse.graphiti.features.context.impl.RemoveBendpointContext
-
- All Implemented Interfaces:
IBendpointContext,IContext,IRemoveBendpointContext,IPropertyBag
public class RemoveBendpointContext extends DefaultContext implements IRemoveBendpointContext
The Class RemoveBendpointContext.
-
-
Constructor Summary
Constructors Constructor Description RemoveBendpointContext(FreeFormConnection freeFormConnection, Point bendpoint)Creates a newRemoveBendpointContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointgetBendpoint()Gets the bendpoint.intgetBendpointIndex()Gets the bendpoint index.FreeFormConnectiongetConnection()Gets the connection.voidsetBendpoint(Point bendpoint)Sets the bendpoint.voidsetBendpointIndex(int index)Sets the bendpoint index.voidsetConnection(FreeFormConnection freeFormConnection)Sets the connection.java.lang.StringtoString()-
Methods inherited from class org.eclipse.graphiti.PropertyBag
getProperty, getPropertyKeys, putProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
-
-
-
Constructor Detail
-
RemoveBendpointContext
public RemoveBendpointContext(FreeFormConnection freeFormConnection, Point bendpoint)
Creates a newRemoveBendpointContext.- Parameters:
freeFormConnection- the free form connectionbendpoint- the bendpoint
-
-
Method Detail
-
getBendpoint
public Point getBendpoint()
Description copied from interface:IBendpointContextGets the bendpoint.- Specified by:
getBendpointin interfaceIBendpointContext- Returns:
- the bendpoint
-
setBendpoint
public void setBendpoint(Point bendpoint)
Sets the bendpoint.- Parameters:
bendpoint- the new bendpoint
-
setConnection
public void setConnection(FreeFormConnection freeFormConnection)
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
-
getConnection
public FreeFormConnection getConnection()
Description copied from interface:IBendpointContextGets the connection.- Specified by:
getConnectionin interfaceIBendpointContext- Returns:
- the connection
-
setBendpointIndex
public void setBendpointIndex(int index)
Sets the bendpoint index.- Parameters:
index- the new bendpoint index
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDefaultContext
-
-