Package org.waveprotocol.wave.model.conversation

Examples of org.waveprotocol.wave.model.conversation.WaveBasedConversationView


    FakeWaveView view = BasicFactories.fakeWaveViewBuilder().with(idgen).build();
    Wavelet userDataWavelet = view.createUserData();
    ObservablePrimitiveSupplement primitiveSupplement =
        WaveletBasedSupplement.create(userDataWavelet);
    WaveBasedConversationView conversationView = WaveBasedConversationView.create(view, idgen);
    WaveletBasedConversation rootConversation = conversationView.createRoot();

    supplementedWave =
        new LiveSupplementedWaveImpl(primitiveSupplement, view, viewer, DefaultFollow.ALWAYS,
            conversationView);
    monitor = ThreadReadStateMonitorImpl.create(supplementedWave, conversationView);
View Full Code Here


    WaveViewImpl<OpBasedWavelet> waveView = WaveViewImpl.create(STUB_FACTORY,
        convData.getWaveId(), idGenerator,
        ParticipantId.ofUnsafe("fake@fake.com"),
        WaveletConfigurator.ERROR);
    waveView.addWavelet(OpBasedWavelet.createReadOnly(convData));
    WaveBasedConversationView convView;
    try {
      convView = WaveBasedConversationView.create(waveView, idGenerator);
    } catch (Exception e) {
      log.log(Level.WARNING, convData + ": Failed to create conversation view", e);
      return null;
    }
    return convView.getRoot();
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.conversation.WaveBasedConversationView

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.