Package org.eclipse.gef.requests
Class BendpointRequest
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.LocationRequest
org.eclipse.gef.requests.BendpointRequest
A request to alter a bendpoint.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.eclipse.gef.requests.LocationRequestgetLocation, setLocationMethods inherited from class org.eclipse.gef.RequestgetExtendedData, getType, setExtendedData, setType
- 
Constructor Details- 
BendpointRequestpublic BendpointRequest()
 
- 
- 
Method Details- 
getIndexpublic int getIndex()Returns the index of the bendpoint to be changed.- Returns:
- the bendpoint index
 
- 
getSourceReturns the ConnectionEditPart that the bendpoint belongs to.- Returns:
- the bendpoint's ConnectionEditPart
 
- 
setIndexpublic void setIndex(int i) Sets the index of the bendpoint to be changed.- Parameters:
- i- the bendpoint's index
 
- 
setSourceSets the ConnectionEditPart the bendpoint belongs to.- Parameters:
- s- the bendpoint's ConnectionEditPart
 
 
-