Java 类com.intellij.ui.HtmlListCellRenderer 实例源码

项目:intellij-ce-playground    文件:CompositeAppearance.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  synchronized (mySections) {
    for (TextSection section : mySections) {
      final TextAttributes attributes = section.getTextAttributes();
      renderer.append(section.getText(), SimpleTextAttributes.fromTextAttributes(attributes));
    }
    renderer.setIcon(myIcon);
  }
}
项目:intellij-ce-playground    文件:BaseTextCommentCellAppearance.java   
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.setIcon(getIcon());
  renderer.append(getPrimaryText(), myTextAttributes);
  final String secondaryText = getSecondaryText();
  if (!StringUtil.isEmptyOrSpaces(secondaryText)) {
    renderer.append(" (" + secondaryText + ")", myCommentAttributes);
  }
}
项目:intellij-ce-playground    文件:AntTargetNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  getHighlightedText().customize(renderer);
  renderer.setIcon(getIcon());
  String toolTipText = getTarget().getNotEmptyDescription();
  renderer.setToolTipText(toolTipText);
}
项目:intellij-ce-playground    文件:AntBuildFileNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  if (myAppearance != null) {
    myAppearance.customize(renderer);
  }
  else {
    super.customize(renderer);
  }
}
项目:aem-ide-tooling-4-intellij    文件:AbstractSlingServerNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
    getHighlightedText().customize(renderer);
    renderer.setIcon(getIcon());
    String toolTipText = getTooltipText();
    renderer.setToolTipText(toolTipText);
}
项目:tools-idea    文件:CompositeAppearance.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  synchronized (mySections) {
    for (TextSection section : mySections) {
      final TextAttributes attributes = section.getTextAttributes();
      renderer.append(section.getText(), SimpleTextAttributes.fromTextAttributes(attributes));
    }
    renderer.setIcon(myIcon);
  }
}
项目:tools-idea    文件:BaseTextCommentCellAppearance.java   
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.setIcon(getIcon());
  renderer.append(getPrimaryText(), myTextAttributes);
  final String secondaryText = getSecondaryText();
  if (!StringUtil.isEmptyOrSpaces(secondaryText)) {
    renderer.append(" (" + secondaryText + ")", myCommentAttributes);
  }
}
项目:tools-idea    文件:AntTargetNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  getHighlightedText().customize(renderer);
  renderer.setIcon(getIcon());
  String toolTipText = getTarget().getNotEmptyDescription();
  renderer.setToolTipText(toolTipText);
}
项目:tools-idea    文件:AntBuildFileNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  if (myAppearance != null) {
    myAppearance.customize(renderer);
  }
  else {
    super.customize(renderer);
  }
}
项目:consulo-apache-ant    文件:AntTargetNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  getHighlightedText().customize(renderer);
  renderer.setIcon(getIcon());
  String toolTipText = getTarget().getNotEmptyDescription();
  renderer.setToolTipText(toolTipText);
}
项目:consulo-apache-ant    文件:AntBuildFileNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  if (myAppearance != null) {
    myAppearance.customize(renderer);
  }
  else {
    super.customize(renderer);
  }
}
项目:consulo    文件:CompositeAppearance.java   
@Override
public void customize(@Nonnull final HtmlListCellRenderer renderer) {
  synchronized (mySections) {
    for (TextSection section : mySections) {
      final TextAttributes attributes = section.getTextAttributes();
      renderer.append(section.getText(), SimpleTextAttributes.fromTextAttributes(attributes));
    }
    renderer.setIcon(myIcon);
  }
}
项目:consulo    文件:BaseTextCommentCellAppearance.java   
public void customize(@Nonnull final HtmlListCellRenderer renderer) {
  renderer.setIcon(getIcon());
  renderer.append(getPrimaryText(), myTextAttributes);
  final String secondaryText = getSecondaryText();
  if (!StringUtil.isEmptyOrSpaces(secondaryText)) {
    renderer.append(" (" + secondaryText + ")", myCommentAttributes);
  }
}
项目:intellij-ce-playground    文件:SimpleTextCellAppearance.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.setIcon(myIcon);
  renderer.append(myText, myTextAttributes);
}
项目:intellij-ce-playground    文件:FileAppearanceServiceImpl.java   
@Override
public void customize(@NotNull HtmlListCellRenderer renderer) { }
项目:intellij-ce-playground    文件:AntNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
}
项目:aem-ide-tooling-4-intellij    文件:BaseNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
    renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
}
项目:tools-idea    文件:FileAppearanceServiceImpl.java   
@Override
public void customize(@NotNull HtmlListCellRenderer renderer) { }
项目:tools-idea    文件:SimpleTextCellAppearance.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.setIcon(myIcon);
  renderer.append(myText, myTextAttributes);
}
项目:tools-idea    文件:AntNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
}
项目:consulo-apache-ant    文件:AntNodeDescriptor.java   
@Override
public void customize(@NotNull final HtmlListCellRenderer renderer) {
  renderer.setIcon(getIcon());
  renderer.append(toString(), SimpleTextAttributes.REGULAR_ATTRIBUTES);
}
项目:consulo    文件:SimpleTextCellAppearance.java   
@Override
public void customize(@Nonnull final HtmlListCellRenderer renderer) {
  renderer.setIcon(myIcon);
  renderer.append(myText, myTextAttributes);
}
项目:consulo    文件:FileAppearanceServiceImpl.java   
@Override
public void customize(@Nonnull HtmlListCellRenderer renderer) { }
项目:intellij-ce-playground    文件:CellAppearanceEx.java   
void customize(@NotNull HtmlListCellRenderer renderer);
项目:tools-idea    文件:CellAppearanceEx.java   
void customize(@NotNull HtmlListCellRenderer renderer);
项目:consulo    文件:CellAppearanceEx.java   
void customize(@Nonnull HtmlListCellRenderer renderer);