use of io.jawg.osmcontributor.ui.events.type.PoiTypeCreatedEvent in project osm-contributor by jawg.
the class TypeManager method onInternalSavePoiTypeEvent.
// ********************************
// ************ Events ************
// ********************************
@Subscribe(threadMode = ThreadMode.ASYNC)
public void onInternalSavePoiTypeEvent(InternalSavePoiTypeEvent event) {
PoiType poiType = event.getPoiType();
poiManager.savePoiType(poiType);
bus.post(new PoiTypeCreatedEvent(poiType));
}
Aggregations