Package org.onebusaway.webapp.gwt.oba_application.model

Examples of org.onebusaway.webapp.gwt.oba_application.model.TimedLocalSearchResult


      List<TimedLocalSearchResult> results = new ArrayList<TimedLocalSearchResult>(
          beans.size());

      for (final TimedPlaceBean bean : beans) {
        final LocalSearchResult result = _placeResults.get(bean.getPlaceId());
        TimedLocalSearchResult r = new TimedLocalSearchResult(_resultId,
            result, bean);
        results.add(r);
      }

      _model.addEntries(results);
View Full Code Here


    } else if (state instanceof SelectedPlaceChangedState) {

      SelectedPlaceChangedState placeChange = (SelectedPlaceChangedState) state;
      reset();

      TimedLocalSearchResult result = placeChange.getSelectedResult();

      if (result != null) {

        LocalSearchResult entry = result.getLocalSearchResult();
        LatLng point = LatLng.newInstance(entry.getLat(), entry.getLon());

        updatWidgetForResult(result);
        openInfoWindowForResult(result);
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.oba_application.model.TimedLocalSearchResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.