*
* @param request
*/
protected void showPointlistCreationFeedback(CreatePointlistRequest request) {
Point p = new Point(request.getPoints().getLastPoint().getCopy());
AbstractPointListShape feedback = getPolylineFeedback(request);
/*
* For efficiency reasons we don't use getPointListFor() and don't
* normalize the feedback
*/
feedback.translateToRelative(p);
if (feedback.getPoints().size() == 0) {
Point start = request.getPoints().getFirstPoint().getCopy();
feedback.translateToRelative(start);
feedback.addPoint(start);
}
feedback.addPoint(p);
}