public void rememberSectionsPositions() {
savedSectionsData = new ArrayList<SectionData>();
for (Section section : sections) {
savedSectionsData.add(new SectionData(section.startPoint.getLeft().intValue(), section.startPoint.getTop()
.intValue(), section.endPoint.getLeft().intValue(), section.endPoint.getTop().intValue(), section
.isVertical()));
}
}