points[i] = p;
}
final RegionPolygon p = new RegionPolygon(points);
p.setRegionDetailsId(currentPolygon.getRegionDetailsId());
eventBus.fireEvent(new BindPolygonToRegionEvent(p));
}
});
/**
* Click to edit the shape (and make sure the details are loaded in the edit view)