void (ExternalProjectsView externalProjectsView) { myExternalProjectsView = externalProjectsView; myRoot = new RootNode(); myTreeModel = new StructureTreeModel<>(this, this); myAsyncTreeModel = new AsyncTreeModel(myTreeModel, this); myTree.setModel(myAsyncTreeModel); TreeUtil.expand(myTree, 1); }