Package org.waveprotocol.wave.model.supplement

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


  SupplementedWave buildSupplement(ParticipantId viewer, ObservableConversationView conversations,
      ObservableWaveletData udw) {
    // Use mock state if there is no UDW.
    PrimitiveSupplement udwState =
        udw != null ? WaveletBasedSupplement.create(OpBasedWavelet.createReadOnly(udw))
            : new PrimitiveSupplementImpl();
        return SupplementedWaveImpl.create(udwState, conversations, viewer, DefaultFollow.ALWAYS);
  }
View Full Code Here


  SupplementedWave buildSupplement(ParticipantId viewer, ObservableConversationView conversations,
      ObservableWaveletData udw) {
    // Use mock state if there is no UDW.
    PrimitiveSupplement udwState =
        udw != null ? WaveletBasedSupplement.create(OpBasedWavelet.createReadOnly(udw))
            : new PrimitiveSupplementImpl();
    return SupplementedWaveImpl.create(udwState, conversations, viewer, DefaultFollow.ALWAYS);
  }
View Full Code Here

TOP

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

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.