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

Examples of org.waveprotocol.wave.client.wavepanel.view.ParticipantsView


      profileRenderer.destroy();
    }

    @Override
    public void onParticipantAdded(ParticipantId participant) {
      ParticipantsView participantUi = views.getParticipantsView(conversation);
      // Note: this does not insert the participant in the correct order.
      participantUi.appendParticipant(conversation, participant);
      profileRenderer.monitorParticipation(conversation, participant);
    }
View Full Code Here


   * Creates a new wave with the participants of the current wave. Showing
   * a popup dialog where the user can chose to deselect users that should not
   * be participants in the new wave
   */
  private void handleNewWaveWithParticipantsButtonClicked(Element context) {
    ParticipantsView participantsUi = views.fromNewWaveWithParticipantsButton(context);
    ParticipantSelectorWidget selector = new ParticipantSelectorWidget();
    popup = null;
    selector.setListener(new ParticipantSelectorWidget.Listener() {
      @Override
      public void onSelect(Set<ParticipantId> participants) {
View Full Code Here

    } catch (InvalidParticipantAddress e) {
      Window.alert(e.getMessage());
      return;
    }

    ParticipantsView participantsUi = views.fromAddButton(context);
    Conversation conversation = models.getParticipants(participantsUi);
    for (ParticipantId participant : participants) {
      conversation.addParticipant(participant);
    }
  }
View Full Code Here

    } catch (InvalidParticipantAddress e) {
      Window.alert(e.getMessage());
      return;
    }

    ParticipantsView participantsUi = views.fromAddButton(context);
    Conversation conversation = models.getParticipants(participantsUi);
    for (ParticipantId participant : participants) {
      conversation.addParticipant(participant);
    }
  }
View Full Code Here

      profileRenderer.destroy();
    }

    @Override
    public void onParticipantAdded(ParticipantId participant) {
      ParticipantsView participantUi = views.getParticipantsView(conversation);
      // Note: this does not insert the participant in the correct order.
      participantUi.appendParticipant(conversation, participant);
      profileRenderer.monitorParticipation(conversation, participant);
    }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.client.wavepanel.view.ParticipantsView

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.