@Override
    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
      myCodeFragment = (PsiCodeFragment)((Pair<?, ?>)value).getFirst();

      Document document = PsiDocumentManager.getInstance(myProject).getDocument(myCodeFragment);
      JPanel panel = new JPanel();
      myEditorTextField = createEditorField(document);
      myEditorTextField.setDocument(document);
      myEditorTextField.setBorder(new LineBorder(table.getSelectionBackground()));

      panel.add(myEditorTextField);
      panel.add(new JCheckBox());
      return panel;
    }
@Override
    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)