@Override public TableCellRenderer getRenderer(VirtualFileCheckedTreeNode node) { final SuggestedChildRootInfo rootInfo = node.getRootInfo(); if (rootInfo != null && isCellEditable(node)) { return new ComboBoxTableRenderer<String>(rootInfo.getRootTypeNames()); } return new DefaultTableCellRenderer(); }
@Nullable @Override public TableCellRenderer getRenderer(Item item) { return new ComboBoxTableRenderer<Object>(item.myProvider.getValues()); }