/** {@inheritDoc} */
  @Override
  public void onOpen() {
    if (Config.getProjectName() == null) {
      setTree(projectListStructureProvider.get());
    } else {
      projectServiceClient.getProject(
          Config.getProjectName(),
          new AsyncRequestCallback<ProjectDescriptor>() {
            @Override
            protected void onSuccess(ProjectDescriptor result) {}

            @Override
            protected void onFailure(Throwable exception) {
              setTree(projectListStructureProvider.get());
            }
          });
    }
  }
 private void showPopUp() {
   String authUrl =
       baseUrl
           + "/oauth/authenticate?oauth_provider=github"
           + "&scope=user,repo,write:public_key&userId="
           + userId
           + "&redirect_after_login="******"//"
           + Window.Location.getHost()
           + "/ws/"
           + Config.getWorkspaceName();
   JsOAuthWindow authWindow = new JsOAuthWindow(authUrl, "error.url", 500, 980, this);
   authWindow.loginWithOAuth();
 }