예제 #1
0
  @Override
  public void start(AcceptsOneWidget containerWidget, EventBus eventBus) {
    projectView.setPresenter(this);

    clientFactory
        .getServiceFactory()
        .getProjectService()
        .call(
            new RemoteCallback<Project>() {

              @Override
              public void callback(Project project) {
                projectView.setProject(project);
              }
            })
        .getByOwnerAndSlug(new Profile(username), slug);

    containerWidget.setWidget(projectView.asWidget());
  }
예제 #2
0
 @Override
 public void goTo(Place place) {
   clientFactory.getPlaceController().goTo(place);
 }