void (final List<? extends DetectedFrameworkDescription> frameworks) { final CheckedTreeNode root = getRoot(); root.removeAllChildren(); if (myGroupByOption == DetectedFrameworksComponent.GroupByOption.TYPE) { createNodesGroupedByType(root, frameworks); } else { createNodesGroupedByDirectory(root, frameworks); } ((DefaultTreeModel)getModel()).nodeStructureChanged(root); TreeUtil.expandAll(this); myDetectedFrameworks = frameworks; }