void (Url url, boolean showFiles) { RepositoryTreeModel model = new RepositoryTreeModel(myVCS, showFiles, this); model.setSingleRoot(url); Disposer.register(this, model); myRepositoryTree.setModel(model); myRepositoryTree.setRootVisible(true); myRepositoryTree.setSelectionRow(0); }