void () { final List<DetectedRootData> selectedElements = myDetectedRootsChooser.getMarkedElements(); myBuilder.setupProjectStructure(RootDetectionProcessor.createRootsMap(selectedElements)); updateSelectedTypes(); }