public class ReconnectRequest extends LocationRequest implements DropRequest, TargetRequest
Constructor and Description |
---|
ReconnectRequest()
Default constructor.
|
ReconnectRequest(java.lang.Object type)
Creates a ReconnectRequest with the given type.
|
Modifier and Type | Method and Description |
---|---|
ConnectionEditPart |
getConnectionEditPart()
Returns the ConnectionEditPart to be reconnected.
|
EditPart |
getTarget()
Returns the target edit part that the connection should be connected to.
|
boolean |
isMovingStartAnchor()
Returns
true if the start (source) anchor is the anchor
being moved. |
void |
setConnectionEditPart(ConnectionEditPart conn)
Sets the ConnectionEditPart to be reconnected.
|
void |
setTargetEditPart(EditPart ep)
Sets the target edit part that the connection should be connected to.
|
getLocation, setLocation
getExtendedData, getType, setExtendedData, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation
public ReconnectRequest()
public ReconnectRequest(java.lang.Object type)
type
- the typepublic ConnectionEditPart getConnectionEditPart()
public EditPart getTarget()
public boolean isMovingStartAnchor()
true
if the start (source) anchor is the anchor
being moved.public void setConnectionEditPart(ConnectionEditPart conn)
conn
- The ConnectionEditPart.public void setTargetEditPart(EditPart ep)
setTargetEditPart
in interface TargetRequest
ep
- the target edit partCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.