@@ -0,0 +1,1043 @@
+package org.hanuna.gitalk.ui.tables.refs.refs;%0A%0Aimport org.jdesktop.swingx.treetable.DefaultTreeTableModel;%0A%0A/**%0A * @author erokhins%0A */%0Apublic class RefTreeTableModel extends DefaultTreeTableModel %7B%0A%0A    public RefTreeTableModel(RefTreeModel refTreeModel) %7B%0A        super(refTreeModel.getRootNode());%0A    %7D%0A%0A    @Override%0A    public String getColumnName(int column) %7B%0A        switch (column) %7B%0A            case 0:%0A                return %22%22;%0A            case 1:%0A                return %22label%22;%0A            default:%0A                throw new IllegalArgumentException(%22bad number of column: %22 + column);%0A        %7D%0A    %7D%0A%0A    @Override%0A    public Class%3C?%3E getColumnClass(int i) %7B%0A        if (i == 0) %7B%0A            return Boolean.class;%0A        %7D%0A        return Object.class;%0A    %7D%0A%0A    @Override%0A    public boolean isCellEditable(Object node, int column) %7B%0A        return column == 0;%0A    %7D%0A%0A    @Override%0A    public int getColumnCount() %7B%0A        return 2;%0A    %7D%0A%0A    @Override%0A    public int getHierarchicalColumn() %7B%0A        return 1;%0A    %7D%0A%7D%0A

add RefTreeTableModel