Package org.eclipse.gef.requests
Class ReconnectRequest
java.lang.Object
org.eclipse.gef.Request
org.eclipse.gef.requests.LocationRequest
org.eclipse.gef.requests.ReconnectRequest
- All Implemented Interfaces:
- DropRequest,- TargetRequest
A Request to reconnect a connection.
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor.ReconnectRequest(Object type) Creates a ReconnectRequest with the given type.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the ConnectionEditPart to be reconnected.Returns the target edit part that the connection should be connected to.booleanReturnstrueif the start (source) anchor is the anchor being moved.voidSets the ConnectionEditPart to be reconnected.voidSets the target edit part that the connection should be connected to.Methods inherited from class org.eclipse.gef.requests.LocationRequestgetLocation, setLocationMethods inherited from class org.eclipse.gef.RequestgetExtendedData, getType, setExtendedData, setTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.gef.requests.DropRequestgetLocation
- 
Constructor Details- 
ReconnectRequestpublic ReconnectRequest()Default constructor.
- 
ReconnectRequestCreates a ReconnectRequest with the given type.- Parameters:
- type- the type
 
 
- 
- 
Method Details- 
getConnectionEditPartReturns the ConnectionEditPart to be reconnected.- Returns:
- The ConnectionEditPart to be reconnected.
 
- 
getTargetReturns the target edit part that the connection should be connected to.- Returns:
- the target edit part
 
- 
isMovingStartAnchorpublic boolean isMovingStartAnchor()Returnstrueif the start (source) anchor is the anchor being moved.- Returns:
- whether the start anchor is being moved
 
- 
setConnectionEditPartSets the ConnectionEditPart to be reconnected.- Parameters:
- conn- The ConnectionEditPart.
 
- 
setTargetEditPartSets the target edit part that the connection should be connected to.- Specified by:
- setTargetEditPartin interface- TargetRequest
- Parameters:
- ep- the target edit part
 
 
-