void (@NotNull ExternalProjectInfo projectInfo) { myProjectInfo = projectInfo; myExternalSystemUiAware = ExternalSystemUiUtil.getUiAware(myProjectInfo.getProjectSystemId()); myTree = createTree(); updateSelectionState(); myTree.addCheckboxTreeListener(new CheckboxTreeListener() { @Override public void nodeStateChanged(@NotNull CheckedTreeNode node) { updateSelectionState(); } }); String externalSystemName = myProjectInfo.getProjectSystemId().getReadableName(); setTitle(ExternalSystemBundle.message("dialog.title.project.data.to.import", externalSystemName)); init(); }