310311312313314315316317318319320
public void onCreatePolyLine(CreatePolyLineEvent event) { createPolyline(); } }); eventBus.addHandler(CreatePolygonEvent.TYPE, new CreatePolygonEventHandler() { public void onCreatePolygon(CreatePolygonEvent event) { createPolygon(); } });
221222223224225226227228229230231
panel.selectTab(1); roadListing.clearRoadEditView(); } }); eventBus.addHandler(CreatePolygonEvent.TYPE, new CreatePolygonEventHandler() { public void onCreatePolygon(CreatePolygonEvent event) { // switch tab to zones panel.selectTab(2); } });