void (List<? extends FrameworkSupportInModuleProvider> providers, Set<String> associated, Set<String> preselected) { myProviders = providers; myAssociatedFrameworks = createNodes(myProviders, associated, preselected); setAssociatedFrameworks(); myFrameworksTree.setRoots(myRoots); myFrameworksTree.setSelectionRow(0); for (FrameworkSupportNodeBase<?> node : myRoots) { if (preselected.contains(node.getId())) { // we need to trigger `FrameworksTree::onNodeStateChanged` // in order to preconfigure `FrameworkSupportNode`s myFrameworksTree.setNodeState(node, true); } } }