use of io.jawg.osmcontributor.model.events.RevertFinishedEvent in project osm-contributor by jawg.
the class PoiManager method onPleaseRevertPoiEvent.
@Subscribe(threadMode = ThreadMode.ASYNC)
public void onPleaseRevertPoiEvent(PleaseRevertPoiEvent event) {
Poi poi = revertPoi(event.getIdToRevert());
bus.post(new RevertFinishedEvent(poi, LocationMarkerView.MarkerType.POI));
}
use of io.jawg.osmcontributor.model.events.RevertFinishedEvent in project osm-contributor by jawg.
the class PoiManager method onPleaseRevertPoiNodeRefEvent.
@Subscribe(threadMode = ThreadMode.ASYNC)
public void onPleaseRevertPoiNodeRefEvent(PleaseRevertPoiNodeRefEvent event) {
PoiNodeRef poiNodeRef = revertPoiNodeRef(event.getIdToRevert());
bus.post(new RevertFinishedEvent(poiNodeRef, LocationMarkerView.MarkerType.NODE_REF));
}
Aggregations