List<Element> bendpointInfoList = getNamedChildren(transitionElement, BENDPOINT_ELEMENT_NAME);
for (Element bendpointElement : bendpointInfoList) {
try {
int x = Integer.valueOf(bendpointElement.getAttribute(X_ATTRIBUTE_NAME)).intValue();
int y = Integer.valueOf(bendpointElement.getAttribute(Y_ATTRIBUTE_NAME)).intValue();
bendpoints.add(new Bendpoint(x, y));
} catch (NumberFormatException e) {
DesignerLogger.logErrorWithoutDialog("Unable to parce bendpoint info for element " + bendpointElement, e);
}
}
transition.setBendpoints(bendpoints);