当前位置: 首页>>代码示例>>Java>>正文


Java ReplyBoxViewBuilder类代码示例

本文整理汇总了Java中org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder的典型用法代码示例。如果您正苦于以下问题:Java ReplyBoxViewBuilder类的具体用法?Java ReplyBoxViewBuilder怎么用?Java ReplyBoxViewBuilder使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ReplyBoxViewBuilder类属于org.waveprotocol.wave.client.wavepanel.view.dom.full包,在下文中一共展示了ReplyBoxViewBuilder类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: CssProvider

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //导入依赖的package包/类
/** Inject all members of the tuple, split by view section. */
public CssProvider(
    BlipViewBuilder.Css blipCss,
    CollapsibleBuilder.Css collapsibleCss,
    ContinuationIndicatorViewBuilder.Css continuationIndicatorCss,
    TopConversationViewBuilder.Css conversationCss,
    ParticipantsViewBuilder.Css participantsCss,
    ReplyBoxViewBuilder.Css replyBoxCss,
    RootThreadViewBuilder.Css rootThreadCss,
    TagsViewBuilder.Css tagsCss,
    Dialog.Css dialogCss,
    DynamicRendererImpl.Css renderCss) {
  this.blipCss = blipCss;
  this.collapsibleCss = collapsibleCss;
  this.continuationIndicatorCss = continuationIndicatorCss;
  this.conversationCss = conversationCss;
  this.participantsCss = participantsCss;
  this.replyBoxCss = replyBoxCss;
  this.rootThreadCss = rootThreadCss;
  this.tagsCss = tagsCss;
  this.dialogCss = dialogCss;
  this.renderCss = renderCss;
}
 
开发者ID:jorkey,项目名称:Wiab.pro,代码行数:24,代码来源:CssProvider.java

示例2: CssProvider

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //导入依赖的package包/类
/** Inject all members of the tuple, split by view section. */
public CssProvider(BlipViewBuilder.Css blipCss,
    CollapsibleBuilder.Css collapsibleCss,
    ContinuationIndicatorViewBuilder.Css continuationIndicatorCss,
    TopConversationViewBuilder.Css conversationCss,
    ParticipantsViewBuilder.Css participantCss,
    ReplyBoxViewBuilder.Css replyBoxCss,
    RootThreadViewBuilder.Css rootThreadCss) {
  this.blipCss = blipCss;
  this.collapsibleCss = collapsibleCss;
  this.continuationIndicatorCss = continuationIndicatorCss;
  this.conversationCss = conversationCss;
  this.participantCss = participantCss;
  this.replyBoxCss = replyBoxCss;
  this.rootThreadCss = rootThreadCss;
}
 
开发者ID:apache,项目名称:incubator-wave,代码行数:17,代码来源:CssProvider.java

示例3: render

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //导入依赖的package包/类
@Override
public UiBuilder render(final ConversationThread thread,
    final IdentityMap<ConversationBlip, UiBuilder> blipUis) {
  HtmlClosure blipsUi = new HtmlClosure() {
    @Override
    public void outputHtml(SafeHtmlBuilder out) {
      for (ConversationBlip blip : thread.getBlips()) {
        UiBuilder blipUi = blipUis.get(blip);
        // Not all blips are rendered.
        if (blipUi != null) {
          blipUi.outputHtml(out);
        }
      }
    }
  };
  String threadId = viewIdMapper.threadOf(thread);
  String replyIndicatorId = viewIdMapper.replyIndicatorOf(thread);
  UiBuilder builder = null;
  if (thread.getConversation().getRootThread() == thread) {
    ReplyBoxViewBuilder replyBoxBuilder =
        ReplyBoxViewBuilder.create(replyIndicatorId);
    builder = RootThreadViewBuilder.create(threadId, blipsUi, replyBoxBuilder);
  } else {
    ContinuationIndicatorViewBuilder indicatorBuilder = ContinuationIndicatorViewBuilder.create(
        replyIndicatorId);
    InlineThreadViewBuilder inlineBuilder =
        InlineThreadViewBuilder.create(threadId, blipsUi, indicatorBuilder);
    int read = readMonitor.getReadCount(thread);
    int unread = readMonitor.getUnreadCount(thread);
    inlineBuilder.setTotalBlipCount(read + unread);
    inlineBuilder.setUnreadBlipCount(unread);
    builder = inlineBuilder;
  }
  return builder;
}
 
开发者ID:ArloJamesBarnes,项目名称:walkaround,代码行数:36,代码来源:MyFullDomRenderer.java

示例4: getReplyBoxCss

import org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder; //导入依赖的package包/类
public ReplyBoxViewBuilder.Css getReplyBoxCss() {
  return replyBoxCss;
}
 
开发者ID:jorkey,项目名称:Wiab.pro,代码行数:4,代码来源:CssProvider.java


注:本文中的org.waveprotocol.wave.client.wavepanel.view.dom.full.ReplyBoxViewBuilder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。