SimpleTree () { SimpleTree tree = new SimpleTree(TreeModelBuilder.buildFromFilePaths(myProject, NoneChangesGroupingFactory.INSTANCE, myFiles)) { @Override protected void configureUiHelper(@NotNull TreeUIHelper helper) { super.configureUiHelper(helper); helper.installEditSourceOnDoubleClick(this); helper.installEditSourceOnEnterKeyHandler(this); } }; tree.setRootVisible(false); tree.setShowsRootHandles(false); tree.setCellRenderer(new ChangesBrowserNodeRenderer(myProject, BooleanGetter.TRUE, false)); return tree; }