TableCellEditor (VirtualFileCheckedTreeNode o) { final SuggestedChildRootInfo rootInfo = o.getRootInfo(); if (rootInfo == null) return null; final ComboBoxCellEditor editor = new ComboBoxCellEditor() { @Override protected List<String> getComboBoxItems() { return Arrays.asList(rootInfo.getRootTypeNames()); } }; editor.setClickCountToStart(1); return editor; }