Package org.onebusaway.webapp.gwt.where_library

Examples of org.onebusaway.webapp.gwt.where_library.UserContext


   *
   ****/

  private void loadBookmark() {
    _bookmarkId = Integer.parseInt(Location.getParameter("id"));
    UserContext context = UserContext.getContext();
    context.getCurrentUser(new UserCallback());
  }
View Full Code Here


        String name = placemark.getAddress();
        double lat = p.getLatitude();
        double lon = p.getLongitude();

        UserContext context = UserContext.getContext();
        context.setDefaultSearchLocationForCurrentUser(name, lat, lon, false,
            new UserHandler());
      } else {
        setError("We could not find that location");
      }
    }
View Full Code Here

    Panel panel = context.getPanel();
    DefaultOperationWidget widget = new DefaultOperationWidget();
    panel.add(widget);

    final UserContext userContext = UserContext.getContext();
    userContext.getCurrentUser(new UserHandler(context, widget));
  }
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.where_library.UserContext

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.