public void onEditZoneSegment(EditZoneSegmentEvent event) {
setEditingZonesEnabled(event.getId());
}
});
eventBus.addHandler(GetZonesEvent.TYPE,
new GetZonesEventHandler() {
public void onGetZones(GetZonesEvent event) {
polygons = new ArrayList<TagPolygon>();
}
});
eventBus.addHandler(DisableZoneEditingEvent.TYPE,