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
The Class RemoveBendpointContext.
-
Constructor Summary
ConstructorDescriptionRemoveBendpointContext
(FreeFormConnection freeFormConnection, Point bendpoint) Creates a newRemoveBendpointContext
. -
Method Summary
Modifier and TypeMethodDescriptionGets the bendpoint.int
Gets the bendpoint index.Gets the connection.void
setBendpoint
(Point bendpoint) Sets the bendpoint.void
setBendpointIndex
(int index) Sets the bendpoint index.void
setConnection
(FreeFormConnection freeFormConnection) Sets the connection.toString()
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 Details
-
RemoveBendpointContext
Creates a newRemoveBendpointContext
.- Parameters:
freeFormConnection
- the free form connectionbendpoint
- the bendpoint
-
-
Method Details
-
getBendpoint
Description copied from interface:IBendpointContext
Gets the bendpoint.- Specified by:
getBendpoint
in interfaceIBendpointContext
- Returns:
- the bendpoint
-
setBendpoint
Sets the bendpoint.- Parameters:
bendpoint
- the new bendpoint
-
setConnection
Sets the connection.- Parameters:
freeFormConnection
- the new connection
-
getBendpointIndex
public int getBendpointIndex()Description copied from interface:IBendpointContext
Gets the bendpoint index.- Specified by:
getBendpointIndex
in interfaceIBendpointContext
- Returns:
- the bendpoint index
-
getConnection
Description copied from interface:IBendpointContext
Gets the connection.- Specified by:
getConnection
in interfaceIBendpointContext
- Returns:
- the connection
-
setBendpointIndex
public void setBendpointIndex(int index) Sets the bendpoint index.- Parameters:
index
- the new bendpoint index
-
toString
- Overrides:
toString
in classDefaultContext
-