void (@NotNull TreeTableModel model) { myModel = model; myTree.setModel(model); myTable.setModel(new TreeTableModelAdapter(model, myTree, myTable)); TreeColumnModel tcm = (TreeColumnModel) myTreeTableHeader.getColumnModel(); if (tcm.treeColumnIndex >= 0) { myTable.removeColumn(myTable.getColumnModel().getColumn(tcm.treeColumnIndex)); } if (myTree.getRowHeight() < 1) { myTable.setRowHeight(JBUIScale.scale(18)); } else { myTable.setRowHeight(myTree.getRowHeight()); } setColumnProportion(myColumnProportion); }