Package org.waveprotocol.wave.model.supplement

Examples of org.waveprotocol.wave.model.supplement.ObservablePrimitiveSupplement


    protected LocalSupplementedWave createSupplement() {
      Wavelet udw = getWave().getUserData();
      if (udw == null) {
         udw = getWave().createUserData();
      }
      ObservablePrimitiveSupplement state = WaveletBasedSupplement.create(udw);
      ObservableSupplementedWave live = new LiveSupplementedWaveImpl(
          state, getWave(), getSignedInUser(), DefaultFollow.ALWAYS, getConversations());
      return LocalSupplementedWaveImpl.create(getWave(), live);
    }
View Full Code Here


  protected void setUp() throws Exception {
    super.setUp();

    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 =
View Full Code Here

    protected LocalSupplementedWave createSupplement() {
      Wavelet udw = getWave().getUserData();
      if (udw == null) {
         udw = getWave().createUserData();
      }
      ObservablePrimitiveSupplement state = WaveletBasedSupplement.create(udw);
      ObservableSupplementedWave live = new LiveSupplementedWaveImpl(
          state, getWave(), getSignedInUser(), DefaultFollow.ALWAYS, getConversations());
      return LocalSupplementedWaveImpl.create(getWave(), live);
    }
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.supplement.ObservablePrimitiveSupplement

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.