|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.gef.Request | +--org.eclipse.gef.requests.LocationRequest | +--org.eclipse.gef.requests.ReconnectRequest
A Request to reconnect a connection.
Constructor Summary | |
ReconnectRequest()
Default constructor. |
|
ReconnectRequest(Object type)
Creates a ReconnectRequest with the given type. |
Method Summary | |
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. |
Methods inherited from class org.eclipse.gef.requests.LocationRequest |
getLocation, setLocation |
Methods inherited from class org.eclipse.gef.Request |
getType, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gef.requests.DropRequest |
getLocation |
Constructor Detail |
public ReconnectRequest()
public ReconnectRequest(Object type)
type
- the typeMethod Detail |
public 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 part
|
Eclipse GEF 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |