Package org.waveprotocol.wave.client.wavepanel.view.dom.full

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


  @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

Related Classes of org.waveprotocol.wave.client.wavepanel.view.dom.full.ParticipantNameViewBuilder

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.