{
startConnector.toggleOrientationLock();
}
if (!endConnector.isOrientationLocked())
{
endConnector.toggleOrientationLock();
}
Orientation startOrientation = startConnector.getLockedOrientation();
Orientation endOrientation = endConnector.getLockedOrientation();