Examples of ParticipantNameViewBuilder


Examples of org.waveprotocol.wave.client.wavepanel.view.dom.full.ParticipantNameViewBuilder

  @Override
  public UiBuilder render(Conversation conversation, ParticipantId participant) {
    Profile profile = profileManager.getProfile(participant);
    String id = viewIdMapper.participantOf(conversation, participant);
    // Use ParticipantAvatarViewBuilder for avatars.
    ParticipantNameViewBuilder participantUi = ParticipantNameViewBuilder.create(id);
    participantUi.setAvatar(profile.getImageUrl());
    participantUi.setName(profile.getFullName());
    return participantUi;
  }
View Full Code Here

Examples of org.waveprotocol.wave.client.wavepanel.view.dom.full.ParticipantNameViewBuilder

  @Override
  public UiBuilder render(Conversation conversation, ParticipantId participant) {
    Profile profile = profileManager.getProfile(participant);
    String id = viewIdMapper.participantOf(conversation, participant);
    // Use ParticipantAvatarViewBuilder for avatars.
    ParticipantNameViewBuilder participantUi = ParticipantNameViewBuilder.create(id);
    participantUi.setAvatar(profile.getImageUrl());
    participantUi.setName(profile.getFullName());
    return participantUi;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.