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

项目:intellij-ce-playground    文件:NewErrorTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  final NewErrorTreeRenderer renderer = new NewErrorTreeRenderer();
  //new TreeLinkMouseListener(renderer.myColoredTreeCellRenderer).install(tree);
  new TreeNodePartListener(renderer.myRightCellRenderer).installOn(tree);
  return MultilineTreeCellRenderer.installRenderer(tree, renderer);
}
项目:intellij-ce-playground    文件:MessageTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  JScrollPane scrollPane = MultilineTreeCellRenderer.installRenderer(tree, new MessageTreeRenderer());
  scrollPane.setBorder(IdeBorderFactory.createBorder(SideBorder.LEFT));
  return scrollPane;
}
项目:tools-idea    文件:NewErrorTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  final NewErrorTreeRenderer renderer = new NewErrorTreeRenderer();
  //new TreeLinkMouseListener(renderer.myColoredTreeCellRenderer).install(tree);
  new TreeNodePartListener(renderer.myRightCellRenderer).installOn(tree);
  return MultilineTreeCellRenderer.installRenderer(tree, renderer);
}
项目:tools-idea    文件:MessageTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  JScrollPane scrollPane = MultilineTreeCellRenderer.installRenderer(tree, new MessageTreeRenderer());
  scrollPane.setBorder(IdeBorderFactory.createBorder(SideBorder.LEFT));
  return scrollPane;
}
项目:consulo-apache-ant    文件:MessageTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  JScrollPane scrollPane = MultilineTreeCellRenderer.installRenderer(tree, new MessageTreeRenderer());
  scrollPane.setBorder(IdeBorderFactory.createBorder(SideBorder.LEFT));
  return scrollPane;
}
项目:consulo    文件:NewErrorTreeRenderer.java   
public static JScrollPane install(JTree tree) {
  final NewErrorTreeRenderer renderer = new NewErrorTreeRenderer();
  //new TreeLinkMouseListener(renderer.myColoredTreeCellRenderer).install(tree);
  new TreeNodePartListener(renderer.myRightCellRenderer).installOn(tree);
  return MultilineTreeCellRenderer.installRenderer(tree, renderer);
}