*/
protected boolean canReorientSource() {
if (!(oldEnd instanceof ConnectionEnabledElement && newEnd instanceof ConnectionEnabledElement)) {
return false;
}
ConnectionEnabledElement target = getLink().getValue();
if (!(getLink().eContainer() instanceof ConnectionStatement)) {
return false;
}
ConnectionStatement container = (ConnectionStatement) getLink()
.eContainer();