if ((request.getResizeDirection() & PositionConstants.NORTH) != 0)
edgeBeingResized = -1;
else
edgeBeingResized = 1;
if (alignment == edgeBeingResized)
result = result.chain(new ChangeGuideCommand(part, true));
}
}
if ((request.getResizeDirection() & PositionConstants.EAST_WEST) != 0) {
Integer guidePos = (Integer)request.getExtendedData()
.get(SnapToGuides.KEY_VERTICAL_GUIDE);
if (guidePos != null) {
result = chainGuideAttachmentCommand(request, part, result, false);
} else if (part.getVerticalGuide() != null) {
int alignment = part.getVerticalGuide().getAlignment(part);
int edgeBeingResized = 0;
if ((request.getResizeDirection() & PositionConstants.WEST) != 0)
edgeBeingResized = -1;
else
edgeBeingResized = 1;
if (alignment == edgeBeingResized)
result = result.chain(new ChangeGuideCommand(part, false));
}
}
if (request.getType().equals(REQ_MOVE_CHILDREN)
|| request.getType().equals(REQ_ALIGN_CHILDREN)) {