void () { super.reset(); myProjectJdksModel.reset(myProject); myRoot.removeAllChildren(); final Map<Sdk, Sdk> sdks = myProjectJdksModel.getProjectSdks(); for (Sdk sdk : sdks.keySet()) { if (!(sdk instanceof ProjectJdkImpl)) continue; final JdkConfigurable configurable = new JdkConfigurable((ProjectJdkImpl)sdks.get(sdk), myProjectJdksModel, TREE_UPDATER, myHistory, myProject); addNode(new MyNode(configurable), myRoot); } selectJdk(myProjectJdksModel.getProjectSdk()); //restore selection JBSplitter splitter = extractSplitter(); if (splitter != null) { splitter.setAndLoadSplitterProportionKey("project.jdk.splitter"); } }